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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 110.2 kB / 16.41 MB, free: 6.496 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.0009202/0.0009202, allocations: 187 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.274/1.274, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.464/2.464, allocations: 461.9 MB / 0.7355 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 63.91 kB / 1.055 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.698/0.6993, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002063/0.7014, allocations: 0.9658 MB / 1.209 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001685/0.7031, allocations: 1.439 MB / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001338/0.7032, allocations: 0 / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 5.434e-05/0.7033, allocations: 15.75 kB / 1.211 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001502/0.7035, allocations: 51.56 kB / 1.211 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001066/0.7045, allocations: 445.3 kB / 1.211 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005736/0.7051, allocations: 0.5147 MB / 1.212 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.7053, allocations: 45.66 kB / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000244/0.7055, allocations: 187.5 kB / 1.212 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002634/0.7058, allocations: 159.5 kB / 1.212 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001063/0.7059, allocations: 48 kB / 1.212 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001309/0.706, allocations: 67.92 kB / 1.212 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.894e-05/0.7061, allocations: 39.84 kB / 1.212 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001666/0.7062, allocations: 163.4 kB / 1.212 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004407/0.7067, allocations: 0.4907 MB / 1.213 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.7067, allocations: 0 / 1.213 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.182e-06/0.7067, allocations: 0 / 1.213 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.786e-06/0.7067, allocations: 4 kB / 1.213 GB, free: 9.035 MB / 0.9356 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.0008103/0.7075, allocations: 0.6279 MB / 1.214 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.7076, allocations: 12.03 kB / 1.214 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001041/0.7077, allocations: 24.75 kB / 1.214 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002001/0.7079, allocations: 234.9 kB / 1.214 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.022e-05/0.7079, allocations: 20.25 kB / 1.214 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.472e-05/0.708, allocations: 20.38 kB / 1.214 GB, free: 7.996 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001909/0.7082, allocations: 117.6 kB / 1.214 GB, free: 7.863 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.7082, allocations: 3.938 kB / 1.214 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/0.7082, allocations: 7.984 kB / 1.214 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.7082, allocations: 7.938 kB / 1.214 GB, free: 7.844 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.7084, allocations: 47.98 kB / 1.214 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008725/0.7092, allocations: 0.8756 MB / 1.215 GB, free: 6.859 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001444/0.7094, allocations: 126.3 kB / 1.215 GB, free: 6.699 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.684e-05/0.7095, allocations: 51.48 kB / 1.215 GB, free: 6.637 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.115e-06/0.7095, allocations: 0 / 1.215 GB, free: 6.637 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002213/0.7097, allocations: 181.2 kB / 1.215 GB, free: 6.438 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 2.425e-06/0.7097, allocations: 3.984 kB / 1.215 GB, free: 6.434 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.0004145/0.7101, allocations: 221.3 kB / 1.215 GB, free: 6.211 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.486e-05/0.7102, allocations: 136.5 kB / 1.216 GB, free: 6.047 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002189/0.7104, allocations: 244.9 kB / 1.216 GB, free: 5.797 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.159e-05/0.7105, allocations: 41.69 kB / 1.216 GB, free: 5.75 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.7106, allocations: 120.5 kB / 1.216 GB, free: 5.629 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.084e-05/0.7106, allocations: 39.55 kB / 1.216 GB, free: 5.59 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001525/0.7108, allocations: 89.64 kB / 1.216 GB, free: 5.496 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.7109, allocations: 334.8 kB / 1.216 GB, free: 5.16 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002711/0.7112, allocations: 140.2 kB / 1.217 GB, free: 5.02 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002987/0.7115, allocations: 226.6 kB / 1.217 GB, free: 4.762 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000393/0.7119, allocations: 368.9 kB / 1.217 GB, free: 4.34 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.7119, allocations: 0 / 1.217 GB, free: 4.34 MB / 0.9356 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000837/0.7127, allocations: 0.5584 MB / 1.218 GB, free: 3.75 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 8.584e-05/0.7128, allocations: 140.7 kB / 1.218 GB, free: 3.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.7129, allocations: 0 / 1.218 GB, free: 3.59 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.7129, allocations: 4 kB / 1.218 GB, free: 3.586 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.905e-05/0.713, allocations: 19.94 kB / 1.218 GB, free: 3.566 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.713, allocations: 4 kB / 1.218 GB, free: 3.562 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006134/0.7136, allocations: 119.8 kB / 1.218 GB, free: 3.445 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.122e-05/0.7137, allocations: 27.97 kB / 1.218 GB, free: 3.418 MB / 0.9356 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.booPul.y,$PRE.pul3.booPul.y,pul3.y,$whenCondition5,$whenCondition6,pul1.booPul.y,$PRE.pul1.booPul.y,pul1.y,$whenCondition3,$whenCondition4,pul2.booPul.y,$PRE.pul2.booPul.y,pul2.y,$whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001408/0.7138, allocations: 149.8 kB / 1.218 GB, free: 3.262 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.138e-05/0.7138, allocations: 19.72 kB / 1.218 GB, free: 3.242 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.056e-05/0.7139, allocations: 21.23 kB / 1.218 GB, free: 3.219 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.7139, allocations: 4 kB / 1.218 GB, free: 3.215 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.7139, allocations: 4 kB / 1.218 GB, free: 3.211 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.7139, allocations: 3.938 kB / 1.218 GB, free: 3.207 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002068/0.7141, allocations: 265.5 kB / 1.218 GB, free: 2.898 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.7141, allocations: 0 / 1.218 GB, free: 2.898 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.827e-05/0.7142, allocations: 11.94 kB / 1.218 GB, free: 2.887 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.7142, allocations: 3.938 kB / 1.218 GB, free: 2.883 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.7142, allocations: 11.98 kB / 1.218 GB, free: 2.871 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.073e-06/0.7142, allocations: 0 / 1.218 GB, free: 2.871 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.7142, allocations: 4 kB / 1.218 GB, free: 2.867 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000253/0.7145, allocations: 216.1 kB / 1.219 GB, free: 2.629 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.49e-05/0.7145, allocations: 100.9 kB / 1.219 GB, free: 2.512 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.562e-05/0.7146, allocations: 4 kB / 1.219 GB, free: 2.508 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.291e-05/0.7146, allocations: 8 kB / 1.219 GB, free: 2.5 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.904e-05/0.7147, allocations: 19.91 kB / 1.219 GB, free: 2.48 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.868e-06/0.7147, allocations: 8 kB / 1.219 GB, free: 2.473 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001351/0.7148, allocations: 168.5 kB / 1.219 GB, free: 2.305 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7148, allocations: 0 / 1.219 GB, free: 2.305 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003101/0.7152, allocations: 67.94 kB / 1.219 GB, free: 2.238 MB / 0.9356 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000146/0.7153, allocations: 123.2 kB / 1.219 GB, free: 2.109 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006168/0.7159, allocations: 0.5249 MB / 1.22 GB, free: 1.535 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.7159, allocations: 0 / 1.22 GB, free: 1.535 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001273/0.7161, allocations: 87.91 kB / 1.22 GB, free: 1.449 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004098/0.7165, allocations: 58.38 kB / 1.22 GB, free: 1.395 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005277/0.717, allocations: 376.4 kB / 1.22 GB, free: 0.9883 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002296/0.7173, allocations: 0.7281 MB / 1.221 GB, free: 240 kB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.064e-05/0.7173, allocations: 23.44 kB / 1.221 GB, free: 216 kB / 0.9356 GB Notification: Performance of SimCode: time 1.633e-06/0.7173, allocations: 0 / 1.221 GB, free: 216 kB / 0.9356 GB Notification: Performance of Templates: time 0.005219/0.7225, allocations: 3.509 MB / 1.224 GB, free: 12.74 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile (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 & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches