Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.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.002186/0.002186, allocations: 79.7 kB / 20.23 MB, free: 4.191 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.002082/0.002082, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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.62/1.62, allocations: 177.1 MB / 203.9 MB, free: 5.598 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.095/3.095, allocations: 377.8 MB / 0.6232 GB, free: 8.523 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.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pulse.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pulse.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.796e-06/2.796e-06, allocations: 0 / 0.8108 GB, free: 0.8711 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.8e-05/4.08e-05, allocations: 3.375 kB / 0.8109 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.002382/0.002423, allocations: 0.7217 MB / 0.8116 GB, free: 176 kB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002024/0.004447, allocations: 1.165 MB / 0.8127 GB, free: 15 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.837e-05/0.004505, allocations: 0 / 0.8127 GB, free: 15 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.966e-05/0.004545, allocations: 6.062 kB / 0.8127 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001274/0.004672, allocations: 12.09 kB / 0.8127 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005731/0.005246, allocations: 121.5 kB / 0.8128 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002231/0.005469, allocations: 131.7 kB / 0.813 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.94e-05/0.005558, allocations: 11.94 kB / 0.813 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001282/0.005686, allocations: 59.95 kB / 0.813 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.00581, allocations: 40.66 kB / 0.8131 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.338e-05/0.005844, allocations: 12 kB / 0.8131 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 8.072e-05/0.005924, allocations: 32.64 kB / 0.8131 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.708e-05/0.005951, allocations: 7.938 kB / 0.8131 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.997e-05/0.006021, allocations: 33.28 kB / 0.8131 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002639/0.006285, allocations: 151.6 kB / 0.8133 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.006289, allocations: 0 / 0.8133 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.152e-06/0.00629, allocations: 1.375 kB / 0.8133 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.006295, allocations: 0 / 0.8133 GB, free: 14.39 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0008111/0.007106, allocations: 429.8 kB / 0.8137 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.00715, allocations: 8.031 kB / 0.8137 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.252e-05/0.007223, allocations: 13.56 kB / 0.8137 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001682/0.007391, allocations: 124.5 kB / 0.8138 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.007413, allocations: 5.281 kB / 0.8138 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/0.007435, allocations: 8.375 kB / 0.8139 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.007546, allocations: 42.91 kB / 0.8139 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.007555, allocations: 192 / 0.8139 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.007564, allocations: 1 kB / 0.8139 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.007568, allocations: 384 / 0.8139 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.338e-05/0.007622, allocations: 21.12 kB / 0.8139 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005232/0.008145, allocations: 319.7 kB / 0.8142 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 9.512e-05/0.00824, allocations: 41.23 kB / 0.8143 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.36e-05/0.008274, allocations: 19.73 kB / 0.8143 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.008288, allocations: 4 kB / 0.8143 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001431/0.008431, allocations: 68.98 kB / 0.8143 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.008432, allocations: 0 / 0.8143 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4): time 0.0002729/0.008705, allocations: 77.62 kB / 0.8144 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.622e-05/0.008762, allocations: 52.19 kB / 0.8145 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002053/0.008967, allocations: 205.8 kB / 0.8147 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.045e-05/0.008997, allocations: 27.23 kB / 0.8147 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.009112, allocations: 138.9 kB / 0.8148 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.273e-05/0.009135, allocations: 15.92 kB / 0.8148 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.214e-05/0.009217, allocations: 39.36 kB / 0.8149 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0003577/0.009575, allocations: 497.2 kB / 0.8154 GB, free: 12.08 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/0.009709, allocations: 81.67 kB / 0.8154 GB, free: 12 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001518/0.009861, allocations: 104.8 kB / 0.8155 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001534/0.01001, allocations: 105.9 kB / 0.8156 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.01002, allocations: 0.5625 kB / 0.8156 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003585/0.01038, allocations: 217.5 kB / 0.8158 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.434e-05/0.01043, allocations: 42.45 kB / 0.8159 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.01043, allocations: 0 / 0.8159 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.01045, allocations: 0.9375 kB / 0.8159 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.323e-05/0.01053, allocations: 11.94 kB / 0.8159 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.01054, allocations: 3.984 kB / 0.8159 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001662/0.01071, allocations: 21.83 kB / 0.8159 GB, free: 11.44 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.693e-05/0.01074, allocations: 8 kB / 0.8159 GB, free: 11.43 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.0001458/0.01088, allocations: 160.6 kB / 0.8161 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.642e-05/0.01091, allocations: 21.16 kB / 0.8161 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.944e-05/0.01094, allocations: 4 kB / 0.8161 GB, free: 11.24 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.01094, allocations: 4 kB / 0.8161 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.01094, allocations: 0.6562 kB / 0.8161 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.01095, allocations: 0 / 0.8161 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001468/0.01109, allocations: 137.3 kB / 0.8162 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.0111, allocations: 0 / 0.8162 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.952e-05/0.01112, allocations: 9.453 kB / 0.8162 GB, free: 11.06 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.01112, allocations: 0 / 0.8162 GB, free: 11.06 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.01113, allocations: 3.938 kB / 0.8162 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.01113, allocations: 80 / 0.8162 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.01113, allocations: 4.641 kB / 0.8163 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001629/0.01129, allocations: 104.3 kB / 0.8164 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.427e-05/0.01131, allocations: 5.781 kB / 0.8164 GB, free: 10.92 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.01133, allocations: 7.922 kB / 0.8164 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.072e-05/0.01135, allocations: 4 kB / 0.8164 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.084e-05/0.01138, allocations: 0 / 0.8164 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.01138, allocations: 0 / 0.8164 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001292/0.01151, allocations: 148 kB / 0.8165 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.01151, allocations: 0 / 0.8165 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002067/0.01172, allocations: 23.42 kB / 0.8165 GB, free: 10.75 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001963/0.01192, allocations: 99.23 kB / 0.8166 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003298/0.01225, allocations: 192.7 kB / 0.8168 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.01225, allocations: 0 / 0.8168 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.69e-05/0.0123, allocations: 20.06 kB / 0.8168 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002559/0.01255, allocations: 18.58 kB / 0.8168 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003975/0.01295, allocations: 152.1 kB / 0.817 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.939e-05/0.01303, allocations: 78.02 kB / 0.8171 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.099e-05/0.01306, allocations: 11.97 kB / 0.8171 GB, free: 10.11 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.583e-05/0.01308, allocations: 9.625 kB / 0.8171 GB, free: 10.1 MB / 0.7292 GB Notification: Performance of SimCode: time 5.41e-07/0.01309, allocations: 0 / 0.8171 GB, free: 10.1 MB / 0.7292 GB Notification: Performance of Templates: time 0.005234/0.01832, allocations: 1.499 MB / 0.8186 GB, free: 8.676 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.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.253508155001327]