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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001469/0.001469, allocations: 110.5 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.001666/0.001666, allocations: 189.2 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.644/1.644, 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 10.1.1-maint.10.0.x/package.mo): time 2.889/2.889, allocations: 437.1 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002199/0.002199, allocations: 63.89 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.1/1.102, allocations: 151.6 MB / 1.167 GB, free: 3.883 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.00272/1.105, allocations: 0.9794 MB / 1.168 GB, free: 2.906 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002421/1.108, allocations: 1.436 MB / 1.17 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.869e-05/1.108, allocations: 4 kB / 1.17 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 8.13e-05/1.108, allocations: 15.75 kB / 1.17 GB, free: 1.434 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001897/1.108, allocations: 55.58 kB / 1.17 GB, free: 1.379 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001239/1.109, allocations: 452.2 kB / 1.17 GB, free: 0.9492 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0006507/1.11, allocations: 0.5147 MB / 1.171 GB, free: 444 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001776/1.11, allocations: 45.67 kB / 1.171 GB, free: 396 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002263/1.11, allocations: 179.6 kB / 1.171 GB, free: 216 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002866/1.111, allocations: 171.4 kB / 1.171 GB, free: 44 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.000109/1.111, allocations: 48.05 kB / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001384/1.111, allocations: 63.94 kB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 5.044e-05/1.111, allocations: 31.86 kB / 1.171 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002117/1.111, allocations: 167.4 kB / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0006413/1.112, allocations: 499 kB / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/1.112, allocations: 8 kB / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of FrontEnd: time 4.448e-06/1.112, allocations: 0 / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.165e-06/1.112, allocations: 3.938 kB / 1.172 GB, free: 15.24 MB / 0.9044 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.00109/1.113, allocations: 0.6416 MB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/1.113, allocations: 11.97 kB / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001223/1.113, allocations: 32.8 kB / 1.173 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002722/1.113, allocations: 219.2 kB / 1.173 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.839e-05/1.113, allocations: 20.36 kB / 1.173 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.705e-05/1.114, allocations: 20.38 kB / 1.173 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002466/1.114, allocations: 125.5 kB / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/1.114, allocations: 192 / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.365e-05/1.114, allocations: 11.94 kB / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/1.114, allocations: 0 / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001385/1.114, allocations: 59.89 kB / 1.173 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001204/1.115, allocations: 0.8679 MB / 1.174 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002149/1.115, allocations: 126.4 kB / 1.174 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.868e-05/1.116, allocations: 51.48 kB / 1.174 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/1.116, allocations: 0 / 1.174 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003538/1.116, allocations: 182.5 kB / 1.174 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=16): time 3.937e-06/1.116, allocations: 0 / 1.174 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16): time 0.0005853/1.116, allocations: 221.4 kB / 1.174 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001663/1.117, allocations: 140.4 kB / 1.174 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003443/1.117, allocations: 240.9 kB / 1.175 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.059e-05/1.117, allocations: 37.7 kB / 1.175 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001679/1.117, allocations: 132.5 kB / 1.175 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.276e-05/1.117, allocations: 35.72 kB / 1.175 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001912/1.118, allocations: 93.66 kB / 1.175 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002248/1.118, allocations: 334.8 kB / 1.175 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000325/1.118, allocations: 144.2 kB / 1.175 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003994/1.118, allocations: 230.7 kB / 1.176 GB, free: 10.94 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005381/1.119, allocations: 360.9 kB / 1.176 GB, free: 10.53 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/1.119, allocations: 4 kB / 1.176 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0011/1.12, allocations: 0.5509 MB / 1.177 GB, free: 9.941 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001371/1.12, allocations: 138.8 kB / 1.177 GB, free: 9.781 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/1.12, allocations: 4 kB / 1.177 GB, free: 9.777 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.341e-05/1.12, allocations: 4 kB / 1.177 GB, free: 9.773 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/1.12, allocations: 19.92 kB / 1.177 GB, free: 9.754 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.422e-05/1.12, allocations: 4 kB / 1.177 GB, free: 9.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006426/1.121, allocations: 115.7 kB / 1.177 GB, free: 9.637 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.319e-05/1.121, allocations: 31.97 kB / 1.177 GB, free: 9.605 MB / 0.9044 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.000214/1.121, allocations: 150.4 kB / 1.177 GB, free: 9.449 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.018e-05/1.121, allocations: 23.86 kB / 1.177 GB, free: 9.426 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.987e-05/1.122, allocations: 21.23 kB / 1.177 GB, free: 9.395 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/1.122, allocations: 8 kB / 1.177 GB, free: 9.387 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/1.122, allocations: 0 / 1.177 GB, free: 9.387 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/1.122, allocations: 3.938 kB / 1.177 GB, free: 9.383 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003518/1.122, allocations: 265.4 kB / 1.177 GB, free: 9.074 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/1.122, allocations: 0.9375 kB / 1.177 GB, free: 9.074 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.07e-05/1.122, allocations: 11.98 kB / 1.177 GB, free: 9.062 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/1.122, allocations: 4 kB / 1.177 GB, free: 9.059 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/1.122, allocations: 0 / 1.177 GB, free: 9.059 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/1.122, allocations: 4 kB / 1.177 GB, free: 9.055 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/1.122, allocations: 3.938 kB / 1.177 GB, free: 9.051 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003605/1.122, allocations: 221.8 kB / 1.178 GB, free: 8.809 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.894e-05/1.123, allocations: 96.97 kB / 1.178 GB, free: 8.695 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.43e-05/1.123, allocations: 11.97 kB / 1.178 GB, free: 8.684 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.922e-05/1.123, allocations: 4 kB / 1.178 GB, free: 8.68 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.571e-05/1.123, allocations: 19.92 kB / 1.178 GB, free: 8.66 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.736e-05/1.123, allocations: 12 kB / 1.178 GB, free: 8.648 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001957/1.123, allocations: 168.5 kB / 1.178 GB, free: 8.48 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/1.123, allocations: 3.938 kB / 1.178 GB, free: 8.477 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003276/1.123, allocations: 67.94 kB / 1.178 GB, free: 8.41 MB / 0.9044 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.0002361/1.123, allocations: 113.7 kB / 1.178 GB, free: 8.293 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0008696/1.124, allocations: 0.525 MB / 1.179 GB, free: 7.719 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/1.124, allocations: 0 / 1.179 GB, free: 7.719 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001385/1.125, allocations: 71.86 kB / 1.179 GB, free: 7.648 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004557/1.125, allocations: 64.56 kB / 1.179 GB, free: 7.586 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000736/1.126, allocations: 346.5 kB / 1.179 GB, free: 7.215 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004561/1.126, allocations: 0.732 MB / 1.18 GB, free: 6.457 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 7.046e-05/1.126, allocations: 17.55 kB / 1.18 GB, free: 6.438 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.92e-05/1.126, allocations: 23.42 kB / 1.18 GB, free: 6.414 MB / 0.9044 GB Notification: Performance of SimCode: time 2.71e-07/1.126, allocations: 3.938 kB / 1.18 GB, free: 6.41 MB / 0.9044 GB Notification: Performance of Templates: time 0.01033/1.137, allocations: 4.582 MB / 1.184 GB, free: 1.898 MB / 0.9044 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 -s cvode -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/jenkins1/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