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.007733/0.007734, allocations: 95.97 kB / 15.73 MB, free: 6.051 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.001678/0.001678, allocations: 197.2 kB / 16.67 MB, free: 5.973 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.516/1.516, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.898/2.898, allocations: 437 MB / 0.7105 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 64.14 kB / 1.019 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3677/0.369, allocations: 151.6 MB / 1.167 GB, free: 6.805 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.002241/0.3712, allocations: 0.7211 MB / 1.167 GB, free: 6.078 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001928/0.3732, allocations: 1.136 MB / 1.168 GB, free: 4.926 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.87e-05/0.3733, allocations: 4 kB / 1.168 GB, free: 4.922 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.629e-05/0.3733, allocations: 3.938 kB / 1.168 GB, free: 4.918 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001066/0.3735, allocations: 11.86 kB / 1.168 GB, free: 4.906 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00061/0.3741, allocations: 131.6 kB / 1.169 GB, free: 4.781 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002593/0.3743, allocations: 135.8 kB / 1.169 GB, free: 4.648 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001452/0.3745, allocations: 16 kB / 1.169 GB, free: 4.633 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.45e-05/0.3746, allocations: 51.78 kB / 1.169 GB, free: 4.582 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001385/0.3747, allocations: 43.88 kB / 1.169 GB, free: 4.539 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.62e-05/0.3748, allocations: 12 kB / 1.169 GB, free: 4.527 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.213e-05/0.3749, allocations: 23.98 kB / 1.169 GB, free: 4.504 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.24e-05/0.3749, allocations: 8 kB / 1.169 GB, free: 4.496 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 8.001e-05/0.375, allocations: 39.86 kB / 1.169 GB, free: 4.457 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000264/0.3753, allocations: 139.5 kB / 1.169 GB, free: 4.32 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.3753, allocations: 0 / 1.169 GB, free: 4.32 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3753, allocations: 0 / 1.169 GB, free: 4.32 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.872e-06/0.3753, allocations: 0 / 1.169 GB, free: 4.32 MB / 0.92 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.0007206/0.376, allocations: 400.9 kB / 1.169 GB, free: 3.871 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.3761, allocations: 8.031 kB / 1.169 GB, free: 3.863 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.728e-05/0.3762, allocations: 12.89 kB / 1.169 GB, free: 3.852 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000208/0.3764, allocations: 180.3 kB / 1.17 GB, free: 3.637 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.3764, allocations: 4.375 kB / 1.17 GB, free: 3.633 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.651e-05/0.3764, allocations: 4.375 kB / 1.17 GB, free: 3.629 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.3766, allocations: 42.25 kB / 1.17 GB, free: 3.582 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.3766, allocations: 192 / 1.17 GB, free: 3.582 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.3766, allocations: 7.938 kB / 1.17 GB, free: 3.574 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.3766, allocations: 4 kB / 1.17 GB, free: 3.57 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.159e-05/0.3767, allocations: 15.94 kB / 1.17 GB, free: 3.555 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005131/0.3772, allocations: 324.8 kB / 1.17 GB, free: 3.188 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 6.875e-05/0.3773, allocations: 34.5 kB / 1.17 GB, free: 3.145 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.972e-05/0.3773, allocations: 12.92 kB / 1.17 GB, free: 3.129 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 6.933e-06/0.3773, allocations: 0 / 1.17 GB, free: 3.129 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001497/0.3775, allocations: 75.28 kB / 1.17 GB, free: 3.043 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.3775, allocations: 0 / 1.17 GB, free: 3.043 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0002205/0.3777, allocations: 69.69 kB / 1.17 GB, free: 2.969 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.3778, allocations: 55.39 kB / 1.17 GB, free: 2.902 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.3779, allocations: 133.7 kB / 1.17 GB, free: 2.762 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.72e-05/0.3779, allocations: 29.7 kB / 1.17 GB, free: 2.727 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.294e-05/0.378, allocations: 92.12 kB / 1.17 GB, free: 2.633 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.294e-05/0.378, allocations: 7.953 kB / 1.171 GB, free: 2.625 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.69e-05/0.3781, allocations: 33.7 kB / 1.171 GB, free: 2.586 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.3783, allocations: 314.8 kB / 1.171 GB, free: 2.27 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.971e-05/0.3783, allocations: 35.98 kB / 1.171 GB, free: 2.234 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.711e-05/0.3785, allocations: 66.42 kB / 1.171 GB, free: 2.16 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001334/0.3786, allocations: 100.3 kB / 1.171 GB, free: 2.047 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3786, allocations: 0 / 1.171 GB, free: 2.047 MB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002824/0.3789, allocations: 163.2 kB / 1.171 GB, free: 1.875 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.36e-05/0.3789, allocations: 33.7 kB / 1.171 GB, free: 1.836 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.379, allocations: 0 / 1.171 GB, free: 1.836 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.379, allocations: 240 / 1.171 GB, free: 1.836 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.485e-05/0.379, allocations: 15.92 kB / 1.171 GB, free: 1.82 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.3791, allocations: 0 / 1.171 GB, free: 1.82 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001849/0.3792, allocations: 28.03 kB / 1.171 GB, free: 1.793 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.939e-05/0.3793, allocations: 4 kB / 1.171 GB, free: 1.789 MB / 0.92 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.000108/0.3794, allocations: 125.8 kB / 1.171 GB, free: 1.656 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.197e-05/0.3794, allocations: 3.953 kB / 1.171 GB, free: 1.652 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.848e-05/0.3794, allocations: 11.89 kB / 1.171 GB, free: 1.633 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.3794, allocations: 0 / 1.171 GB, free: 1.633 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.3795, allocations: 0 / 1.171 GB, free: 1.633 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3795, allocations: 0 / 1.171 GB, free: 1.633 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001649/0.3796, allocations: 181.6 kB / 1.172 GB, free: 1.406 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.3796, allocations: 7.984 kB / 1.172 GB, free: 1.398 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.419e-05/0.3797, allocations: 0 / 1.172 GB, free: 1.398 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3797, allocations: 0 / 1.172 GB, free: 1.398 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.839e-06/0.3797, allocations: 4 kB / 1.172 GB, free: 1.395 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3797, allocations: 0 / 1.172 GB, free: 1.395 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3797, allocations: 0 / 1.172 GB, free: 1.395 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001437/0.3798, allocations: 92.95 kB / 1.172 GB, free: 1.285 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.549e-05/0.3799, allocations: 85.09 kB / 1.172 GB, free: 1.184 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.101e-05/0.3799, allocations: 4 kB / 1.172 GB, free: 1.18 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.034e-05/0.38, allocations: 7.938 kB / 1.172 GB, free: 1.172 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.781e-05/0.38, allocations: 4 kB / 1.172 GB, free: 1.168 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.149e-06/0.38, allocations: 0 / 1.172 GB, free: 1.168 MB / 0.92 GB Notification: Performance of sorting global known variables: time 8.424e-05/0.3801, allocations: 99.27 kB / 1.172 GB, free: 1.07 MB / 0.92 GB Notification: Performance of sort global known variables: time 1e-07/0.3801, allocations: 0 / 1.172 GB, free: 1.07 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002105/0.3803, allocations: 19.94 kB / 1.172 GB, free: 1.051 MB / 0.92 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.0002173/0.3805, allocations: 107.2 kB / 1.172 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003046/0.3809, allocations: 139.3 kB / 1.172 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.3809, allocations: 0 / 1.172 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 3.834e-05/0.3809, allocations: 12 kB / 1.172 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002541/0.3812, allocations: 23.86 kB / 1.172 GB, free: 0.7539 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003786/0.3816, allocations: 143.6 kB / 1.172 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004484/0.382, allocations: 0.6924 MB / 1.173 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.015e-05/0.3821, allocations: 7.984 kB / 1.173 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.567e-05/0.3821, allocations: 7.438 kB / 1.173 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of SimCode: time 3e-07/0.3821, allocations: 0 / 1.173 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of Templates: time 0.004161/0.3863, allocations: 1.35 MB / 1.174 GB, free: 14.52 MB / 0.9356 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