Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pulse.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pulse.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008154/0.008154, allocations: 100.9 kB / 15.73 MB, free: 6.477 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.001608/0.001608, allocations: 191.5 kB / 16.67 MB, free: 6.391 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.605/1.605, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.036/3.036, allocations: 461.9 MB / 0.7348 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 64.12 kB / 1.054 GB, free: 7.094 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.438/0.4393, allocations: 157.4 MB / 1.208 GB, free: 9.582 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.002239/0.4416, allocations: 0.7218 MB / 1.208 GB, free: 8.859 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001685/0.4434, allocations: 1.123 MB / 1.21 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.998e-05/0.4434, allocations: 0 / 1.21 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.967e-05/0.4435, allocations: 7.875 kB / 1.21 GB, free: 7.715 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.747e-05/0.4436, allocations: 23.86 kB / 1.21 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004962/0.4441, allocations: 135.9 kB / 1.21 GB, free: 7.562 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000171/0.4443, allocations: 123.8 kB / 1.21 GB, free: 7.441 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.61e-05/0.4443, allocations: 11.98 kB / 1.21 GB, free: 7.43 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.144e-05/0.4444, allocations: 47.84 kB / 1.21 GB, free: 7.383 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.4445, allocations: 39.89 kB / 1.21 GB, free: 7.344 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.368e-05/0.4446, allocations: 15.94 kB / 1.21 GB, free: 7.328 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.264e-05/0.4447, allocations: 27.98 kB / 1.21 GB, free: 7.301 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.177e-05/0.4447, allocations: 11.98 kB / 1.21 GB, free: 7.289 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.885e-05/0.4448, allocations: 39.84 kB / 1.21 GB, free: 7.25 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001996/0.445, allocations: 131.7 kB / 1.21 GB, free: 7.121 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.445, allocations: 7.938 kB / 1.21 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.323e-06/0.445, allocations: 0 / 1.21 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.96e-06/0.445, allocations: 0 / 1.21 GB, free: 7.113 MB / 0.9669 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.0005243/0.4455, allocations: 400.9 kB / 1.211 GB, free: 6.664 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.4456, allocations: 12.62 kB / 1.211 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.87e-05/0.4456, allocations: 12.78 kB / 1.211 GB, free: 6.641 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.4458, allocations: 172.3 kB / 1.211 GB, free: 6.434 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.4458, allocations: 384 / 1.211 GB, free: 6.434 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.894e-05/0.4458, allocations: 4.375 kB / 1.211 GB, free: 6.43 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.479e-05/0.4459, allocations: 50.23 kB / 1.211 GB, free: 6.375 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.4459, allocations: 4.172 kB / 1.211 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.446, allocations: 7.938 kB / 1.211 GB, free: 6.363 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.446, allocations: 0 / 1.211 GB, free: 6.363 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.353e-05/0.446, allocations: 8 kB / 1.211 GB, free: 6.355 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004663/0.4465, allocations: 340.6 kB / 1.211 GB, free: 5.973 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.475e-05/0.4466, allocations: 31.02 kB / 1.211 GB, free: 5.934 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.859e-05/0.4466, allocations: 20.91 kB / 1.211 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.048e-05/0.4466, allocations: 0 / 1.211 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000116/0.4467, allocations: 59.39 kB / 1.211 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.041e-06/0.4467, allocations: 4 kB / 1.211 GB, free: 5.836 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0002055/0.447, allocations: 77.53 kB / 1.211 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.189e-05/0.447, allocations: 51.41 kB / 1.211 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.4471, allocations: 129.8 kB / 1.211 GB, free: 5.555 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.4472, allocations: 25.7 kB / 1.212 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.187e-05/0.4472, allocations: 88.14 kB / 1.212 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.7e-05/0.4473, allocations: 15.89 kB / 1.212 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.788e-05/0.4473, allocations: 33.69 kB / 1.212 GB, free: 5.379 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.4475, allocations: 318.8 kB / 1.212 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.761e-05/0.4476, allocations: 35.98 kB / 1.212 GB, free: 5.023 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.846e-05/0.4477, allocations: 58.55 kB / 1.212 GB, free: 4.957 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001248/0.4478, allocations: 96.14 kB / 1.212 GB, free: 4.848 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.4478, allocations: 0 / 1.212 GB, free: 4.848 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003132/0.4482, allocations: 163.2 kB / 1.212 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 5.743e-05/0.4482, allocations: 37.7 kB / 1.212 GB, free: 4.633 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/0.4482, allocations: 0 / 1.212 GB, free: 4.633 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.4483, allocations: 7.938 kB / 1.212 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.245e-05/0.4483, allocations: 0 / 1.212 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.4484, allocations: 4 kB / 1.212 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002129/0.4486, allocations: 27.95 kB / 1.212 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.086e-05/0.4486, allocations: 7.938 kB / 1.212 GB, free: 4.586 MB / 0.9669 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.0001307/0.4487, allocations: 125.8 kB / 1.212 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.351e-05/0.4488, allocations: 7.906 kB / 1.212 GB, free: 4.445 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.329e-05/0.4488, allocations: 11.89 kB / 1.213 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.4488, allocations: 4 kB / 1.213 GB, free: 4.422 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.4488, allocations: 0 / 1.213 GB, free: 4.422 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.4488, allocations: 0 / 1.213 GB, free: 4.422 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000181/0.449, allocations: 169.6 kB / 1.213 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.449, allocations: 0 / 1.213 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.522e-05/0.449, allocations: 4 kB / 1.213 GB, free: 4.203 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.449, allocations: 4 kB / 1.213 GB, free: 4.199 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.4491, allocations: 4.047 kB / 1.213 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.4491, allocations: 4 kB / 1.213 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.4491, allocations: 4 kB / 1.213 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001418/0.4492, allocations: 97.12 kB / 1.213 GB, free: 4.074 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.281e-05/0.4493, allocations: 81.11 kB / 1.213 GB, free: 3.977 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/0.4493, allocations: 3.984 kB / 1.213 GB, free: 3.973 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.064e-05/0.4493, allocations: 4 kB / 1.213 GB, free: 3.969 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.4494, allocations: 4 kB / 1.213 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.036e-06/0.4494, allocations: 4 kB / 1.213 GB, free: 3.961 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.919e-05/0.4495, allocations: 95.27 kB / 1.213 GB, free: 3.867 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4495, allocations: 0 / 1.213 GB, free: 3.867 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002181/0.4497, allocations: 20 kB / 1.213 GB, free: 3.848 MB / 0.9669 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.0002578/0.45, allocations: 111.2 kB / 1.213 GB, free: 3.73 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002705/0.4502, allocations: 135.3 kB / 1.213 GB, free: 3.586 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.4503, allocations: 8.125 kB / 1.213 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.086e-05/0.4503, allocations: 16 kB / 1.213 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002313/0.4505, allocations: 16.95 kB / 1.213 GB, free: 3.547 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003578/0.4509, allocations: 157.9 kB / 1.213 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/0.4512, allocations: 0.6807 MB / 1.214 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.945e-05/0.4512, allocations: 11.98 kB / 1.214 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.16e-05/0.4512, allocations: 11.44 kB / 1.214 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of SimCode: time 2.1e-07/0.4513, allocations: 0 / 1.214 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of Templates: time 0.004339/0.4556, allocations: 1.373 MB / 1.215 GB, free: 1.277 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches