Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.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.Integers.Sources.Validation.Pulse,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_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.522/2.522, allocations: 387.1 MB / 399.7 MB, free: 9.465 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.0009378/0.0009378, allocations: 191.5 kB / 492.3 MB, free: 0.6133 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.797/1.797, allocations: 221.3 MB / 0.7871 GB, free: 12.89 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.001124/0.001124, allocations: 87.97 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.342e-05/3.344e-05, allocations: 4 kB / 1.074 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2978, allocations: 142.3 MB / 1.213 GB, free: 38.4 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9864/1.284, allocations: 149.5 MB / 1.358 GB, free: 18.98 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002277/1.285, allocations: 73.83 kB / 1.359 GB, free: 18.98 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01702/1.302, allocations: 6.187 MB / 1.365 GB, free: 34.35 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.423e-06/1.302, allocations: 4 kB / 1.365 GB, free: 34.34 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.344e-05/1.302, allocations: 3.906 kB / 1.365 GB, free: 34.34 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000613/1.302, allocations: 0.5514 MB / 1.365 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/1.302, allocations: 11.59 kB / 1.365 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.406e-05/1.302, allocations: 37.05 kB / 1.365 GB, free: 33.78 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001434/1.302, allocations: 27.16 kB / 1.365 GB, free: 33.77 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001669/1.303, allocations: 214.1 kB / 1.365 GB, free: 33.56 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.711e-05/1.303, allocations: 14.44 kB / 1.365 GB, free: 33.56 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.443e-05/1.303, allocations: 21.78 kB / 1.365 GB, free: 33.56 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/1.303, allocations: 128.5 kB / 1.366 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-06/1.303, allocations: 0 / 1.366 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/1.303, allocations: 0 / 1.366 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/1.303, allocations: 3.844 kB / 1.366 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.301e-05/1.303, allocations: 58.23 kB / 1.366 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008449/1.304, allocations: 0.8718 MB / 1.366 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/1.304, allocations: 118.6 kB / 1.367 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.447e-05/1.304, allocations: 51.88 kB / 1.367 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.044e-05/1.304, allocations: 3.938 kB / 1.367 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002009/1.304, allocations: 177.1 kB / 1.367 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 2.034e-06/1.304, allocations: 0 / 1.367 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0003223/1.305, allocations: 176.5 kB / 1.367 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.384e-05/1.305, allocations: 142.5 kB / 1.367 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/1.305, allocations: 209.7 kB / 1.367 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.851e-05/1.305, allocations: 36.77 kB / 1.367 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.351e-05/1.305, allocations: 135.8 kB / 1.367 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.429e-05/1.305, allocations: 25.95 kB / 1.367 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.078e-05/1.305, allocations: 10.81 kB / 1.368 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.422e-05/1.305, allocations: 331.9 kB / 1.368 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002455/1.306, allocations: 141.6 kB / 1.368 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002471/1.306, allocations: 223.4 kB / 1.368 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002542/1.306, allocations: 250.5 kB / 1.368 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/1.306, allocations: 3.875 kB / 1.368 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007203/1.307, allocations: 0.5439 MB / 1.369 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.201e-05/1.307, allocations: 143.6 kB / 1.369 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.086e-06/1.307, allocations: 3.844 kB / 1.369 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/1.307, allocations: 3.812 kB / 1.369 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.04e-05/1.307, allocations: 13.56 kB / 1.369 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/1.307, allocations: 7.812 kB / 1.369 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006321/1.308, allocations: 154.4 kB / 1.369 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.498e-05/1.308, allocations: 28.44 kB / 1.369 GB, free: 31.39 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,pul3.y,$PRE.pul3.booPul.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,$PRE.pul1.booPul.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,$PRE.pul2.booPul.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,$PRE.pul.booPul.y,pul.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.0001114/1.308, allocations: 122.2 kB / 1.369 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.928e-05/1.308, allocations: 31.45 kB / 1.369 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.664e-05/1.308, allocations: 28.75 kB / 1.369 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/1.308, allocations: 3.844 kB / 1.369 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/1.308, allocations: 0 / 1.369 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/1.308, allocations: 6.797 kB / 1.369 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001798/1.308, allocations: 254.4 kB / 1.37 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/1.308, allocations: 7.078 kB / 1.37 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.607e-05/1.308, allocations: 11.62 kB / 1.37 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/1.308, allocations: 0 / 1.37 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/1.308, allocations: 10.73 kB / 1.37 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/1.308, allocations: 3.234 kB / 1.37 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/1.308, allocations: 7.844 kB / 1.37 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002273/1.308, allocations: 244.4 kB / 1.37 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.52e-05/1.308, allocations: 106.3 kB / 1.37 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.652e-05/1.309, allocations: 6.562 kB / 1.37 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.098e-05/1.309, allocations: 3.375 kB / 1.37 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.042e-05/1.309, allocations: 12.73 kB / 1.37 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/1.309, allocations: 14.16 kB / 1.37 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001199/1.309, allocations: 162.5 kB / 1.37 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.309, allocations: 0 / 1.37 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003432/1.309, allocations: 68.94 kB / 1.37 GB, free: 30.7 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,pul3.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0005555/1.31, allocations: 1.015 MB / 1.371 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005349/1.31, allocations: 0.5254 MB / 1.372 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/1.31, allocations: 0 / 1.372 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.088e-05/1.31, allocations: 61.34 kB / 1.372 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003681/1.311, allocations: 64.53 kB / 1.372 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006016/1.311, allocations: 295.2 kB / 1.372 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/1.312, allocations: 0.7408 MB / 1.373 GB, free: 28.65 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.384e-05/1.312, allocations: 18.02 kB / 1.373 GB, free: 28.65 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.98e-05/1.312, allocations: 62.58 kB / 1.373 GB, free: 28.64 MB / 0.8386 GB Notification: Performance of SimCode: time 2.11e-07/1.312, allocations: 4 kB / 1.373 GB, free: 28.64 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01834/1.33, allocations: 6.048 MB / 1.379 GB, free: 28.12 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002212/1.33, allocations: 156.7 kB / 1.379 GB, free: 27.9 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.697/3.028, allocations: 2.109 kB / 1.379 GB, free: 27.9 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat does not exist to compare? outputFormat=mat