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.001702/0.001702, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002092/0.002092, allocations: 196 kB / 16.14 MB, free: 6.711 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.602/1.602, allocations: 222.9 MB / 239.8 MB, free: 4.645 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 3.037/3.037, allocations: 437 MB / 0.7099 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002048/0.002048, allocations: 67.89 kB / 0.8686 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7757/0.7778, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.002279/0.7801, allocations: 0.7894 MB / 1.017 GB, free: 1.992 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001916/0.782, allocations: 1.144 MB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.002e-05/0.7821, allocations: 4 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.789e-05/0.7822, allocations: 3.938 kB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001039/0.7823, allocations: 11.91 kB / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004728/0.7828, allocations: 115.6 kB / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001421/0.7829, allocations: 107.8 kB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.7831, allocations: 11.98 kB / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.865e-05/0.7831, allocations: 35.91 kB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 9.613e-05/0.7832, allocations: 35.83 kB / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.661e-05/0.7833, allocations: 4 kB / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.449e-05/0.7834, allocations: 19.98 kB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.856e-05/0.7834, allocations: 7.938 kB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 7.58e-05/0.7835, allocations: 39.84 kB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001939/0.7837, allocations: 119.7 kB / 1.019 GB, free: 336 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.7837, allocations: 8 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.172e-06/0.7837, allocations: 0 / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.7837, allocations: 0 / 1.019 GB, free: 328 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.0006779/0.7844, allocations: 399 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.7844, allocations: 11.97 kB / 1.019 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.913e-05/0.7845, allocations: 8.844 kB / 1.019 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001824/0.7847, allocations: 180.2 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.7847, allocations: 8.359 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.55e-05/0.7847, allocations: 4.375 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.7849, allocations: 50.19 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.7849, allocations: 192 / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.7849, allocations: 7.938 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.357e-06/0.7849, allocations: 3.984 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.713e-05/0.785, allocations: 8 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005223/0.7855, allocations: 324.9 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.019e-05/0.7856, allocations: 34.5 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.168e-05/0.7856, allocations: 20.86 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.518e-06/0.7856, allocations: 0 / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001907/0.7858, allocations: 59.39 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.7858, allocations: 0 / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.000234/0.7861, allocations: 77.59 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.94e-05/0.7862, allocations: 59.34 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.7863, allocations: 125.8 kB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.983e-05/0.7863, allocations: 33.7 kB / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.831e-05/0.7864, allocations: 88.05 kB / 1.02 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.498e-05/0.7864, allocations: 11.89 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.937e-05/0.7865, allocations: 29.7 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.7866, allocations: 314.8 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.226e-05/0.7867, allocations: 35.98 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/0.7868, allocations: 62.53 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001397/0.787, allocations: 100.1 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.787, allocations: 0 / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002927/0.7873, allocations: 159.4 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.341e-05/0.7874, allocations: 37.7 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.7874, allocations: 7.938 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.7874, allocations: 0 / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.87e-05/0.7875, allocations: 8.047 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.7875, allocations: 4 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002171/0.7877, allocations: 31.81 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.213e-05/0.7877, allocations: 8 kB / 1.021 GB, free: 13.79 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 0.0001132/0.7878, allocations: 114.3 kB / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.487e-05/0.7879, allocations: 11.98 kB / 1.021 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.129e-05/0.7879, allocations: 11.84 kB / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.7879, allocations: 4 kB / 1.021 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.7879, allocations: 0 / 1.021 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.7879, allocations: 0 / 1.021 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001735/0.7881, allocations: 173.6 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.7881, allocations: 0 / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.719e-05/0.7881, allocations: 7.938 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.7881, allocations: 0 / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.7882, allocations: 4 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.7882, allocations: 0 / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.7882, allocations: 4 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001331/0.7883, allocations: 88.97 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.438e-05/0.7884, allocations: 93 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.7884, allocations: 0 / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.833e-05/0.7884, allocations: 0 / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.836e-05/0.7885, allocations: 288 / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.7885, allocations: 4 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.937e-05/0.7886, allocations: 103.6 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7886, allocations: 0 / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002214/0.7888, allocations: 19.98 kB / 1.022 GB, free: 13.06 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.0002385/0.789, allocations: 107.2 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002669/0.7893, allocations: 139.4 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.7893, allocations: 0 / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.995e-05/0.7894, allocations: 19.92 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002467/0.7896, allocations: 26.25 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003579/0.79, allocations: 149.6 kB / 1.022 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003134/0.7903, allocations: 0.6848 MB / 1.023 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.73e-05/0.7904, allocations: 4 kB / 1.023 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.153e-05/0.7904, allocations: 11.44 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of SimCode: time 5.01e-07/0.7904, allocations: 4 kB / 1.023 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of Templates: time 0.004374/0.7948, allocations: 1.284 MB / 1.024 GB, free: 10.58 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=400 -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