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.344/2.344, allocations: 390.3 MB / 402.8 MB, free: 6.703 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.001196/0.001196, allocations: 176.8 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.598/1.598, allocations: 221.3 MB / 0.7915 GB, free: 5.41 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.001107/0.001108, allocations: 87.97 kB / 0.9317 GB, free: 5.723 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.338e-05/4.367e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3033/0.3034, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9918/1.295, allocations: 150.4 MB / 1.366 GB, free: 3.648 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000235/1.296, allocations: 70.95 kB / 1.366 GB, free: 3.609 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05398/1.35, allocations: 17.38 MB / 1.383 GB, free: 4.527 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.663e-06/1.35, allocations: 0 / 1.383 GB, free: 4.527 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.792e-05/1.35, allocations: 4 kB / 1.383 GB, free: 4.523 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.001444/1.351, allocations: 0.9733 MB / 1.384 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/1.351, allocations: 8.031 kB / 1.384 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.663e-05/1.351, allocations: 42.3 kB / 1.384 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003515/1.352, allocations: 63.67 kB / 1.384 GB, free: 3.34 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002254/1.352, allocations: 212.2 kB / 1.384 GB, free: 3.094 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.499e-05/1.352, allocations: 39.05 kB / 1.384 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002996/1.352, allocations: 63.31 kB / 1.384 GB, free: 3.004 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002913/1.352, allocations: 210.3 kB / 1.384 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/1.352, allocations: 8 kB / 1.384 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.34e-05/1.353, allocations: 11.86 kB / 1.384 GB, free: 2.75 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.992e-06/1.353, allocations: 0 / 1.384 GB, free: 2.75 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001114/1.353, allocations: 65.31 kB / 1.384 GB, free: 2.699 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00111/1.354, allocations: 0.8405 MB / 1.385 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000296/1.354, allocations: 327.5 kB / 1.386 GB, free: 1.512 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001426/1.354, allocations: 134.9 kB / 1.386 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.497e-05/1.354, allocations: 7.938 kB / 1.386 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005166/1.355, allocations: 458.3 kB / 1.386 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=45): time 1.834e-06/1.355, allocations: 0 / 1.386 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of matching and sorting (n=45): time 0.0008497/1.356, allocations: 451 kB / 1.387 GB, free: 0.4922 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002107/1.356, allocations: 441.7 kB / 1.387 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002615/1.356, allocations: 259.2 kB / 1.387 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001837/1.356, allocations: 74.44 kB / 1.387 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001985/1.357, allocations: 157.9 kB / 1.387 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 9.13e-05/1.357, allocations: 89.78 kB / 1.387 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/1.357, allocations: 34.75 kB / 1.388 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001394/1.357, allocations: 359.2 kB / 1.388 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008752/1.358, allocations: 401.8 kB / 1.388 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001058/1.359, allocations: 0.6869 MB / 1.389 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/1.36, allocations: 0.8155 MB / 1.39 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.325e-05/1.36, allocations: 4 kB / 1.39 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002824/1.363, allocations: 1.675 MB / 1.391 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003021/1.363, allocations: 483.6 kB / 1.392 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.93e-05/1.363, allocations: 12 kB / 1.392 GB, free: 11.35 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.413e-05/1.363, allocations: 12 kB / 1.392 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.696e-05/1.363, allocations: 31.17 kB / 1.392 GB, free: 11.31 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.255e-05/1.363, allocations: 23.88 kB / 1.392 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002437/1.366, allocations: 0.5414 MB / 1.392 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002125/1.366, allocations: 99.28 kB / 1.393 GB, free: 10.66 MB / 0.8542 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.0003244/1.366, allocations: 206.3 kB / 1.393 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/1.366, allocations: 39.53 kB / 1.393 GB, free: 10.44 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.656e-05/1.367, allocations: 40.14 kB / 1.393 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.938e-06/1.367, allocations: 8 kB / 1.393 GB, free: 10.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.396e-05/1.367, allocations: 11.98 kB / 1.393 GB, free: 10.39 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/1.367, allocations: 4 kB / 1.393 GB, free: 10.39 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004225/1.367, allocations: 327.5 kB / 1.393 GB, free: 10.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/1.367, allocations: 4 kB / 1.393 GB, free: 10.06 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.427e-05/1.367, allocations: 19.92 kB / 1.393 GB, free: 10.04 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.365e-06/1.367, allocations: 7.938 kB / 1.393 GB, free: 10.04 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.802e-05/1.367, allocations: 22.55 kB / 1.393 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.131e-05/1.367, allocations: 7.984 kB / 1.393 GB, free: 10.01 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/1.367, allocations: 7.938 kB / 1.393 GB, free: 10 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007509/1.368, allocations: 0.6614 MB / 1.394 GB, free: 9.289 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.67e-05/1.368, allocations: 112.1 kB / 1.394 GB, free: 9.164 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.951e-05/1.368, allocations: 14.8 kB / 1.394 GB, free: 9.152 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/1.368, allocations: 14.88 kB / 1.394 GB, free: 9.145 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.232e-05/1.368, allocations: 57.27 kB / 1.394 GB, free: 9.102 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.375e-05/1.368, allocations: 39.47 kB / 1.394 GB, free: 9.07 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001539/1.368, allocations: 184.2 kB / 1.394 GB, free: 8.918 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.51e-07/1.368, allocations: 0 / 1.394 GB, free: 8.918 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0007444/1.369, allocations: 200.4 kB / 1.394 GB, free: 8.738 MB / 0.8542 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.001447/1.371, allocations: 2.22 MB / 1.397 GB, free: 6.496 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00186/1.373, allocations: 1.725 MB / 1.398 GB, free: 4.918 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/1.373, allocations: 0 / 1.398 GB, free: 4.918 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002349/1.373, allocations: 174.8 kB / 1.398 GB, free: 4.785 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000831/1.374, allocations: 115.6 kB / 1.399 GB, free: 4.688 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/1.375, allocations: 0.6035 MB / 1.399 GB, free: 4.086 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/1.375, allocations: 0.7842 MB / 1.4 GB, free: 3.277 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.000139/1.376, allocations: 46.97 kB / 1.4 GB, free: 3.23 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/1.376, allocations: 105.4 kB / 1.4 GB, free: 3.191 MB / 0.8542 GB Notification: Performance of SimCode: time 6.41e-07/1.376, allocations: 0 / 1.4 GB, free: 3.191 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02955/1.405, allocations: 13.8 MB / 1.414 GB, free: 5.703 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001707/1.405, allocations: 189 kB / 1.414 GB, free: 5.477 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.221/3.626, allocations: 0 / 1.414 GB, free: 5.477 MB / 0.8698 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