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.001899/0.001899, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002132/0.002132, allocations: 197.5 kB / 16.53 MB, free: 6.664 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.552/1.552, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.917/2.917, allocations: 437.1 MB / 0.7104 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002015, allocations: 67.89 kB / 0.8693 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7508/0.7528, allocations: 151.6 MB / 1.017 GB, free: 2.461 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.002853/0.7557, allocations: 0.719 MB / 1.018 GB, free: 1.742 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001846/0.7576, allocations: 1.132 MB / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.293e-05/0.7577, allocations: 3.938 kB / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.104e-05/0.7577, allocations: 3.938 kB / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001136/0.7579, allocations: 19.84 kB / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005965/0.7585, allocations: 127.5 kB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.00023/0.7587, allocations: 127.8 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.7589, allocations: 15.98 kB / 1.019 GB, free: 312 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.759, allocations: 39.91 kB / 1.019 GB, free: 272 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.7591, allocations: 43.83 kB / 1.02 GB, free: 228 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.905e-05/0.7591, allocations: 12 kB / 1.02 GB, free: 216 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.719e-05/0.7593, allocations: 27.92 kB / 1.02 GB, free: 188 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.452e-05/0.7593, allocations: 8 kB / 1.02 GB, free: 180 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 9.853e-05/0.7594, allocations: 51.83 kB / 1.02 GB, free: 128 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002528/0.7597, allocations: 127.7 kB / 1.02 GB, free: 0 / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.514e-05/0.7597, allocations: 4.047 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.883e-06/0.7597, allocations: 0 / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.632e-06/0.7597, allocations: 0 / 1.02 GB, free: 15.99 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.0006645/0.7604, allocations: 393 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.7604, allocations: 8.031 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.937e-05/0.7605, allocations: 16.84 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001839/0.7607, allocations: 184.2 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.7607, allocations: 384 / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.292e-05/0.7608, allocations: 12.38 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.7609, allocations: 50.19 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.7609, allocations: 192 / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.7609, allocations: 3.938 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.7609, allocations: 0 / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.181e-05/0.761, allocations: 15.98 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005274/0.7615, allocations: 320.9 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.512e-05/0.7616, allocations: 38.45 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.745e-05/0.7616, allocations: 12.92 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.403e-05/0.7617, allocations: 3.984 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002023/0.7619, allocations: 59.39 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.402e-06/0.7619, allocations: 4 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0002557/0.7621, allocations: 81.52 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.425e-05/0.7622, allocations: 59.34 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.7624, allocations: 125.8 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.876e-05/0.7624, allocations: 29.7 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.324e-05/0.7625, allocations: 92.12 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.167e-05/0.7625, allocations: 15.8 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.182e-05/0.7626, allocations: 29.7 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.7628, allocations: 318.8 kB / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.08e-05/0.7629, allocations: 35.98 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.763, allocations: 58.56 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.7631, allocations: 96.14 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.7631, allocations: 0 / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002925/0.7634, allocations: 159.3 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.823e-05/0.7635, allocations: 41.69 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.7635, allocations: 4.062 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.7635, allocations: 0 / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.894e-05/0.7636, allocations: 4 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.7636, allocations: 0 / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002306/0.7638, allocations: 35.75 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.474e-05/0.7639, allocations: 7.984 kB / 1.022 GB, free: 13.46 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.0001117/0.764, allocations: 121.8 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.338e-05/0.764, allocations: 0 / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.215e-05/0.7641, allocations: 15.91 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.7641, allocations: 3.938 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.7641, allocations: 0 / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.7641, allocations: 64 / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/0.7643, allocations: 181.6 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.7643, allocations: 0 / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.538e-05/0.7643, allocations: 0 / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.7643, allocations: 0 / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.7643, allocations: 4 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.7643, allocations: 0 / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.7643, allocations: 4.078 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001368/0.7645, allocations: 92.95 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.577e-05/0.7645, allocations: 85.02 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.7645, allocations: 0 / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.822e-05/0.7646, allocations: 0 / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.038e-05/0.7646, allocations: 15.92 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.7646, allocations: 0 / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.198e-05/0.7647, allocations: 99.2 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.61e-07/0.7647, allocations: 4 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002282/0.7649, allocations: 20 kB / 1.023 GB, free: 12.73 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.0001828/0.7651, allocations: 103.2 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000273/0.7654, allocations: 139.4 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.7654, allocations: 0 / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.909e-05/0.7655, allocations: 15.94 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000244/0.7657, allocations: 20.05 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000392/0.7661, allocations: 144.2 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003611/0.7665, allocations: 0.6885 MB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.595e-05/0.7665, allocations: 0 / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.268e-05/0.7666, allocations: 19.38 kB / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of SimCode: time 3.41e-07/0.7666, allocations: 0 / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of Templates: time 0.005329/0.7719, allocations: 1.341 MB / 1.025 GB, free: 10.21 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