Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_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_10_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.0009315/0.0009316, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.001146/0.001146, allocations: 168.7 kB / 15.95 MB, free: 204 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.523/1.523, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.717/2.717, allocations: 437.8 MB / 0.7117 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004548/0.0004549, allocations: 8 kB / 0.8722 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7703/0.7708, allocations: 153.8 MB / 1.022 GB, free: 192 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001571/0.7725, allocations: 0.6517 MB / 1.023 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002353/0.7749, allocations: 1.417 MB / 1.024 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001508/0.775, allocations: 0 / 1.024 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 5.011e-05/0.7751, allocations: 11.81 kB / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002238/0.7753, allocations: 39.69 kB / 1.024 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001524/0.7769, allocations: 386.3 kB / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0007689/0.7776, allocations: 379.2 kB / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002118/0.7779, allocations: 41.83 kB / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004215/0.7783, allocations: 143.6 kB / 1.025 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000317/0.7786, allocations: 119.5 kB / 1.026 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.000118/0.7788, allocations: 20 kB / 1.026 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001678/0.7789, allocations: 35.92 kB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.718e-05/0.779, allocations: 23.86 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.00015/0.7791, allocations: 69.58 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000498/0.7796, allocations: 381.1 kB / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.7797, allocations: 0 / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.763e-06/0.7797, allocations: 0 / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.476e-05/0.7797, allocations: 0 / 1.026 GB, free: 12.49 MB / 0.7794 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.001068/0.7808, allocations: 0.5676 MB / 1.027 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.7808, allocations: 12.56 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002017/0.781, allocations: 27.81 kB / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003107/0.7814, allocations: 221.7 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.762e-05/0.7814, allocations: 19.95 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/0.7815, allocations: 16 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002899/0.7818, allocations: 121 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.7819, allocations: 3.938 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.844e-05/0.7819, allocations: 15.98 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.7819, allocations: 0 / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001495/0.7821, allocations: 47.98 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001332/0.7834, allocations: 0.8718 MB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002031/0.7836, allocations: 122.4 kB / 1.028 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.473e-05/0.7837, allocations: 51.48 kB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.7837, allocations: 0 / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003325/0.7841, allocations: 180.6 kB / 1.028 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.914e-06/0.7841, allocations: 0 / 1.028 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.0006148/0.7847, allocations: 237.9 kB / 1.028 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001134/0.7848, allocations: 136.5 kB / 1.029 GB, free: 9.562 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003284/0.7852, allocations: 236.9 kB / 1.029 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 7.638e-05/0.7853, allocations: 37.7 kB / 1.029 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.7854, allocations: 128.5 kB / 1.029 GB, free: 9.148 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.638e-05/0.7855, allocations: 39.55 kB / 1.029 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4e-05/0.7855, allocations: 12 kB / 1.029 GB, free: 9.098 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001795/0.7857, allocations: 330.8 kB / 1.029 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003219/0.7861, allocations: 140.2 kB / 1.029 GB, free: 8.629 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003687/0.7864, allocations: 233.5 kB / 1.03 GB, free: 8.367 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003792/0.7868, allocations: 254.8 kB / 1.03 GB, free: 8.094 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/0.7868, allocations: 0 / 1.03 GB, free: 8.094 MB / 0.7794 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001044/0.7879, allocations: 0.5468 MB / 1.03 GB, free: 7.516 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001255/0.788, allocations: 138.7 kB / 1.031 GB, free: 7.355 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/0.788, allocations: 4 kB / 1.031 GB, free: 7.352 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/0.7881, allocations: 4 kB / 1.031 GB, free: 7.348 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.7882, allocations: 15.95 kB / 1.031 GB, free: 7.332 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.776e-05/0.7882, allocations: 7.938 kB / 1.031 GB, free: 7.324 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007678/0.789, allocations: 165.8 kB / 1.031 GB, free: 7.164 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.956e-05/0.7891, allocations: 23.98 kB / 1.031 GB, free: 7.141 MB / 0.7794 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.0002454/0.7893, allocations: 153.8 kB / 1.031 GB, free: 6.98 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.742e-05/0.7894, allocations: 19.72 kB / 1.031 GB, free: 6.961 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.391e-05/0.7894, allocations: 25.23 kB / 1.031 GB, free: 6.938 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.7895, allocations: 0 / 1.031 GB, free: 6.938 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.502e-05/0.7895, allocations: 7.953 kB / 1.031 GB, free: 6.93 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.7895, allocations: 3.938 kB / 1.031 GB, free: 6.926 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000265/0.7898, allocations: 257.5 kB / 1.031 GB, free: 6.625 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.7898, allocations: 0 / 1.031 GB, free: 6.625 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.211e-05/0.7898, allocations: 15.98 kB / 1.031 GB, free: 6.609 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.7898, allocations: 0 / 1.031 GB, free: 6.609 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.7899, allocations: 4 kB / 1.031 GB, free: 6.605 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.119e-06/0.7899, allocations: 4 kB / 1.031 GB, free: 6.602 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.7899, allocations: 0 / 1.031 GB, free: 6.602 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003087/0.7902, allocations: 227.2 kB / 1.031 GB, free: 6.352 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.545e-05/0.7903, allocations: 92.92 kB / 1.032 GB, free: 6.242 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.089e-05/0.7903, allocations: 7.984 kB / 1.032 GB, free: 6.234 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.226e-05/0.7904, allocations: 8 kB / 1.032 GB, free: 6.227 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.481e-05/0.7904, allocations: 19.94 kB / 1.032 GB, free: 6.207 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.7904, allocations: 7.984 kB / 1.032 GB, free: 6.199 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001622/0.7906, allocations: 164.5 kB / 1.032 GB, free: 6.039 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.4e-07/0.7906, allocations: 0 / 1.032 GB, free: 6.039 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003676/0.791, allocations: 75.83 kB / 1.032 GB, free: 5.965 MB / 0.7794 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.0002068/0.7912, allocations: 119.9 kB / 1.032 GB, free: 5.836 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007201/0.7919, allocations: 0.5248 MB / 1.032 GB, free: 5.262 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.7919, allocations: 0 / 1.032 GB, free: 5.262 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.7921, allocations: 59.92 kB / 1.033 GB, free: 5.203 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004533/0.7925, allocations: 65.81 kB / 1.033 GB, free: 5.141 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007301/0.7933, allocations: 379.4 kB / 1.033 GB, free: 4.734 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003567/0.7936, allocations: 0.7245 MB / 1.034 GB, free: 3.984 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.264e-05/0.7937, allocations: 29.47 kB / 1.034 GB, free: 3.957 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.445e-05/0.7938, allocations: 19.44 kB / 1.034 GB, free: 3.938 MB / 0.7794 GB Notification: Performance of SimCode: time 3.1e-07/0.7938, allocations: 0 / 1.034 GB, free: 3.938 MB / 0.7794 GB Notification: Performance of Templates: time 0.0103/0.8041, allocations: 4.171 MB / 1.038 GB, free: 15.84 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches