Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,fileNamePrefix="Buildings_latest_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_latest_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 87.3 kB / 15.06 MB, free: 1.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001571/0.001571, allocations: 176.7 kB / 15.96 MB, free: 196 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 223.3 MB / 240 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.566/2.566, allocations: 409.4 MB / 0.684 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003724/0.0003725, allocations: 12 kB / 0.8378 GB, free: 6.465 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8475/0.8478, allocations: 146.8 MB / 0.9812 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.00117/0.8491, allocations: 0.6536 MB / 0.9818 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001845/0.8509, allocations: 1.405 MB / 0.9832 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.891e-05/0.851, allocations: 0 / 0.9832 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.401e-05/0.8511, allocations: 11.86 kB / 0.9832 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001407/0.8512, allocations: 39.7 kB / 0.9832 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.8523, allocations: 382.3 kB / 0.9836 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003875/0.8526, allocations: 383.1 kB / 0.9839 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001417/0.8528, allocations: 37.86 kB / 0.984 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001747/0.853, allocations: 147.6 kB / 0.9841 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001847/0.8532, allocations: 119.5 kB / 0.9842 GB, free: 3.09 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.093e-05/0.8532, allocations: 20 kB / 0.9843 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.8533, allocations: 31.98 kB / 0.9843 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.79e-05/0.8534, allocations: 31.78 kB / 0.9843 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.454e-05/0.8535, allocations: 65.64 kB / 0.9844 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003748/0.8539, allocations: 373.2 kB / 0.9847 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/0.8539, allocations: 0 / 0.9847 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.883e-06/0.8539, allocations: 0 / 0.9847 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.338e-06/0.8539, allocations: 0 / 0.9847 GB, free: 2.574 MB / 0.7325 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.0007241/0.8546, allocations: 0.5767 MB / 0.9853 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.8547, allocations: 12.03 kB / 0.9853 GB, free: 1.914 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.806e-05/0.8547, allocations: 38.56 kB / 0.9853 GB, free: 1.867 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.998e-05/0.8548, allocations: 27.81 kB / 0.9854 GB, free: 1.84 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002216/0.8551, allocations: 225.7 kB / 0.9856 GB, free: 1.582 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.871e-05/0.8551, allocations: 16 kB / 0.9856 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.805e-05/0.8552, allocations: 19.95 kB / 0.9856 GB, free: 1.547 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002086/0.8554, allocations: 130.4 kB / 0.9857 GB, free: 1.402 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.8554, allocations: 3.938 kB / 0.9857 GB, free: 1.398 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.8554, allocations: 7.984 kB / 0.9858 GB, free: 1.391 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.8554, allocations: 0 / 0.9858 GB, free: 1.391 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001102/0.8555, allocations: 55.92 kB / 0.9858 GB, free: 1.336 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009599/0.8565, allocations: 0.8757 MB / 0.9867 GB, free: 408 kB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001486/0.8567, allocations: 118.4 kB / 0.9868 GB, free: 252 kB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.822e-05/0.8567, allocations: 51.48 kB / 0.9868 GB, free: 188 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.099e-05/0.8568, allocations: 0 / 0.9868 GB, free: 188 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003209/0.8571, allocations: 174.6 kB / 0.987 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=16): time 1.232e-06/0.8571, allocations: 0 / 0.987 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of matching and sorting (n=16): time 0.0004537/0.8576, allocations: 229.2 kB / 0.9872 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.737e-05/0.8577, allocations: 132.5 kB / 0.9873 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002438/0.8579, allocations: 240.9 kB / 0.9876 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.873e-05/0.858, allocations: 41.7 kB / 0.9876 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.8581, allocations: 124.5 kB / 0.9877 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.997e-05/0.8581, allocations: 39.55 kB / 0.9878 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.025e-05/0.8582, allocations: 15.94 kB / 0.9878 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.8583, allocations: 330.8 kB / 0.9881 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002909/0.8586, allocations: 144.1 kB / 0.9882 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003114/0.8589, allocations: 230.6 kB / 0.9885 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003067/0.8593, allocations: 254.8 kB / 0.9887 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.8593, allocations: 3.938 kB / 0.9887 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008837/0.8602, allocations: 0.5429 MB / 0.9892 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001095/0.8603, allocations: 140.2 kB / 0.9894 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.8603, allocations: 4 kB / 0.9894 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.8603, allocations: 4 kB / 0.9894 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.664e-05/0.8604, allocations: 12.25 kB / 0.9894 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/0.8604, allocations: 15.89 kB / 0.9894 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006975/0.8611, allocations: 161 kB / 0.9895 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.325e-05/0.8612, allocations: 19.98 kB / 0.9896 GB, free: 13.16 MB / 0.7481 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 () * Number of clocked 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.0001943/0.8614, allocations: 150.8 kB / 0.9897 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.349e-05/0.8614, allocations: 19.72 kB / 0.9897 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.682e-05/0.8615, allocations: 25.23 kB / 0.9898 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.8615, allocations: 3.938 kB / 0.9898 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/0.8615, allocations: 4 kB / 0.9898 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.8615, allocations: 7.953 kB / 0.9898 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002636/0.8618, allocations: 257.5 kB / 0.99 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.8618, allocations: 0 / 0.99 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.143e-05/0.8619, allocations: 11.98 kB / 0.99 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.8619, allocations: 0 / 0.99 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.8619, allocations: 4 kB / 0.99 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.8619, allocations: 4 kB / 0.99 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.8619, allocations: 3.984 kB / 0.99 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003013/0.8622, allocations: 228 kB / 0.9903 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.04e-05/0.8623, allocations: 92.92 kB / 0.9903 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.971e-05/0.8623, allocations: 3.984 kB / 0.9903 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.065e-05/0.8624, allocations: 8 kB / 0.9904 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.464e-05/0.8624, allocations: 11.98 kB / 0.9904 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.8625, allocations: 11.98 kB / 0.9904 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001548/0.8626, allocations: 172.4 kB / 0.9905 GB, free: 12.06 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8626, allocations: 0 / 0.9905 GB, free: 12.06 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003433/0.863, allocations: 75.83 kB / 0.9906 GB, free: 11.98 MB / 0.7481 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 () * Number of clocked 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.0006733/0.8637, allocations: 0.7533 MB / 0.9914 GB, free: 11.19 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0007252/0.8644, allocations: 0.5286 MB / 0.9919 GB, free: 10.61 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.8644, allocations: 0 / 0.9919 GB, free: 10.61 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001179/0.8645, allocations: 71.89 kB / 0.9919 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004296/0.865, allocations: 64.77 kB / 0.992 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002477/0.8675, allocations: 1.624 MB / 0.9936 GB, free: 8.77 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.8678, allocations: 0.7362 MB / 0.9943 GB, free: 8.008 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 7.801e-05/0.8679, allocations: 18.3 kB / 0.9943 GB, free: 7.992 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.275e-05/0.868, allocations: 55.42 kB / 0.9944 GB, free: 7.938 MB / 0.7481 GB Notification: Performance of SimCode: time 6.21e-07/0.868, allocations: 0 / 0.9944 GB, free: 7.938 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01829/0.8863, allocations: 6.096 MB / 1 GB, free: 2.059 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001813/0.8865, allocations: 205.3 kB / 1.001 GB, free: 1.816 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.949/2.836, allocations: 0 / 1.001 GB, free: 1.816 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat does not exist to compare? outputFormat=mat