Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pulse.y",fileNamePrefix="Buildings_10_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_10_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.001469/0.001469, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001701/0.001701, allocations: 191.7 kB / 16.13 MB, free: 6.691 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.388/1.388, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.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.694/2.694, allocations: 437 MB / 0.7099 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001617/0.001617, allocations: 67.98 kB / 0.8686 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6651/0.6667, allocations: 151.6 MB / 1.017 GB, free: 2.883 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.002072/0.6688, allocations: 0.7932 MB / 1.017 GB, free: 2.09 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001475/0.6703, allocations: 1.144 MB / 1.019 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.194e-05/0.6704, allocations: 0 / 1.019 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.094e-05/0.6704, allocations: 3.938 kB / 1.019 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.776e-05/0.6705, allocations: 15.92 kB / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004255/0.671, allocations: 115.7 kB / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001229/0.6711, allocations: 107.8 kB / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.6712, allocations: 8 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.26e-05/0.6713, allocations: 39.91 kB / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.681e-05/0.6714, allocations: 35.83 kB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.283e-05/0.6714, allocations: 4 kB / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 6.802e-05/0.6715, allocations: 19.98 kB / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.068e-05/0.6715, allocations: 15.92 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.892e-05/0.6716, allocations: 27.86 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001735/0.6718, allocations: 123.7 kB / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.6718, allocations: 0 / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.162e-06/0.6718, allocations: 0 / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.6718, allocations: 0 / 1.019 GB, free: 436 kB / 0.7637 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.0005049/0.6723, allocations: 404.9 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.6724, allocations: 12.03 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.503e-05/0.6724, allocations: 8.844 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.6726, allocations: 184.2 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.6726, allocations: 4.375 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.059e-05/0.6726, allocations: 8.312 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.254e-05/0.6727, allocations: 42.25 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.6727, allocations: 4.172 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.6727, allocations: 7.875 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.6728, allocations: 0 / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.021e-05/0.6728, allocations: 20 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004185/0.6732, allocations: 320.9 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.496e-05/0.6733, allocations: 38.45 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.311e-05/0.6733, allocations: 12.91 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.595e-06/0.6733, allocations: 3.984 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001429/0.6735, allocations: 67.39 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.233e-06/0.6735, allocations: 0 / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0002041/0.6737, allocations: 77.53 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/0.6737, allocations: 51.41 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.6739, allocations: 129.8 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.505e-05/0.674, allocations: 25.7 kB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.065e-05/0.674, allocations: 95.98 kB / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.526e-05/0.674, allocations: 7.906 kB / 1.02 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.302e-05/0.6741, allocations: 37.69 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.6743, allocations: 314.8 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.575e-05/0.6744, allocations: 35.98 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.315e-05/0.6745, allocations: 58.55 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.6746, allocations: 100.2 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.6746, allocations: 3.984 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000262/0.6749, allocations: 159.3 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.384e-05/0.6749, allocations: 33.7 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.6749, allocations: 0 / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.675, allocations: 4 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.146e-05/0.675, allocations: 0 / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-06/0.675, allocations: 0 / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000209/0.6752, allocations: 47.86 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.866e-05/0.6753, allocations: 4 kB / 1.021 GB, free: 13.88 MB / 0.7794 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.661e-05/0.6754, allocations: 121.7 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.371e-05/0.6754, allocations: 4 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.869e-05/0.6754, allocations: 7.891 kB / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.6754, allocations: 0 / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.6754, allocations: 7.938 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.6754, allocations: 0 / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001313/0.6756, allocations: 177.6 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.6756, allocations: 4 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.785e-05/0.6756, allocations: 7.984 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.6756, allocations: 0 / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.6756, allocations: 0 / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.6756, allocations: 0 / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.6756, allocations: 0 / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001236/0.6758, allocations: 92.97 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.184e-05/0.6758, allocations: 85 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.6758, allocations: 4 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.804e-05/0.6759, allocations: 4 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.664e-05/0.6759, allocations: 3.938 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.6759, allocations: 4 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.288e-05/0.676, allocations: 95.27 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.676, allocations: 3.938 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002086/0.6762, allocations: 20 kB / 1.022 GB, free: 13.15 MB / 0.7794 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.0001771/0.6764, allocations: 107.3 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002293/0.6766, allocations: 135.4 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.6766, allocations: 0 / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.797e-05/0.6767, allocations: 19.94 kB / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002273/0.6769, allocations: 19.92 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003215/0.6772, allocations: 156.6 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/0.6775, allocations: 0.6809 MB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.734e-05/0.6775, allocations: 7.984 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.888e-05/0.6775, allocations: 11.44 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.6775, allocations: 0 / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of Templates: time 0.003666/0.6812, allocations: 1.299 MB / 1.024 GB, free: 10.67 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches