Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.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.Pulse,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.295/2.295, allocations: 387.4 MB / 394.9 MB, free: 13.35 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.001744/0.001744, 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.605/1.605, allocations: 221.5 MB / 0.7824 GB, free: 0.9336 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.0009817/0.0009817, allocations: 85.42 kB / 0.9219 GB, free: 2.184 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.388e-05/2.412e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3113, allocations: 142.4 MB / 1.206 GB, free: 43.81 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8923/1.204, allocations: 148.9 MB / 1.351 GB, free: 17.95 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002295/1.204, allocations: 72 kB / 1.352 GB, free: 17.95 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04998/1.254, allocations: 17.3 MB / 1.368 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.222e-06/1.254, allocations: 0 / 1.368 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.054e-05/1.254, allocations: 3.5 kB / 1.368 GB, free: 32.71 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.0008735/1.255, allocations: 0.9675 MB / 1.369 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/1.255, allocations: 11.28 kB / 1.369 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001826/1.255, allocations: 63.45 kB / 1.369 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/1.255, allocations: 210.9 kB / 1.37 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/1.255, allocations: 2.719 kB / 1.37 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001437/1.255, allocations: 72.98 kB / 1.37 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.605e-05/1.256, allocations: 33.44 kB / 1.37 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001929/1.256, allocations: 207.5 kB / 1.37 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/1.256, allocations: 7.812 kB / 1.37 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.828e-05/1.256, allocations: 3.094 kB / 1.37 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/1.256, allocations: 3.969 kB / 1.37 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006829/1.257, allocations: 0.8136 MB / 1.371 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001653/1.257, allocations: 305.8 kB / 1.371 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.638e-05/1.257, allocations: 124.8 kB / 1.371 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.287e-06/1.257, allocations: 7.469 kB / 1.371 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004054/1.257, allocations: 450.2 kB / 1.372 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=45): time 1.773e-06/1.257, allocations: 0 / 1.372 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of matching and sorting (n=45): time 0.000624/1.258, allocations: 421.9 kB / 1.372 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.123e-05/1.258, allocations: 440.5 kB / 1.372 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002064/1.258, allocations: 237.9 kB / 1.373 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001431/1.258, allocations: 66.27 kB / 1.373 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002136/1.259, allocations: 164.5 kB / 1.373 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.605e-05/1.259, allocations: 77.84 kB / 1.373 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/1.259, allocations: 33.27 kB / 1.373 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001257/1.259, allocations: 343.8 kB / 1.373 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006384/1.26, allocations: 367.3 kB / 1.374 GB, free: 29.22 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000679/1.26, allocations: 0.6388 MB / 1.374 GB, free: 28.86 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001639/1.262, allocations: 0.4996 MB / 1.375 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/1.262, allocations: 7.797 kB / 1.375 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003149/1.265, allocations: 1.277 MB / 1.376 GB, free: 28.71 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002059/1.265, allocations: 477.5 kB / 1.376 GB, free: 28.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/1.265, allocations: 7.719 kB / 1.376 GB, free: 28.24 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.922e-05/1.265, allocations: 19.34 kB / 1.377 GB, free: 28.24 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.777e-05/1.265, allocations: 36.08 kB / 1.377 GB, free: 28.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-05/1.265, allocations: 15.31 kB / 1.377 GB, free: 28.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002218/1.268, allocations: 0.5315 MB / 1.377 GB, free: 28.18 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001647/1.268, allocations: 99.44 kB / 1.377 GB, free: 28.18 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.0003363/1.268, allocations: 182.4 kB / 1.377 GB, free: 28.05 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005404/1.269, allocations: 398.8 kB / 1.378 GB, free: 27.98 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.768e-05/1.269, allocations: 44.36 kB / 1.378 GB, free: 27.96 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.666e-05/1.269, allocations: 29.95 kB / 1.378 GB, free: 27.95 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/1.269, allocations: 7.688 kB / 1.378 GB, free: 27.95 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/1.269, allocations: 10.33 kB / 1.378 GB, free: 27.95 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/1.269, allocations: 3.812 kB / 1.378 GB, free: 27.95 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003335/1.269, allocations: 297.8 kB / 1.378 GB, free: 27.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/1.269, allocations: 3.844 kB / 1.378 GB, free: 27.75 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.999e-05/1.269, allocations: 19.55 kB / 1.378 GB, free: 27.75 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.062e-06/1.269, allocations: 3.875 kB / 1.378 GB, free: 27.75 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.52e-05/1.269, allocations: 18.83 kB / 1.378 GB, free: 27.74 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/1.269, allocations: 3.875 kB / 1.378 GB, free: 27.74 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.473e-06/1.269, allocations: 7.844 kB / 1.378 GB, free: 27.74 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004903/1.27, allocations: 0.6387 MB / 1.379 GB, free: 27.25 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.455e-05/1.27, allocations: 108.6 kB / 1.379 GB, free: 27.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.334e-05/1.27, allocations: 15.14 kB / 1.379 GB, free: 27.13 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/1.27, allocations: 11.95 kB / 1.379 GB, free: 27.12 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.011e-05/1.27, allocations: 58.55 kB / 1.379 GB, free: 27.11 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.429e-05/1.27, allocations: 30.3 kB / 1.379 GB, free: 27.1 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001141/1.27, allocations: 176.4 kB / 1.379 GB, free: 27 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.41e-07/1.27, allocations: 0 / 1.379 GB, free: 27 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006081/1.271, allocations: 184.2 kB / 1.379 GB, free: 27 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.001014/1.272, allocations: 2.182 MB / 1.381 GB, free: 25.02 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001377/1.273, allocations: 1.653 MB / 1.383 GB, free: 24 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/1.273, allocations: 1.125 kB / 1.383 GB, free: 24 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001734/1.274, allocations: 160.5 kB / 1.383 GB, free: 23.98 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005856/1.274, allocations: 106.3 kB / 1.383 GB, free: 23.95 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/1.275, allocations: 0.5542 MB / 1.384 GB, free: 23.59 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000266/1.275, allocations: 0.784 MB / 1.385 GB, free: 22.85 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001088/1.276, allocations: 46.3 kB / 1.385 GB, free: 22.83 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/1.276, allocations: 106 kB / 1.385 GB, free: 22.81 MB / 0.8386 GB Notification: Performance of SimCode: time 8.51e-07/1.276, allocations: 0 / 1.385 GB, free: 22.81 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03004/1.306, allocations: 12.65 MB / 1.397 GB, free: 16.45 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001416/1.306, allocations: 153.5 kB / 1.397 GB, free: 16.25 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.435/3.741, allocations: 0 / 1.397 GB, free: 16.25 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse_res.mat does not exist to compare? outputFormat=mat