Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pulse.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pulse.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007362/0.007362, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001349/0.001349, allocations: 198.7 kB / 16.68 MB, free: 5.93 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.544/1.544, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.571/2.571, allocations: 390.2 MB / 0.6648 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00233/0.00233, allocations: 71.88 kB / 0.9509 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.188/1.191, allocations: 140.4 MB / 1.088 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse): time 0.002694/1.193, allocations: 0.7247 MB / 1.089 GB, free: 5.062 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001879/1.195, allocations: 1.135 MB / 1.09 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.554e-05/1.195, allocations: 4.969 kB / 1.09 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.252e-05/1.196, allocations: 0.6094 kB / 1.09 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001429/1.196, allocations: 16.31 kB / 1.09 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007469/1.196, allocations: 133.1 kB / 1.09 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003257/1.197, allocations: 132.9 kB / 1.09 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/1.197, allocations: 11.41 kB / 1.09 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/1.197, allocations: 48.81 kB / 1.09 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001698/1.197, allocations: 47.2 kB / 1.09 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.577e-05/1.197, allocations: 16.31 kB / 1.09 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/1.197, allocations: 26.06 kB / 1.09 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.185e-05/1.197, allocations: 7.562 kB / 1.09 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.807e-05/1.197, allocations: 40.62 kB / 1.09 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004082/1.198, allocations: 134.8 kB / 1.09 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 1.009e-05/1.198, allocations: 1.125 kB / 1.09 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of FrontEnd: time 4.207e-06/1.198, allocations: 0 / 1.09 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.101e-05/1.198, allocations: 0 / 1.09 GB, free: 3.941 MB / 0.8575 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.0006581/1.199, allocations: 397.1 kB / 1.091 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.738e-05/1.199, allocations: 9.719 kB / 1.091 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.432e-05/1.199, allocations: 9.625 kB / 1.091 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/1.199, allocations: 183.4 kB / 1.091 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.446e-05/1.199, allocations: 4.516 kB / 1.091 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.159e-05/1.199, allocations: 5.562 kB / 1.091 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/1.199, allocations: 41.45 kB / 1.091 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/1.199, allocations: 192 / 1.091 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/1.199, allocations: 9.438 kB / 1.091 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/1.199, allocations: 1.156 kB / 1.091 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.458e-05/1.199, allocations: 12.55 kB / 1.091 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004637/1.2, allocations: 329.8 kB / 1.091 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.494e-05/1.2, allocations: 31.53 kB / 1.091 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.977e-05/1.2, allocations: 13.94 kB / 1.091 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.184e-05/1.2, allocations: 0 / 1.091 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000158/1.2, allocations: 68.92 kB / 1.091 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 4.248e-06/1.2, allocations: 4 kB / 1.091 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002789/1.2, allocations: 72.42 kB / 1.092 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/1.2, allocations: 52.31 kB / 1.092 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/1.2, allocations: 125.6 kB / 1.092 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/1.201, allocations: 32.58 kB / 1.092 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.949e-05/1.201, allocations: 93.81 kB / 1.092 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.648e-05/1.201, allocations: 6.078 kB / 1.092 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.906e-05/1.201, allocations: 33.59 kB / 1.092 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.837e-05/1.201, allocations: 322.2 kB / 1.092 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/1.201, allocations: 39.27 kB / 1.092 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/1.201, allocations: 56.11 kB / 1.092 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/1.201, allocations: 95.75 kB / 1.092 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/1.201, allocations: 0.5312 kB / 1.092 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003477/1.202, allocations: 165.5 kB / 1.092 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.893e-05/1.202, allocations: 39.3 kB / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/1.202, allocations: 1.344 kB / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/1.202, allocations: 5.328 kB / 1.093 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.55e-05/1.202, allocations: 3.516 kB / 1.093 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/1.202, allocations: 4.5 kB / 1.093 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002033/1.202, allocations: 28.72 kB / 1.093 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.644e-05/1.202, allocations: 6.766 kB / 1.093 GB, free: 1.883 MB / 0.8575 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.0001006/1.202, allocations: 124.1 kB / 1.093 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.537e-05/1.202, allocations: 6.875 kB / 1.093 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.341e-05/1.202, allocations: 6.938 kB / 1.093 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/1.202, allocations: 0.8125 kB / 1.093 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/1.202, allocations: 0.7812 kB / 1.093 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/1.202, allocations: 0.7969 kB / 1.093 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001304/1.202, allocations: 184.9 kB / 1.093 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/1.202, allocations: 1.922 kB / 1.093 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.57e-05/1.202, allocations: 1.844 kB / 1.093 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/1.202, allocations: 0 / 1.093 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/1.202, allocations: 5.406 kB / 1.093 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/1.202, allocations: 1.203 kB / 1.093 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/1.202, allocations: 0.75 kB / 1.093 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001434/1.203, allocations: 92.78 kB / 1.093 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.047e-05/1.203, allocations: 83.62 kB / 1.093 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/1.203, allocations: 1.266 kB / 1.093 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.936e-05/1.203, allocations: 1.125 kB / 1.093 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.079e-05/1.203, allocations: 7.922 kB / 1.093 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/1.203, allocations: 1.719 kB / 1.093 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.335e-05/1.203, allocations: 102.2 kB / 1.093 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/1.203, allocations: 0 / 1.093 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002734/1.203, allocations: 17.23 kB / 1.093 GB, free: 1.262 MB / 0.8575 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.0002163/1.203, allocations: 110.6 kB / 1.093 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002881/1.204, allocations: 133.4 kB / 1.093 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.204, allocations: 1.219 kB / 1.093 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.481e-05/1.204, allocations: 22.94 kB / 1.093 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002665/1.204, allocations: 23.7 kB / 1.093 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000338/1.204, allocations: 147 kB / 1.094 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001679/1.204, allocations: 0.6846 MB / 1.094 GB, free: 236 kB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.029e-05/1.204, allocations: 3.766 kB / 1.094 GB, free: 236 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.323e-05/1.204, allocations: 14.59 kB / 1.094 GB, free: 224 kB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/1.204, allocations: 1.125 kB / 1.094 GB, free: 224 kB / 0.8575 GB Notification: Performance of Templates: time 0.006861/1.211, allocations: 1.355 MB / 1.096 GB, free: 76 kB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches