Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime,fileNamePrefix="Buildings_8_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_8_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 8.1.4-maint.8.1.x/package.mo): time 1.743/1.743, allocations: 289.7 MB / 302.2 MB, free: 2.199 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001087/0.001087, allocations: 181 kB / 371.6 MB, free: 3.406 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.703/1.703, allocations: 205.1 MB / 0.6309 GB, free: 11.74 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007956/0.0007956, allocations: 90.3 kB / 0.745 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.494e-05/3.505e-05, allocations: 4 kB / 0.8664 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2482/0.2483, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8409/1.089, allocations: 139.2 MB / 1.116 GB, free: 44.5 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002241/1.09, allocations: 70.11 kB / 1.116 GB, free: 44.47 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.04544/1.135, allocations: 17.3 MB / 1.133 GB, free: 34.77 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.225e-06/1.135, allocations: 4 kB / 1.133 GB, free: 34.76 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.158e-05/1.135, allocations: 4 kB / 1.133 GB, free: 34.76 MB / 0.7448 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.0008484/1.136, allocations: 0.9667 MB / 1.134 GB, free: 33.76 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/1.136, allocations: 8.031 kB / 1.134 GB, free: 33.75 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.601e-05/1.136, allocations: 41.52 kB / 1.134 GB, free: 33.71 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001934/1.136, allocations: 62 kB / 1.134 GB, free: 33.65 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/1.136, allocations: 218.9 kB / 1.134 GB, free: 33.41 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.231e-05/1.136, allocations: 35.06 kB / 1.134 GB, free: 33.38 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001439/1.137, allocations: 62.83 kB / 1.134 GB, free: 33.33 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002476/1.137, allocations: 218.9 kB / 1.134 GB, free: 33.11 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/1.137, allocations: 0.625 kB / 1.134 GB, free: 33.11 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.115e-05/1.137, allocations: 7.984 kB / 1.134 GB, free: 33.11 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/1.137, allocations: 4 kB / 1.134 GB, free: 33.11 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.524e-05/1.137, allocations: 65.78 kB / 1.134 GB, free: 33.06 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007699/1.138, allocations: 0.848 MB / 1.135 GB, free: 32.59 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002367/1.138, allocations: 318.6 kB / 1.136 GB, free: 32.17 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001234/1.138, allocations: 141.2 kB / 1.136 GB, free: 32 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/1.138, allocations: 1.969 kB / 1.136 GB, free: 32 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000536/1.139, allocations: 462.3 kB / 1.136 GB, free: 31.62 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=45): time 2.264e-06/1.139, allocations: 0 / 1.136 GB, free: 31.62 MB / 0.7448 GB Notification: Performance of matching and sorting (n=45): time 0.0008159/1.14, allocations: 454.9 kB / 1.137 GB, free: 31.29 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001213/1.14, allocations: 434.7 kB / 1.137 GB, free: 30.77 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002297/1.14, allocations: 264.4 kB / 1.137 GB, free: 30.57 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001212/1.14, allocations: 64.27 kB / 1.137 GB, free: 30.51 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/1.14, allocations: 162 kB / 1.138 GB, free: 30.39 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.785e-05/1.14, allocations: 95.86 kB / 1.138 GB, free: 30.32 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/1.14, allocations: 35.48 kB / 1.138 GB, free: 30.3 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.432e-05/1.141, allocations: 354.5 kB / 1.138 GB, free: 29.97 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007276/1.141, allocations: 404.5 kB / 1.138 GB, free: 29.73 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008332/1.142, allocations: 0.6808 MB / 1.139 GB, free: 29.09 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008354/1.143, allocations: 0.8228 MB / 1.14 GB, free: 28.37 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/1.143, allocations: 4 kB / 1.14 GB, free: 28.36 MB / 0.7448 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00245/1.145, allocations: 1.674 MB / 1.141 GB, free: 27.04 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002518/1.146, allocations: 480.6 kB / 1.142 GB, free: 26.53 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/1.146, allocations: 8 kB / 1.142 GB, free: 26.52 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.193e-05/1.146, allocations: 16.75 kB / 1.142 GB, free: 26.5 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.128e-05/1.146, allocations: 35.08 kB / 1.142 GB, free: 26.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.16e-05/1.146, allocations: 19.3 kB / 1.142 GB, free: 26.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002405/1.148, allocations: 0.5469 MB / 1.143 GB, free: 26.04 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002039/1.149, allocations: 100.5 kB / 1.143 GB, free: 25.98 MB / 0.7448 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.0003315/1.149, allocations: 196.2 kB / 1.143 GB, free: 25.8 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/1.149, allocations: 46.38 kB / 1.143 GB, free: 25.76 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.523e-05/1.149, allocations: 35.59 kB / 1.143 GB, free: 25.73 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-05/1.149, allocations: 12.56 kB / 1.143 GB, free: 25.72 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.638e-05/1.149, allocations: 8 kB / 1.143 GB, free: 25.71 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/1.149, allocations: 6.719 kB / 1.143 GB, free: 25.71 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004059/1.15, allocations: 326.9 kB / 1.143 GB, free: 25.44 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/1.15, allocations: 4.703 kB / 1.143 GB, free: 25.44 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.073e-05/1.15, allocations: 18.48 kB / 1.143 GB, free: 25.43 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.887e-06/1.15, allocations: 8 kB / 1.143 GB, free: 25.42 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.316e-05/1.15, allocations: 16.8 kB / 1.143 GB, free: 25.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.554e-06/1.15, allocations: 10.03 kB / 1.143 GB, free: 25.4 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/1.15, allocations: 7.938 kB / 1.143 GB, free: 25.39 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006734/1.15, allocations: 0.662 MB / 1.144 GB, free: 24.73 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.339e-05/1.15, allocations: 114.3 kB / 1.144 GB, free: 24.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.966e-05/1.15, allocations: 22.44 kB / 1.144 GB, free: 24.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/1.151, allocations: 11.2 kB / 1.144 GB, free: 24.58 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.317e-05/1.151, allocations: 61.11 kB / 1.144 GB, free: 24.55 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.202e-05/1.151, allocations: 32.02 kB / 1.144 GB, free: 24.53 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001328/1.151, allocations: 188.7 kB / 1.144 GB, free: 24.39 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.81e-07/1.151, allocations: 1.031 kB / 1.144 GB, free: 24.39 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0006735/1.152, allocations: 207.7 kB / 1.145 GB, free: 24.2 MB / 0.7448 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.001018/1.153, allocations: 2.21 MB / 1.147 GB, free: 22.03 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00164/1.154, allocations: 1.723 MB / 1.148 GB, free: 20.5 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.154, allocations: 4 kB / 1.148 GB, free: 20.5 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002124/1.154, allocations: 182.7 kB / 1.149 GB, free: 20.37 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000614/1.155, allocations: 106.2 kB / 1.149 GB, free: 20.31 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/1.156, allocations: 0.6043 MB / 1.149 GB, free: 19.77 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000245/1.157, allocations: 0.7815 MB / 1.15 GB, free: 19 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001333/1.157, allocations: 42.45 kB / 1.15 GB, free: 18.96 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/1.157, allocations: 108.7 kB / 1.15 GB, free: 18.94 MB / 0.7448 GB Notification: Performance of SimCode: time 5.21e-07/1.157, allocations: 1.312 kB / 1.15 GB, free: 18.94 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03282/1.19, allocations: 13.82 MB / 1.164 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001821/1.19, allocations: 175.8 kB / 1.164 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.498/3.688, allocations: 0 / 1.164 GB, free: 10.9 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulsePositiveStartTime_fmu --startTime=9 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulsePositiveStartTime.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe 2>&1)