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.001659/0.001659, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001906/0.001906, allocations: 187 kB / 17.34 MB, free: 5.719 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.424/1.424, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.682/2.682, allocations: 461.9 MB / 0.7354 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 63.91 kB / 1.055 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9982/0.9997, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.002661/1.002, allocations: 0.7182 MB / 1.209 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001976/1.004, allocations: 1.135 MB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.742e-05/1.004, allocations: 0 / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.681e-05/1.005, allocations: 3.938 kB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001242/1.005, allocations: 23.86 kB / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006592/1.005, allocations: 139 kB / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002564/1.006, allocations: 135.7 kB / 1.211 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/1.006, allocations: 8 kB / 1.211 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000134/1.006, allocations: 47.91 kB / 1.211 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001338/1.006, allocations: 39.88 kB / 1.211 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.752e-05/1.006, allocations: 12 kB / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.498e-05/1.006, allocations: 31.92 kB / 1.211 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.536e-05/1.006, allocations: 11.94 kB / 1.211 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.758e-05/1.006, allocations: 47.83 kB / 1.211 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002564/1.007, allocations: 123.7 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/1.007, allocations: 4 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.543e-06/1.007, allocations: 0 / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.35e-06/1.007, allocations: 0 / 1.211 GB, free: 11.18 MB / 0.9356 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.0006724/1.007, allocations: 398.7 kB / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/1.007, allocations: 8.031 kB / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.045e-05/1.007, allocations: 4.938 kB / 1.211 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000189/1.008, allocations: 180.2 kB / 1.211 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/1.008, allocations: 4.312 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.062e-05/1.008, allocations: 16.31 kB / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/1.008, allocations: 38.25 kB / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/1.008, allocations: 192 / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/1.008, allocations: 7.938 kB / 1.211 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/1.008, allocations: 0 / 1.211 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.73e-05/1.008, allocations: 15.94 kB / 1.211 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000557/1.008, allocations: 328.8 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 8.342e-05/1.009, allocations: 38.44 kB / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.124e-05/1.009, allocations: 12.92 kB / 1.212 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/1.009, allocations: 0 / 1.212 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000245/1.009, allocations: 63.39 kB / 1.212 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.563e-06/1.009, allocations: 0 / 1.212 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0002774/1.009, allocations: 81.59 kB / 1.212 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/1.009, allocations: 55.41 kB / 1.212 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001395/1.009, allocations: 125.8 kB / 1.212 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.525e-05/1.009, allocations: 25.7 kB / 1.212 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.366e-05/1.009, allocations: 92.12 kB / 1.212 GB, free: 9.504 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.276e-05/1.01, allocations: 11.91 kB / 1.212 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.541e-05/1.01, allocations: 33.7 kB / 1.212 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001577/1.01, allocations: 318.8 kB / 1.213 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/1.01, allocations: 35.98 kB / 1.213 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001166/1.01, allocations: 58.55 kB / 1.213 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/1.01, allocations: 96.14 kB / 1.213 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/1.01, allocations: 4 kB / 1.213 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000314/1.01, allocations: 159.3 kB / 1.213 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.433e-05/1.011, allocations: 41.69 kB / 1.213 GB, free: 8.703 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/1.011, allocations: 8 kB / 1.213 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/1.011, allocations: 0 / 1.213 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.604e-05/1.011, allocations: 0 / 1.213 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/1.011, allocations: 4 kB / 1.213 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002242/1.011, allocations: 27.91 kB / 1.213 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.885e-05/1.011, allocations: 8.062 kB / 1.213 GB, free: 8.656 MB / 0.9356 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.0001157/1.011, allocations: 125.7 kB / 1.213 GB, free: 8.523 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.021e-05/1.011, allocations: 11.84 kB / 1.213 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.688e-05/1.011, allocations: 7.906 kB / 1.213 GB, free: 8.492 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/1.011, allocations: 4 kB / 1.213 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/1.011, allocations: 0 / 1.213 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/1.011, allocations: 0 / 1.213 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001812/1.011, allocations: 173.6 kB / 1.213 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/1.011, allocations: 0 / 1.213 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.852e-05/1.011, allocations: 8 kB / 1.213 GB, free: 8.262 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/1.011, allocations: 0 / 1.213 GB, free: 8.262 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/1.011, allocations: 0 / 1.213 GB, free: 8.262 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/1.011, allocations: 3.938 kB / 1.213 GB, free: 8.258 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/1.011, allocations: 4 kB / 1.213 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001628/1.012, allocations: 89.05 kB / 1.213 GB, free: 8.148 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.189e-05/1.012, allocations: 85.02 kB / 1.214 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/1.012, allocations: 0 / 1.214 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.344e-05/1.012, allocations: 8 kB / 1.214 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.619e-05/1.012, allocations: 0 / 1.214 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/1.012, allocations: 7.938 kB / 1.214 GB, free: 8.031 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.431e-05/1.012, allocations: 99.27 kB / 1.214 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/1.012, allocations: 0 / 1.214 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002471/1.012, allocations: 23.98 kB / 1.214 GB, free: 7.91 MB / 0.9356 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.0002104/1.012, allocations: 99.25 kB / 1.214 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002755/1.013, allocations: 135.4 kB / 1.214 GB, free: 7.66 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/1.013, allocations: 0 / 1.214 GB, free: 7.66 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.916e-05/1.013, allocations: 23.92 kB / 1.214 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/1.013, allocations: 19.92 kB / 1.214 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000464/1.014, allocations: 163.8 kB / 1.214 GB, free: 7.422 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003437/1.014, allocations: 0.6846 MB / 1.215 GB, free: 6.711 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.125e-05/1.014, allocations: 15.5 kB / 1.215 GB, free: 6.695 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/1.014, allocations: 0 / 1.215 GB, free: 6.695 MB / 0.9356 GB Notification: Performance of Templates: time 0.003666/1.018, allocations: 1.17 MB / 1.216 GB, free: 5.539 MB / 0.9356 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/jenkins1/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