Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.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.PulsePositiveStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulsePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulsePositiveStartTime",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.449/2.449, allocations: 390.5 MB / 398 MB, free: 10.96 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.0009812/0.000981, allocations: 187.8 kB / 491.2 MB, free: 1.602 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.658/1.658, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.0009511/0.0009511, allocations: 95.52 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.192e-05/2.194e-05, allocations: 8 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3363/0.3363, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.114/1.45, allocations: 149.7 MB / 1.359 GB, free: 17.67 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002115/1.451, allocations: 77.25 kB / 1.359 GB, free: 17.66 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05513/1.506, allocations: 17.3 MB / 1.376 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.553e-06/1.506, allocations: 0 / 1.376 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.087e-05/1.506, allocations: 7.812 kB / 1.376 GB, free: 32.41 MB / 0.8386 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.0009324/1.507, allocations: 0.9623 MB / 1.377 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.644e-05/1.507, allocations: 15.56 kB / 1.377 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002071/1.507, allocations: 64.23 kB / 1.377 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/1.507, allocations: 210.8 kB / 1.377 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.435e-05/1.507, allocations: 10.03 kB / 1.377 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001509/1.507, allocations: 65.25 kB / 1.377 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001102/1.507, allocations: 36.94 kB / 1.377 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002147/1.508, allocations: 201.6 kB / 1.377 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/1.508, allocations: 7.812 kB / 1.377 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.106e-05/1.508, allocations: 6.594 kB / 1.377 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/1.508, allocations: 3.875 kB / 1.377 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007132/1.508, allocations: 0.8101 MB / 1.378 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/1.509, allocations: 312.7 kB / 1.378 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/1.509, allocations: 134.1 kB / 1.378 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.327e-05/1.509, allocations: 7.281 kB / 1.378 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004342/1.509, allocations: 435.4 kB / 1.379 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=45): time 3.036e-06/1.509, allocations: 3.984 kB / 1.379 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of matching and sorting (n=45): time 0.0006795/1.51, allocations: 412.3 kB / 1.379 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/1.51, allocations: 437.9 kB / 1.38 GB, free: 29.35 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002174/1.51, allocations: 245.6 kB / 1.38 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001243/1.51, allocations: 63.78 kB / 1.38 GB, free: 29.18 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001779/1.511, allocations: 154.5 kB / 1.38 GB, free: 29.08 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.936e-05/1.511, allocations: 86.02 kB / 1.38 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/1.511, allocations: 29.81 kB / 1.38 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001279/1.511, allocations: 358.7 kB / 1.38 GB, free: 28.7 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00062/1.512, allocations: 366 kB / 1.381 GB, free: 28.68 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006826/1.512, allocations: 0.6369 MB / 1.381 GB, free: 28.28 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001581/1.514, allocations: 0.4934 MB / 1.382 GB, free: 28.13 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/1.514, allocations: 3.875 kB / 1.382 GB, free: 28.13 MB / 0.8386 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00295/1.517, allocations: 1.272 MB / 1.383 GB, free: 27.82 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001896/1.517, allocations: 478 kB / 1.384 GB, free: 27.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/1.517, allocations: 16.69 kB / 1.384 GB, free: 27.32 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3e-05/1.517, allocations: 19.48 kB / 1.384 GB, free: 27.32 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.346e-05/1.517, allocations: 30.67 kB / 1.384 GB, free: 27.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/1.517, allocations: 19.19 kB / 1.384 GB, free: 27.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00214/1.519, allocations: 0.5327 MB / 1.384 GB, free: 27.14 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001584/1.519, allocations: 99.31 kB / 1.384 GB, free: 27.11 MB / 0.8386 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 () * 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.0003331/1.52, allocations: 190.7 kB / 1.384 GB, free: 26.98 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005062/1.52, allocations: 387.1 kB / 1.385 GB, free: 26.86 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.884e-05/1.52, allocations: 46.77 kB / 1.385 GB, free: 26.83 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.35e-05/1.52, allocations: 34.2 kB / 1.385 GB, free: 26.82 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/1.52, allocations: 15.16 kB / 1.385 GB, free: 26.82 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/1.52, allocations: 3.844 kB / 1.385 GB, free: 26.82 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.507e-06/1.52, allocations: 11.67 kB / 1.385 GB, free: 26.81 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002912/1.521, allocations: 289.9 kB / 1.385 GB, free: 26.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/1.521, allocations: 3.875 kB / 1.385 GB, free: 26.6 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.119e-05/1.521, allocations: 23.33 kB / 1.385 GB, free: 26.59 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.274e-06/1.521, allocations: 11.69 kB / 1.385 GB, free: 26.58 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.37e-05/1.521, allocations: 19.3 kB / 1.385 GB, free: 26.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/1.521, allocations: 7.719 kB / 1.385 GB, free: 26.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/1.521, allocations: 3.75 kB / 1.385 GB, free: 26.57 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004887/1.521, allocations: 0.6371 MB / 1.386 GB, free: 26.08 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.53e-05/1.521, allocations: 107.8 kB / 1.386 GB, free: 25.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.487e-05/1.522, allocations: 11.61 kB / 1.386 GB, free: 25.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/1.522, allocations: 7.859 kB / 1.386 GB, free: 25.96 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.816e-05/1.522, allocations: 59.64 kB / 1.386 GB, free: 25.95 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.776e-05/1.522, allocations: 26.98 kB / 1.386 GB, free: 25.94 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001391/1.522, allocations: 178.6 kB / 1.386 GB, free: 25.84 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.522, allocations: 3.812 kB / 1.386 GB, free: 25.84 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006785/1.523, allocations: 182.7 kB / 1.386 GB, free: 25.84 MB / 0.8386 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 () * 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.00135/1.524, allocations: 2.183 MB / 1.389 GB, free: 23.87 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001487/1.525, allocations: 1.651 MB / 1.39 GB, free: 22.84 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/1.525, allocations: 0 / 1.39 GB, free: 22.84 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001739/1.526, allocations: 158.2 kB / 1.39 GB, free: 22.83 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006116/1.526, allocations: 107.1 kB / 1.39 GB, free: 22.79 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/1.527, allocations: 0.5667 MB / 1.391 GB, free: 22.43 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/1.528, allocations: 0.7848 MB / 1.392 GB, free: 21.68 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001158/1.528, allocations: 47.59 kB / 1.392 GB, free: 21.66 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/1.528, allocations: 109.9 kB / 1.392 GB, free: 21.64 MB / 0.8386 GB Notification: Performance of SimCode: time 4.81e-07/1.528, allocations: 3.938 kB / 1.392 GB, free: 21.64 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03761/1.566, allocations: 12.66 MB / 1.404 GB, free: 15.27 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001988/1.566, allocations: 176.1 kB / 1.404 GB, free: 15.07 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.204/3.77, allocations: 6.875 kB / 1.404 GB, free: 15.07 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulsePositiveStartTime_fmu --startTime=9 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulsePositiveStartTime.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime_res.mat does not exist to compare? outputFormat=mat