Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.453/2.453, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001426/0.001426, allocations: 180.8 kB / 487.4 MB, free: 5.031 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.527/1.527, allocations: 221.5 MB / 0.7824 GB, free: 0.9922 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 94.97 kB / 0.9219 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.83e-05/2.819e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.2425, allocations: 142.4 MB / 1.206 GB, free: 43.83 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9093/1.152, allocations: 148.9 MB / 1.351 GB, free: 18.17 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002534/1.152, allocations: 69.92 kB / 1.352 GB, free: 18.17 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04969/1.202, allocations: 17.3 MB / 1.368 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.573e-06/1.202, allocations: 4 kB / 1.368 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.261e-05/1.202, allocations: 3.812 kB / 1.368 GB, free: 32.93 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.0009433/1.203, allocations: 0.9715 MB / 1.369 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/1.203, allocations: 8.25 kB / 1.369 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002/1.203, allocations: 61.56 kB / 1.369 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/1.203, allocations: 214 kB / 1.37 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.427e-05/1.203, allocations: 6.438 kB / 1.37 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001458/1.203, allocations: 60.09 kB / 1.37 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.417e-05/1.204, allocations: 39.11 kB / 1.37 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/1.204, allocations: 210 kB / 1.37 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/1.204, allocations: 3.938 kB / 1.37 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.073e-05/1.204, allocations: 10 kB / 1.37 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/1.204, allocations: 4.969 kB / 1.37 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006759/1.205, allocations: 0.8065 MB / 1.371 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001696/1.205, allocations: 306.6 kB / 1.371 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/1.205, allocations: 127 kB / 1.371 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.049e-05/1.205, allocations: 7.594 kB / 1.371 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004139/1.205, allocations: 443.3 kB / 1.372 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=45): time 2.154e-06/1.205, allocations: 4 kB / 1.372 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of matching and sorting (n=45): time 0.0006462/1.206, allocations: 420 kB / 1.372 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.415e-05/1.206, allocations: 440.4 kB / 1.372 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001947/1.206, allocations: 241.2 kB / 1.373 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001258/1.206, allocations: 56.45 kB / 1.373 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001749/1.207, allocations: 169.9 kB / 1.373 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.025e-05/1.207, allocations: 86.75 kB / 1.373 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/1.207, allocations: 26.88 kB / 1.373 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001301/1.207, allocations: 348.3 kB / 1.373 GB, free: 29.44 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000661/1.208, allocations: 367.2 kB / 1.374 GB, free: 29.43 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006729/1.208, allocations: 0.6362 MB / 1.374 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001658/1.21, allocations: 0.4945 MB / 1.375 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/1.21, allocations: 11.89 kB / 1.375 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003025/1.213, allocations: 1.275 MB / 1.376 GB, free: 28.93 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002104/1.213, allocations: 480.8 kB / 1.376 GB, free: 28.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/1.213, allocations: 11.72 kB / 1.377 GB, free: 28.45 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.455e-05/1.213, allocations: 15.41 kB / 1.377 GB, free: 28.45 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.607e-05/1.213, allocations: 29.03 kB / 1.377 GB, free: 28.45 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.471e-05/1.213, allocations: 22.45 kB / 1.377 GB, free: 28.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002244/1.216, allocations: 0.5286 MB / 1.377 GB, free: 28.4 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001603/1.216, allocations: 101.7 kB / 1.377 GB, free: 28.4 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.0002785/1.216, allocations: 185.9 kB / 1.377 GB, free: 28.27 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004941/1.217, allocations: 400.2 kB / 1.378 GB, free: 28.18 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.004e-05/1.217, allocations: 42.72 kB / 1.378 GB, free: 28.16 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.19e-05/1.217, allocations: 32.52 kB / 1.378 GB, free: 28.15 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/1.217, allocations: 7.688 kB / 1.378 GB, free: 28.15 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/1.217, allocations: 3.875 kB / 1.378 GB, free: 28.15 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/1.217, allocations: 11.77 kB / 1.378 GB, free: 28.14 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002795/1.217, allocations: 293.4 kB / 1.378 GB, free: 27.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/1.217, allocations: 3.875 kB / 1.378 GB, free: 27.93 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.803e-05/1.217, allocations: 15.61 kB / 1.378 GB, free: 27.92 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/1.217, allocations: 7.688 kB / 1.378 GB, free: 27.92 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/1.217, allocations: 18.92 kB / 1.378 GB, free: 27.92 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/1.217, allocations: 3.969 kB / 1.378 GB, free: 27.92 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/1.217, allocations: 3.812 kB / 1.378 GB, free: 27.92 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004642/1.218, allocations: 0.6413 MB / 1.379 GB, free: 27.43 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.638e-05/1.218, allocations: 112.1 kB / 1.379 GB, free: 27.31 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.442e-05/1.218, allocations: 7.859 kB / 1.379 GB, free: 27.31 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/1.218, allocations: 10.59 kB / 1.379 GB, free: 27.31 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.045e-05/1.218, allocations: 62.59 kB / 1.379 GB, free: 27.28 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.463e-05/1.218, allocations: 30.61 kB / 1.379 GB, free: 27.27 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001235/1.218, allocations: 173.3 kB / 1.379 GB, free: 27.18 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.218, allocations: 0 / 1.379 GB, free: 27.18 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006366/1.219, allocations: 184 kB / 1.379 GB, free: 27.18 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.001093/1.22, allocations: 2.19 MB / 1.381 GB, free: 25.2 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001431/1.221, allocations: 1.643 MB / 1.383 GB, free: 24.18 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/1.221, allocations: 3.844 kB / 1.383 GB, free: 24.18 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001736/1.221, allocations: 159.3 kB / 1.383 GB, free: 24.16 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000616/1.222, allocations: 105.2 kB / 1.383 GB, free: 24.12 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/1.223, allocations: 0.5573 MB / 1.384 GB, free: 23.77 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003727/1.223, allocations: 0.7854 MB / 1.385 GB, free: 23.02 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001172/1.224, allocations: 39.77 kB / 1.385 GB, free: 23.01 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/1.224, allocations: 111.4 kB / 1.385 GB, free: 22.99 MB / 0.8386 GB Notification: Performance of SimCode: time 4.51e-07/1.224, allocations: 3.938 kB / 1.385 GB, free: 22.99 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03181/1.256, allocations: 12.67 MB / 1.397 GB, free: 16.6 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001637/1.256, allocations: 180.7 kB / 1.397 GB, free: 16.4 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.18/3.435, allocations: 3.5 kB / 1.397 GB, free: 16.4 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulsePositiveStartTime_fmu --startTime=9 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulsePositiveStartTime.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime_res.mat does not exist to compare? outputFormat=mat