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.001033/0.001032, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.009038/0.009038, allocations: 168.3 kB / 16.26 MB, free: 6.652 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.632/1.632, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.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.653/2.653, allocations: 390.9 MB / 0.6663 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004018/0.000402, allocations: 8 kB / 0.816 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.015/1.015, allocations: 142.4 MB / 0.9551 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse): time 0.0009287/1.016, allocations: 459.1 kB / 0.9555 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001382/1.018, allocations: 1.137 MB / 0.9566 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.745e-05/1.018, allocations: 0 / 0.9566 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.706e-05/1.018, allocations: 1 kB / 0.9566 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.133e-05/1.018, allocations: 8.953 kB / 0.9566 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004553/1.018, allocations: 114.9 kB / 0.9567 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000134/1.018, allocations: 109.7 kB / 0.9568 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/1.018, allocations: 9.484 kB / 0.9569 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.311e-05/1.018, allocations: 38.42 kB / 0.9569 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.521e-05/1.019, allocations: 35.7 kB / 0.9569 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.252e-05/1.019, allocations: 5.125 kB / 0.9569 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.974e-05/1.019, allocations: 23.16 kB / 0.9569 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.953e-05/1.019, allocations: 10.06 kB / 0.957 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.618e-05/1.019, allocations: 52.75 kB / 0.957 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001605/1.019, allocations: 122.2 kB / 0.9571 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/1.019, allocations: 1.375 kB / 0.9571 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.996e-06/1.019, allocations: 0 / 0.9571 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.859e-06/1.019, allocations: 0 / 0.9571 GB, free: 6.051 MB / 0.7169 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.0004683/1.019, allocations: 385.6 kB / 0.9575 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.392e-05/1.02, allocations: 9.094 kB / 0.9575 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.34e-05/1.02, allocations: 10.28 kB / 0.9575 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/1.02, allocations: 177.9 kB / 0.9577 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.342e-05/1.02, allocations: 2.781 kB / 0.9577 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.36e-05/1.02, allocations: 13.14 kB / 0.9577 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001182/1.02, allocations: 42 kB / 0.9577 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/1.02, allocations: 4.172 kB / 0.9577 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/1.02, allocations: 5.312 kB / 0.9577 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/1.02, allocations: 0 / 0.9577 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.923e-05/1.02, allocations: 14.62 kB / 0.9578 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004373/1.02, allocations: 334.5 kB / 0.9581 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.404e-05/1.021, allocations: 30.3 kB / 0.9581 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.713e-05/1.021, allocations: 18.25 kB / 0.9581 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/1.021, allocations: 0 / 0.9581 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001261/1.021, allocations: 71.83 kB / 0.9582 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/1.021, allocations: 0 / 0.9582 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0002276/1.021, allocations: 74.09 kB / 0.9583 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/1.021, allocations: 56.75 kB / 0.9583 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/1.021, allocations: 126.5 kB / 0.9584 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/1.021, allocations: 28.42 kB / 0.9585 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.936e-05/1.021, allocations: 88.3 kB / 0.9586 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.631e-05/1.021, allocations: 9.219 kB / 0.9586 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.555e-05/1.021, allocations: 21.67 kB / 0.9586 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.64e-05/1.021, allocations: 316.8 kB / 0.9589 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.508e-05/1.021, allocations: 37.86 kB / 0.9589 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.982e-05/1.022, allocations: 54.61 kB / 0.959 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001151/1.022, allocations: 95.98 kB / 0.9591 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/1.022, allocations: 4 kB / 0.9591 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002637/1.022, allocations: 165.5 kB / 0.9592 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.628e-05/1.022, allocations: 32.7 kB / 0.9593 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/1.022, allocations: 1.094 kB / 0.9593 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/1.022, allocations: 1.188 kB / 0.9593 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.954e-05/1.022, allocations: 6.453 kB / 0.9593 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/1.022, allocations: 1.094 kB / 0.9593 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002338/1.022, allocations: 47.84 kB / 0.9593 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.16e-05/1.022, allocations: 9.031 kB / 0.9593 GB, free: 3.863 MB / 0.7169 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 8.691e-05/1.022, allocations: 123 kB / 0.9594 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.192e-05/1.022, allocations: 6.844 kB / 0.9594 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.509e-05/1.023, allocations: 5.75 kB / 0.9594 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/1.023, allocations: 3.938 kB / 0.9595 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/1.023, allocations: 5.906 kB / 0.9595 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/1.023, allocations: 0 / 0.9595 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001034/1.023, allocations: 179.3 kB / 0.9596 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/1.023, allocations: 0 / 0.9596 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.412e-05/1.023, allocations: 1.875 kB / 0.9596 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/1.023, allocations: 0 / 0.9596 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/1.023, allocations: 1.844 kB / 0.9596 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/1.023, allocations: 3.938 kB / 0.9596 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/1.023, allocations: 0 / 0.9596 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001176/1.023, allocations: 100.4 kB / 0.9597 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.784e-05/1.023, allocations: 86.06 kB / 0.9598 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/1.023, allocations: 1.062 kB / 0.9598 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.899e-05/1.023, allocations: 1.281 kB / 0.9598 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.861e-05/1.023, allocations: 5.688 kB / 0.9598 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/1.023, allocations: 1.312 kB / 0.9598 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.15e-05/1.023, allocations: 98.8 kB / 0.9599 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/1.023, allocations: 0 / 0.9599 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00022/1.023, allocations: 21.05 kB / 0.9599 GB, free: 3.211 MB / 0.7169 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.0001767/1.023, allocations: 107 kB / 0.96 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002342/1.024, allocations: 138.8 kB / 0.9602 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/1.024, allocations: 0 / 0.9602 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.617e-05/1.024, allocations: 16.98 kB / 0.9602 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000234/1.024, allocations: 17.25 kB / 0.9602 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003025/1.024, allocations: 159 kB / 0.9604 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001229/1.024, allocations: 0.6837 MB / 0.961 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.39e-05/1.024, allocations: 1.781 kB / 0.961 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.886e-05/1.024, allocations: 10.97 kB / 0.961 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of SimCode: time 3.21e-07/1.024, allocations: 0 / 0.961 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of Templates: time 0.003715/1.028, allocations: 1.29 MB / 0.9623 GB, free: 1.484 MB / 0.7169 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