Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.263/2.263, allocations: 393.5 MB / 408.4 MB, free: 11.05 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 179.9 kB / 0.4901 GB, free: 2.273 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.741/1.741, allocations: 223.1 MB / 0.7992 GB, free: 14.75 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009768/0.0009766, allocations: 98.09 kB / 0.9396 GB, free: 1.941 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003796/0.0003796, allocations: 10.81 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3208, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1897/0.5105, allocations: 150.4 MB / 1.376 GB, free: 3.078 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/0.5108, allocations: 71.95 kB / 1.376 GB, free: 3.008 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.05034/0.5611, allocations: 17.43 MB / 1.393 GB, free: 1.547 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.655e-06/0.5612, allocations: 0 / 1.393 GB, free: 1.547 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.591e-05/0.5612, allocations: 4 kB / 1.393 GB, free: 1.543 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001595/0.5628, allocations: 1 MB / 1.394 GB, free: 408 kB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.5629, allocations: 8.562 kB / 1.394 GB, free: 400 kB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.197e-05/0.563, allocations: 46.53 kB / 1.394 GB, free: 344 kB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004116/0.5634, allocations: 67.58 kB / 1.394 GB, free: 276 kB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000203/0.5636, allocations: 207.3 kB / 1.395 GB, free: 32 kB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.599e-05/0.5637, allocations: 44.03 kB / 1.395 GB, free: 15.98 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002898/0.564, allocations: 71.88 kB / 1.395 GB, free: 15.92 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003038/0.5643, allocations: 210.3 kB / 1.395 GB, free: 15.66 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.5643, allocations: 3.938 kB / 1.395 GB, free: 15.66 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.632e-05/0.5644, allocations: 7.984 kB / 1.395 GB, free: 15.65 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.5644, allocations: 7.938 kB / 1.395 GB, free: 15.64 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001199/0.5645, allocations: 67.78 kB / 1.395 GB, free: 15.57 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001174/0.5657, allocations: 0.8445 MB / 1.396 GB, free: 14.64 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002968/0.566, allocations: 323.3 kB / 1.396 GB, free: 14.18 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.566, allocations: 11.98 kB / 1.396 GB, free: 14.17 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006022/0.5666, allocations: 455.6 kB / 1.397 GB, free: 13.65 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=45): time 2.705e-06/0.5666, allocations: 4 kB / 1.397 GB, free: 13.65 MB / 0.9011 GB Notification: Performance of matching and sorting (n=45): time 0.001179/0.5678, allocations: 0.5576 MB / 1.397 GB, free: 13.09 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002378/0.5681, allocations: 439.2 kB / 1.398 GB, free: 12.56 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003033/0.5684, allocations: 259.5 kB / 1.398 GB, free: 12.3 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0002219/0.5686, allocations: 65.69 kB / 1.398 GB, free: 12.23 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002537/0.5689, allocations: 165.3 kB / 1.398 GB, free: 12.06 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001172/0.569, allocations: 94.91 kB / 1.398 GB, free: 11.96 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/0.5692, allocations: 32 kB / 1.398 GB, free: 11.93 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001805/0.5693, allocations: 354.7 kB / 1.398 GB, free: 11.58 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009177/0.5703, allocations: 421.3 kB / 1.399 GB, free: 11.16 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001097/0.5714, allocations: 0.7028 MB / 1.4 GB, free: 10.33 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001208/0.5726, allocations: 0.8219 MB / 1.4 GB, free: 9.414 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.278e-05/0.5726, allocations: 0 / 1.4 GB, free: 9.414 MB / 0.9011 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003421/0.576, allocations: 1.697 MB / 1.402 GB, free: 7.617 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.000309/0.5764, allocations: 482.7 kB / 1.402 GB, free: 7.055 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.219e-05/0.5764, allocations: 8 kB / 1.402 GB, free: 7.047 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.852e-05/0.5764, allocations: 16 kB / 1.402 GB, free: 7.031 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.438e-05/0.5765, allocations: 35.86 kB / 1.403 GB, free: 6.996 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.044e-05/0.5765, allocations: 19.94 kB / 1.403 GB, free: 6.977 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002388/0.5789, allocations: 0.5421 MB / 1.403 GB, free: 6.434 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002334/0.5792, allocations: 99.92 kB / 1.403 GB, free: 6.336 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 60 ($PRE.booPul_c5.y,booPul_c5.y,$whenCondition29,$whenCondition30,$PRE.booPul_b5.y,booPul_b5.y,$whenCondition27,$whenCondition28,$PRE.booPul_a5.y,booPul_a5.y,$whenCondition25,$whenCondition26,$PRE.booPul_c4.y,booPul_c4.y,$whenCondition23,$whenCondition24,$PRE.booPul_b4.y,booPul_b4.y,$whenCondition21,$whenCondition22,$PRE.booPul_a4.y,booPul_a4.y,$whenCondition19,$whenCondition20,$PRE.booPul_c3.y,booPul_c3.y,$whenCondition17,$whenCondition18,$PRE.booPul_b3.y,booPul_b3.y,$whenCondition15,$whenCondition16,$PRE.booPul_a3.y,booPul_a3.y,$whenCondition13,$whenCondition14,$PRE.booPul_c2.y,booPul_c2.y,$whenCondition11,$whenCondition12,$PRE.booPul_b2.y,booPul_b2.y,$whenCondition9,$whenCondition10,$PRE.booPul_a2.y,booPul_a2.y,$whenCondition7,$whenCondition8,$PRE.booPul_c1.y,booPul_c1.y,$whenCondition5,$whenCondition6,$PRE.booPul_b1.y,booPul_b1.y,$whenCondition3,$whenCondition4,$PRE.booPul_a1.y,booPul_a1.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 15 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004013/0.5796, allocations: 221.5 kB / 1.403 GB, free: 6.109 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001168/0.5797, allocations: 47.5 kB / 1.403 GB, free: 6.062 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.497e-05/0.5798, allocations: 42.14 kB / 1.403 GB, free: 6.016 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.5798, allocations: 8 kB / 1.403 GB, free: 6.008 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.258e-05/0.5798, allocations: 7.938 kB / 1.403 GB, free: 6 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.5799, allocations: 4 kB / 1.403 GB, free: 5.996 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000453/0.5803, allocations: 329.4 kB / 1.404 GB, free: 5.625 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.887e-06/0.5803, allocations: 4 kB / 1.404 GB, free: 5.621 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.876e-05/0.5804, allocations: 19.92 kB / 1.404 GB, free: 5.602 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/0.5804, allocations: 4 kB / 1.404 GB, free: 5.598 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.706e-05/0.5804, allocations: 19.98 kB / 1.404 GB, free: 5.578 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.833e-06/0.5804, allocations: 11.98 kB / 1.404 GB, free: 5.566 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.079e-05/0.5805, allocations: 7.938 kB / 1.404 GB, free: 5.559 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007873/0.5813, allocations: 0.68 MB / 1.405 GB, free: 4.734 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.5814, allocations: 112.6 kB / 1.405 GB, free: 4.605 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.966e-05/0.5814, allocations: 15.98 kB / 1.405 GB, free: 4.59 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.5816, allocations: 12 kB / 1.405 GB, free: 4.578 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.5817, allocations: 63.81 kB / 1.405 GB, free: 4.516 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.919e-05/0.5817, allocations: 27.98 kB / 1.405 GB, free: 4.488 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001785/0.5819, allocations: 187.1 kB / 1.405 GB, free: 4.309 MB / 0.9011 GB Notification: Performance of sort global known variables: time 3.61e-07/0.5819, allocations: 0 / 1.405 GB, free: 4.309 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0007875/0.5827, allocations: 208 kB / 1.405 GB, free: 4.105 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition29,$whenCondition30,booPul_c5.y,$whenCondition27,$whenCondition28,booPul_b5.y,$whenCondition25,$whenCondition26,booPul_a5.y,$whenCondition23,$whenCondition24,booPul_c4.y,$whenCondition21,$whenCondition22,booPul_b4.y,$whenCondition19,$whenCondition20,booPul_a4.y,$whenCondition17,$whenCondition18,booPul_c3.y,$whenCondition15,$whenCondition16,booPul_b3.y,$whenCondition13,$whenCondition14,booPul_a3.y,$whenCondition11,$whenCondition12,booPul_c2.y,$whenCondition9,$whenCondition10,booPul_b2.y,$whenCondition7,$whenCondition8,booPul_a2.y,$whenCondition5,$whenCondition6,booPul_c1.y,$whenCondition3,$whenCondition4,booPul_b1.y,$whenCondition1,$whenCondition2,booPul_a1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 15 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001554/0.5843, allocations: 2.212 MB / 1.407 GB, free: 1.77 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.002052/0.5863, allocations: 1.749 MB / 1.409 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.5863, allocations: 1.938 kB / 1.409 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002575/0.5866, allocations: 183.7 kB / 1.409 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006102/0.5872, allocations: 109.6 kB / 1.409 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004444/0.5917, allocations: 7.843 MB / 1.417 GB, free: 7.418 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003311/0.592, allocations: 0.7842 MB / 1.418 GB, free: 6.609 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.000161/0.5922, allocations: 42.97 kB / 1.418 GB, free: 6.562 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001347/0.5923, allocations: 103.4 kB / 1.418 GB, free: 6.465 MB / 0.9167 GB Notification: Performance of SimCode: time 1.002e-06/0.5923, allocations: 0 / 1.418 GB, free: 6.465 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6014/1.194, allocations: 13.6 MB / 1.431 GB, free: 187.3 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000212/1.194, allocations: 193 kB / 1.431 GB, free: 187.1 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.325/3.519, allocations: 0 / 1.431 GB, free: 187.1 MB / 0.9167 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse_res.mat does not exist to compare? outputFormat=mat