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.001261/0.001261, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001342/0.001343, allocations: 187 kB / 17.34 MB, free: 5.766 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.378/1.378, 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 9.1.3-maint.9.1.x/package.mo): time 2.208/2.208, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001779/0.001779, allocations: 67.89 kB / 0.9516 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.968/0.9698, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse): time 0.002577/0.9725, allocations: 0.7209 MB / 1.089 GB, free: 5.047 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001906/0.9744, allocations: 1.139 MB / 1.09 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.48e-05/0.9745, allocations: 0 / 1.09 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.793e-05/0.9746, allocations: 5.531 kB / 1.09 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001136/0.9747, allocations: 8 kB / 1.09 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006513/0.9754, allocations: 132.7 kB / 1.091 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002733/0.9756, allocations: 129.9 kB / 1.091 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.9758, allocations: 18.95 kB / 1.091 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.9759, allocations: 48.97 kB / 1.091 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001695/0.9761, allocations: 41.25 kB / 1.091 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.289e-05/0.9762, allocations: 13.53 kB / 1.091 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001266/0.9763, allocations: 30.38 kB / 1.091 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.357e-05/0.9763, allocations: 7.094 kB / 1.091 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.219e-05/0.9764, allocations: 41.23 kB / 1.091 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003035/0.9767, allocations: 138.7 kB / 1.091 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.9767, allocations: 1.125 kB / 1.091 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.763e-06/0.9768, allocations: 4 kB / 1.091 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.9768, allocations: 0 / 1.091 GB, free: 3.926 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.0005315/0.9773, allocations: 396.9 kB / 1.091 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.9774, allocations: 9.594 kB / 1.091 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.255e-05/0.9774, allocations: 5.594 kB / 1.091 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.9775, allocations: 184 kB / 1.092 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.9776, allocations: 4.172 kB / 1.092 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.383e-05/0.9776, allocations: 5.531 kB / 1.092 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/0.9777, allocations: 41.98 kB / 1.092 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.9777, allocations: 4.188 kB / 1.092 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.9777, allocations: 9.031 kB / 1.092 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.9777, allocations: 1 kB / 1.092 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.932e-05/0.9778, allocations: 15.81 kB / 1.092 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000441/0.9782, allocations: 322.5 kB / 1.092 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.938e-05/0.9783, allocations: 31.75 kB / 1.092 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.42e-05/0.9784, allocations: 13.73 kB / 1.092 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.063e-06/0.9784, allocations: 4.516 kB / 1.092 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001762/0.9786, allocations: 69.23 kB / 1.092 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.9786, allocations: 0 / 1.092 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.000217/0.9788, allocations: 71.8 kB / 1.092 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.9788, allocations: 53.12 kB / 1.092 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.9789, allocations: 124.6 kB / 1.092 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.979, allocations: 32.25 kB / 1.092 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.69e-05/0.979, allocations: 97.56 kB / 1.092 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.241e-05/0.979, allocations: 6.828 kB / 1.092 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.133e-05/0.9791, allocations: 33.69 kB / 1.093 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.374e-05/0.9792, allocations: 314.9 kB / 1.093 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.925e-05/0.9793, allocations: 39.02 kB / 1.093 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.38e-05/0.9794, allocations: 59.28 kB / 1.093 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001128/0.9795, allocations: 99.77 kB / 1.093 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.9795, allocations: 0.75 kB / 1.093 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002862/0.9798, allocations: 161.8 kB / 1.093 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.037e-05/0.9798, allocations: 35.41 kB / 1.093 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.9798, allocations: 0.7812 kB / 1.093 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.9799, allocations: 1.281 kB / 1.093 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.425e-05/0.9799, allocations: 11.05 kB / 1.093 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.9799, allocations: 1.5 kB / 1.093 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001939/0.9801, allocations: 32.84 kB / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.302e-05/0.9802, allocations: 6.297 kB / 1.093 GB, free: 1.871 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 7.275e-05/0.9802, allocations: 119.6 kB / 1.093 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.375e-05/0.9803, allocations: 7.797 kB / 1.093 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.721e-05/0.9803, allocations: 6.203 kB / 1.093 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.9803, allocations: 1.578 kB / 1.093 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.9803, allocations: 0 / 1.093 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.9803, allocations: 5.078 kB / 1.093 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.678e-05/0.9804, allocations: 181.9 kB / 1.094 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.9804, allocations: 0 / 1.094 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.716e-05/0.9804, allocations: 6.859 kB / 1.094 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.9804, allocations: 0.5156 kB / 1.094 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-06/0.9805, allocations: 1.469 kB / 1.094 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.9805, allocations: 0.6562 kB / 1.094 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.9805, allocations: 0.7188 kB / 1.094 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001144/0.9806, allocations: 97.3 kB / 1.094 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.37e-05/0.9806, allocations: 83 kB / 1.094 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.9806, allocations: 1.453 kB / 1.094 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.882e-05/0.9807, allocations: 5.391 kB / 1.094 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.551e-05/0.9807, allocations: 3.016 kB / 1.094 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.092e-06/0.9807, allocations: 1.531 kB / 1.094 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.053e-05/0.9808, allocations: 103.4 kB / 1.094 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9808, allocations: 0 / 1.094 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000229/0.981, allocations: 17.62 kB / 1.094 GB, free: 1.25 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.0001604/0.9812, allocations: 120.8 kB / 1.094 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002142/0.9814, allocations: 134.7 kB / 1.094 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.9814, allocations: 0 / 1.094 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.118e-05/0.9814, allocations: 20.11 kB / 1.094 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002225/0.9817, allocations: 15.91 kB / 1.094 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003214/0.982, allocations: 183 kB / 1.094 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001353/0.9822, allocations: 0.6871 MB / 1.095 GB, free: 180 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.119e-05/0.9822, allocations: 11.53 kB / 1.095 GB, free: 172 kB / 0.8575 GB Notification: Performance of SimCode: time 2.31e-07/0.9822, allocations: 0 / 1.095 GB, free: 172 kB / 0.8575 GB Notification: Performance of Templates: time 0.003504/0.9857, allocations: 1.15 MB / 1.096 GB, free: 72 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/jenkins1/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