Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002407/0.002407, allocations: 87.69 kB / 20.24 MB, free: 4.184 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002725/0.002725, allocations: 157.3 kB / 23.55 MB, free: 0.875 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.609/1.609, allocations: 177.1 MB / 203.9 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.033/3.033, allocations: 377.8 MB / 0.6232 GB, free: 8.531 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.565e-06/2.565e-06, allocations: 1.094 kB / 0.8108 GB, free: 2.09 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.214e-05/3.471e-05, allocations: 8.156 kB / 0.8108 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002609/0.002644, allocations: 0.9509 MB / 0.8118 GB, free: 1.152 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002353/0.004997, allocations: 1.468 MB / 0.8132 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.028e-05/0.005067, allocations: 0.5625 kB / 0.8132 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.607e-05/0.005113, allocations: 11.81 kB / 0.8132 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.000178/0.005291, allocations: 61.11 kB / 0.8133 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009941/0.006285, allocations: 432.6 kB / 0.8137 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0006755/0.006961, allocations: 492.3 kB / 0.8141 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.007086, allocations: 33.88 kB / 0.8142 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003701/0.007456, allocations: 263.6 kB / 0.8144 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002886/0.007745, allocations: 137.1 kB / 0.8146 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 9.859e-05/0.007843, allocations: 52 kB / 0.8146 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.007978, allocations: 55.98 kB / 0.8147 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.427e-05/0.008042, allocations: 43.78 kB / 0.8147 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001986/0.008241, allocations: 133.3 kB / 0.8148 GB, free: 14 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0007195/0.00896, allocations: 0.5572 MB / 0.8154 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.237e-06/0.008964, allocations: 0 / 0.8154 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.212e-06/0.008966, allocations: 4 kB / 0.8154 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.008972, allocations: 5.375 kB / 0.8154 GB, free: 13.43 MB / 0.7761 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.001212/0.01018, allocations: 0.666 MB / 0.816 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.01023, allocations: 12.03 kB / 0.816 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001216/0.01035, allocations: 37.45 kB / 0.8161 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002429/0.01059, allocations: 175.7 kB / 0.8162 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.082e-05/0.01064, allocations: 21.42 kB / 0.8163 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.894e-05/0.01069, allocations: 20.38 kB / 0.8163 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002532/0.01095, allocations: 136.9 kB / 0.8164 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.01096, allocations: 4.75 kB / 0.8164 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.01097, allocations: 384 / 0.8164 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.01098, allocations: 6.344 kB / 0.8164 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000134/0.01111, allocations: 59.91 kB / 0.8165 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00121/0.01232, allocations: 0.9376 MB / 0.8174 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002426/0.01257, allocations: 153.5 kB / 0.8175 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.01267, allocations: 64.11 kB / 0.8176 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/0.01269, allocations: 4 kB / 0.8176 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003054/0.01299, allocations: 197.2 kB / 0.8178 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 1.392e-06/0.01299, allocations: 0.625 kB / 0.8178 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.0005679/0.01356, allocations: 245.3 kB / 0.818 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.01367, allocations: 133.6 kB / 0.8182 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003752/0.01404, allocations: 336.3 kB / 0.8185 GB, free: 9.949 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 5.515e-05/0.0141, allocations: 41.64 kB / 0.8185 GB, free: 9.902 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001689/0.01427, allocations: 188 kB / 0.8187 GB, free: 9.715 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.841e-05/0.01431, allocations: 39.73 kB / 0.8187 GB, free: 9.676 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002191/0.01453, allocations: 108 kB / 0.8188 GB, free: 9.562 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002952/0.01483, allocations: 0.5157 MB / 0.8193 GB, free: 9.035 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004661/0.01529, allocations: 304.2 kB / 0.8196 GB, free: 8.711 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005956/0.01589, allocations: 429.6 kB / 0.82 GB, free: 8.219 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000623/0.01651, allocations: 438 kB / 0.8205 GB, free: 7.719 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.01652, allocations: 0 / 0.8205 GB, free: 7.719 MB / 0.7761 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001311/0.01783, allocations: 0.752 MB / 0.8212 GB, free: 6.914 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001281/0.01796, allocations: 134.8 kB / 0.8213 GB, free: 6.758 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.01796, allocations: 4 kB / 0.8213 GB, free: 6.754 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.01798, allocations: 4 kB / 0.8213 GB, free: 6.75 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.058e-05/0.01807, allocations: 15.94 kB / 0.8213 GB, free: 6.734 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.01808, allocations: 0 / 0.8213 GB, free: 6.734 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005432/0.01862, allocations: 91.2 kB / 0.8214 GB, free: 6.648 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.738e-05/0.01869, allocations: 27.97 kB / 0.8215 GB, free: 6.621 MB / 0.7761 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.0002158/0.01891, allocations: 197.7 kB / 0.8217 GB, free: 6.418 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.044e-05/0.01896, allocations: 27.89 kB / 0.8217 GB, free: 6.391 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.756e-05/0.019, allocations: 21.84 kB / 0.8217 GB, free: 6.371 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.01901, allocations: 0.5625 kB / 0.8217 GB, free: 6.371 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.01902, allocations: 4 kB / 0.8217 GB, free: 6.367 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.01902, allocations: 4.547 kB / 0.8217 GB, free: 6.363 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003031/0.01933, allocations: 217.8 kB / 0.8219 GB, free: 6.117 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.01933, allocations: 4 kB / 0.8219 GB, free: 6.113 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.087e-05/0.01938, allocations: 19.92 kB / 0.8219 GB, free: 6.094 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.01938, allocations: 0 / 0.8219 GB, free: 6.094 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.01939, allocations: 4.562 kB / 0.8219 GB, free: 6.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.0194, allocations: 0.8125 kB / 0.8219 GB, free: 6.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/0.0194, allocations: 8.922 kB / 0.822 GB, free: 6.082 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003802/0.01978, allocations: 251.2 kB / 0.8222 GB, free: 5.801 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.914e-05/0.01982, allocations: 20.83 kB / 0.8222 GB, free: 5.781 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.047e-05/0.01985, allocations: 8 kB / 0.8222 GB, free: 5.773 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.863e-05/0.0199, allocations: 5.281 kB / 0.8222 GB, free: 5.77 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.855e-05/0.01996, allocations: 19.97 kB / 0.8222 GB, free: 5.75 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/0.01998, allocations: 7.984 kB / 0.8223 GB, free: 5.742 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0005782/0.02056, allocations: 221.1 kB / 0.8225 GB, free: 5.531 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.1e-07/0.02056, allocations: 3.812 kB / 0.8225 GB, free: 5.531 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003427/0.0209, allocations: 75.89 kB / 0.8225 GB, free: 5.457 MB / 0.7761 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.0001949/0.02109, allocations: 112.3 kB / 0.8226 GB, free: 5.336 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0009822/0.02208, allocations: 0.7075 MB / 0.8233 GB, free: 4.551 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.02208, allocations: 4.938 kB / 0.8233 GB, free: 4.547 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001453/0.02222, allocations: 71.59 kB / 0.8234 GB, free: 4.473 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004564/0.02268, allocations: 64.56 kB / 0.8235 GB, free: 4.414 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000696/0.02337, allocations: 373 kB / 0.8238 GB, free: 4.012 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001294/0.0235, allocations: 119.6 kB / 0.8239 GB, free: 3.879 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.65e-05/0.02357, allocations: 23.61 kB / 0.824 GB, free: 3.855 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.522e-05/0.02362, allocations: 16.5 kB / 0.824 GB, free: 3.836 MB / 0.7761 GB Notification: Performance of SimCode: time 6.31e-07/0.02362, allocations: 0 / 0.824 GB, free: 3.836 MB / 0.7761 GB Notification: Performance of Templates: time 0.01056/0.03418, allocations: 5.072 MB / 0.8289 GB, free: 14.89 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.291969455080107]