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.001801/0.001801, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00204/0.00204, allocations: 188.6 kB / 16.25 MB, free: 6.633 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.567/1.567, allocations: 222.9 MB / 239.9 MB, free: 4.516 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.918/2.918, allocations: 437 MB / 0.7101 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002062/0.002062, allocations: 67.91 kB / 0.8688 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.772/0.7741, allocations: 151.6 MB / 1.017 GB, free: 2.672 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.002517/0.7767, allocations: 0.7854 MB / 1.018 GB, free: 1.887 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001716/0.7784, allocations: 1.124 MB / 1.019 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.312e-05/0.7785, allocations: 0 / 1.019 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.107e-05/0.7785, allocations: 0 / 1.019 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.551e-05/0.7786, allocations: 11.88 kB / 1.019 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004878/0.7791, allocations: 115.8 kB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001895/0.7793, allocations: 139.7 kB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.7794, allocations: 15.98 kB / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.688e-05/0.7795, allocations: 43.91 kB / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 9.325e-05/0.7796, allocations: 27.91 kB / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.133e-05/0.7797, allocations: 16 kB / 1.019 GB, free: 392 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.416e-05/0.7798, allocations: 23.98 kB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.279e-05/0.7798, allocations: 19.92 kB / 1.019 GB, free: 348 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 7.489e-05/0.7799, allocations: 47.78 kB / 1.019 GB, free: 300 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002201/0.7801, allocations: 127.7 kB / 1.019 GB, free: 172 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.7801, allocations: 4 kB / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7801, allocations: 0 / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.7801, allocations: 0 / 1.019 GB, free: 168 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.0006078/0.7808, allocations: 395 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.7808, allocations: 8.031 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.194e-05/0.7809, allocations: 8.844 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002024/0.7811, allocations: 176.2 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.7811, allocations: 8.375 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.589e-05/0.7811, allocations: 8.375 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.7813, allocations: 38.25 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.7813, allocations: 192 / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.7813, allocations: 15.86 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.7813, allocations: 0 / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.873e-05/0.7814, allocations: 11.94 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005375/0.7819, allocations: 328.9 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.284e-05/0.782, allocations: 30.52 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.315e-05/0.782, allocations: 20.84 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/0.7821, allocations: 0 / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002187/0.7823, allocations: 67.33 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.7823, allocations: 0 / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0002619/0.7826, allocations: 81.58 kB / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.879e-05/0.7826, allocations: 59.41 kB / 1.02 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.7828, allocations: 125.8 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.041e-05/0.7828, allocations: 29.7 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.7829, allocations: 100.1 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.397e-05/0.783, allocations: 7.812 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.54e-05/0.7831, allocations: 37.62 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002122/0.7833, allocations: 314.8 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/0.7834, allocations: 39.98 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/0.7835, allocations: 62.53 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/0.7837, allocations: 88.22 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.7837, allocations: 0 / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003519/0.7841, allocations: 163.3 kB / 1.021 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.836e-05/0.7841, allocations: 41.7 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.7842, allocations: 4 kB / 1.021 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/0.7842, allocations: 0 / 1.021 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.655e-05/0.7843, allocations: 4 kB / 1.021 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.7843, allocations: 0 / 1.021 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002323/0.7845, allocations: 35.8 kB / 1.021 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.085e-05/0.7845, allocations: 4 kB / 1.021 GB, free: 13.63 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.0001281/0.7847, allocations: 122.3 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.139e-05/0.7847, allocations: 4 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.667e-05/0.7847, allocations: 15.89 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.7848, allocations: 0 / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.7848, allocations: 3.938 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.7848, allocations: 0 / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001838/0.785, allocations: 169.6 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.785, allocations: 4 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.771e-05/0.785, allocations: 3.984 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.785, allocations: 0 / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.785, allocations: 4 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.785, allocations: 8 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.785, allocations: 11.94 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001384/0.7852, allocations: 84.97 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.043e-05/0.7853, allocations: 93 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/0.7853, allocations: 0 / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.85e-05/0.7853, allocations: 0 / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.331e-05/0.7853, allocations: 0 / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.92e-06/0.7854, allocations: 4 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.742e-05/0.7854, allocations: 103.3 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7854, allocations: 0 / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002215/0.7857, allocations: 16 kB / 1.022 GB, free: 12.89 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.0002127/0.7859, allocations: 103.2 kB / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002844/0.7862, allocations: 139.3 kB / 1.022 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.7862, allocations: 0 / 1.022 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.96e-05/0.7862, allocations: 12 kB / 1.022 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002548/0.7865, allocations: 24.05 kB / 1.022 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004288/0.7869, allocations: 154.1 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004065/0.7874, allocations: 0.6861 MB / 1.023 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.842e-05/0.7874, allocations: 7.984 kB / 1.023 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.516e-05/0.7874, allocations: 11.44 kB / 1.023 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of SimCode: time 3.21e-07/0.7874, allocations: 0 / 1.023 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of Templates: time 0.004692/0.7921, allocations: 1.351 MB / 1.025 GB, free: 10.37 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