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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0008906/0.0008964, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.0008582/0.0008583, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 223.3 MB / 240 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.782/2.782, allocations: 437.7 MB / 0.7117 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005265/0.0005266, allocations: 8 kB / 0.8722 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.834/0.8346, allocations: 153.8 MB / 1.022 GB, free: 52 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.00102/0.8356, allocations: 453.5 kB / 1.023 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001395/0.837, allocations: 1.101 MB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.216e-05/0.8371, allocations: 0 / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.747e-05/0.8371, allocations: 3.938 kB / 1.024 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.424e-05/0.8372, allocations: 7.922 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000459/0.8377, allocations: 115.7 kB / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001129/0.8378, allocations: 91.83 kB / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.603e-05/0.8379, allocations: 15.98 kB / 1.024 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.481e-05/0.838, allocations: 43.83 kB / 1.024 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.927e-05/0.8381, allocations: 23.91 kB / 1.024 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.8381, allocations: 4 kB / 1.024 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.625e-05/0.8381, allocations: 19.98 kB / 1.024 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.198e-05/0.8382, allocations: 11.92 kB / 1.024 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.355e-05/0.8382, allocations: 33.7 kB / 1.024 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001377/0.8384, allocations: 95.75 kB / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.8384, allocations: 4 kB / 1.024 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.245e-06/0.8384, allocations: 4 kB / 1.024 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.8384, allocations: 0 / 1.024 GB, free: 14.03 MB / 0.7794 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.0004806/0.8389, allocations: 378.8 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.8389, allocations: 8.031 kB / 1.025 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.809e-05/0.839, allocations: 7.906 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.8391, allocations: 178.9 kB / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.8392, allocations: 4 kB / 1.025 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/0.8392, allocations: 8 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.108e-05/0.8393, allocations: 45.64 kB / 1.025 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.8393, allocations: 4 kB / 1.025 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.8393, allocations: 0 / 1.025 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.8393, allocations: 4 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.332e-05/0.8394, allocations: 11.98 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004484/0.8398, allocations: 328.8 kB / 1.025 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.821e-05/0.8399, allocations: 30.52 kB / 1.025 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.09e-05/0.84, allocations: 20.92 kB / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.277e-06/0.84, allocations: 0 / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001232/0.8401, allocations: 59.39 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.572e-06/0.8401, allocations: 0 / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0002169/0.8403, allocations: 85.45 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.8404, allocations: 55.41 kB / 1.026 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.8405, allocations: 121.8 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/0.8406, allocations: 33.69 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.752e-05/0.8406, allocations: 96.03 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.749e-05/0.8406, allocations: 11.91 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.066e-05/0.8407, allocations: 0 / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.8408, allocations: 318.8 kB / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.499e-05/0.8409, allocations: 35.98 kB / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.977e-05/0.841, allocations: 54.56 kB / 1.026 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.814e-05/0.8411, allocations: 69.64 kB / 1.026 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.8411, allocations: 4 kB / 1.026 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002685/0.8414, allocations: 155.3 kB / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.7e-05/0.8415, allocations: 45.62 kB / 1.026 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.279e-06/0.8415, allocations: 0 / 1.026 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.8415, allocations: 0 / 1.026 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.91e-05/0.8415, allocations: 4 kB / 1.026 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.8416, allocations: 3.938 kB / 1.026 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002155/0.8418, allocations: 47.88 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.82e-05/0.8418, allocations: 4 kB / 1.027 GB, free: 11.59 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,$PRE.pulse.booPul.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001052/0.8419, allocations: 125.8 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.061e-05/0.8419, allocations: 4 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.82e-05/0.842, allocations: 7.906 kB / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.842, allocations: 8 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.842, allocations: 0 / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.842, allocations: 240 / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001404/0.8421, allocations: 169.6 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.8421, allocations: 3.953 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.619e-05/0.8422, allocations: 4 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.8422, allocations: 3.984 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.8422, allocations: 0 / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.8422, allocations: 0 / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.8422, allocations: 3.938 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001332/0.8423, allocations: 97.02 kB / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.373e-05/0.8424, allocations: 84.97 kB / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/0.8424, allocations: 8 kB / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.729e-05/0.8424, allocations: 64 / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.276e-05/0.8425, allocations: 7.984 kB / 1.027 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.275e-06/0.8425, allocations: 7.938 kB / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.494e-05/0.8426, allocations: 99.64 kB / 1.027 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8426, allocations: 0 / 1.027 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002143/0.8428, allocations: 24 kB / 1.027 GB, free: 10.84 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001711/0.843, allocations: 99.25 kB / 1.027 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002424/0.8432, allocations: 135.3 kB / 1.027 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.8432, allocations: 0 / 1.027 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.55e-05/0.8433, allocations: 15.98 kB / 1.027 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002299/0.8435, allocations: 26.78 kB / 1.027 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003235/0.8439, allocations: 155 kB / 1.028 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003003/0.8442, allocations: 0.6864 MB / 1.028 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.805e-05/0.8442, allocations: 8.172 kB / 1.028 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.498e-05/0.8442, allocations: 7.438 kB / 1.028 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.8442, allocations: 4 kB / 1.028 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of Templates: time 0.003725/0.848, allocations: 1.241 MB / 1.029 GB, free: 8.418 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