Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001624/0.001624, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002381/0.002381, allocations: 214.6 kB / 22.25 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.495/1.495, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.272/3.272, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002106/0.002106, allocations: 62.22 kB / 1.186 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3792/0.3813, allocations: 181.9 MB / 1.364 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003565/0.3849, allocations: 1.736 MB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001801/0.3867, allocations: 0.9019 MB / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.765e-05/0.3868, allocations: 7.938 kB / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001997/0.387, allocations: 27.66 kB / 1.366 GB, free: 10.9 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004087/0.3874, allocations: 123.4 kB / 1.367 GB, free: 10.78 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004078/0.3878, allocations: 159.6 kB / 1.367 GB, free: 10.62 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003622/0.3882, allocations: 243.4 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001726/0.3883, allocations: 25.73 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001972/0.3885, allocations: 123.7 kB / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.016/0.4045, allocations: 1.973 MB / 1.369 GB, free: 8.793 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.103e-05/0.4046, allocations: 24 kB / 1.369 GB, free: 8.77 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001431/0.4047, allocations: 36 kB / 1.369 GB, free: 8.734 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.182e-05/0.4048, allocations: 47.81 kB / 1.369 GB, free: 8.688 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001219/0.405, allocations: 75.58 kB / 1.369 GB, free: 8.613 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004143/0.4054, allocations: 223.2 kB / 1.369 GB, free: 8.395 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.4054, allocations: 0 / 1.369 GB, free: 8.395 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.774e-06/0.4054, allocations: 0 / 1.369 GB, free: 8.395 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.4054, allocations: 0 / 1.369 GB, free: 8.395 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0008678/0.4062, allocations: 0.4889 MB / 1.37 GB, free: 7.863 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.4063, allocations: 8.031 kB / 1.37 GB, free: 7.855 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.295e-05/0.4064, allocations: 20.84 kB / 1.37 GB, free: 7.836 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003079/0.4067, allocations: 189.7 kB / 1.37 GB, free: 7.625 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.387e-05/0.4067, allocations: 8 kB / 1.37 GB, free: 7.617 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.11e-05/0.4067, allocations: 12 kB / 1.37 GB, free: 7.605 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002532/0.407, allocations: 116.9 kB / 1.37 GB, free: 7.48 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.407, allocations: 3.938 kB / 1.37 GB, free: 7.477 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/0.407, allocations: 7.938 kB / 1.37 GB, free: 7.469 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.407, allocations: 4 kB / 1.37 GB, free: 7.465 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001222/0.4071, allocations: 55.88 kB / 1.37 GB, free: 7.41 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008549/0.408, allocations: 460.3 kB / 1.371 GB, free: 6.926 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001808/0.4082, allocations: 93.25 kB / 1.371 GB, free: 6.816 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.077e-05/0.4082, allocations: 37.77 kB / 1.371 GB, free: 6.773 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.787e-05/0.4083, allocations: 0 / 1.371 GB, free: 6.773 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002332/0.4085, allocations: 129 kB / 1.371 GB, free: 6.629 MB / 1.061 GB Notification: Performance of pre-optimization done (n=15): time 1.173e-06/0.4085, allocations: 0 / 1.371 GB, free: 6.629 MB / 1.061 GB Notification: Performance of matching and sorting (n=15): time 0.0003613/0.4089, allocations: 157.5 kB / 1.371 GB, free: 6.469 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.926e-05/0.4089, allocations: 89.09 kB / 1.371 GB, free: 6.363 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002258/0.4091, allocations: 206.4 kB / 1.371 GB, free: 6.148 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.784e-05/0.4092, allocations: 33.7 kB / 1.371 GB, free: 6.109 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.4093, allocations: 124.5 kB / 1.372 GB, free: 5.984 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.001e-05/0.4093, allocations: 43.64 kB / 1.372 GB, free: 5.941 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.58e-05/0.4094, allocations: 53.67 kB / 1.372 GB, free: 5.883 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.4096, allocations: 335 kB / 1.372 GB, free: 5.547 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.185e-05/0.4097, allocations: 31.98 kB / 1.372 GB, free: 5.516 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000311/0.41, allocations: 248.1 kB / 1.372 GB, free: 5.215 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001596/0.4101, allocations: 116.7 kB / 1.372 GB, free: 5.082 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.4101, allocations: 0 / 1.372 GB, free: 5.082 MB / 1.061 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002648/0.4104, allocations: 165.4 kB / 1.372 GB, free: 4.914 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.4104, allocations: 10.34 kB / 1.373 GB, free: 4.906 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.4104, allocations: 4 kB / 1.373 GB, free: 4.902 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.4104, allocations: 4 kB / 1.373 GB, free: 4.898 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.813e-05/0.4105, allocations: 15.94 kB / 1.373 GB, free: 4.883 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.4105, allocations: 4 kB / 1.373 GB, free: 4.879 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002164/0.4107, allocations: 31.86 kB / 1.373 GB, free: 4.848 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.4108, allocations: 4 kB / 1.373 GB, free: 4.844 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 (plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition2,booPul.pulseStart,$PRE.booPul.pulseStart,booPul.y,scaDel.sampleTrigger,scaDel.tActivateLast,$PRE.scaDel.tActivateLast,scaDel.active,sca.sampleTrigger,sca.tActivateLast,$PRE.sca.tActivateLast,sca.active,$whenCondition1,$whenCondition3,$whenCondition4,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * 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.0001462/0.4109, allocations: 147.6 kB / 1.373 GB, free: 4.691 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.046e-05/0.4109, allocations: 15.91 kB / 1.373 GB, free: 4.676 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.196e-05/0.411, allocations: 21.45 kB / 1.373 GB, free: 4.648 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.411, allocations: 0 / 1.373 GB, free: 4.648 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.411, allocations: 0 / 1.373 GB, free: 4.648 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.411, allocations: 4 kB / 1.373 GB, free: 4.645 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005662/0.4116, allocations: 385.9 kB / 1.373 GB, free: 4.23 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.4116, allocations: 0 / 1.373 GB, free: 4.23 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.62e-05/0.4116, allocations: 11.98 kB / 1.373 GB, free: 4.219 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.4116, allocations: 4 kB / 1.373 GB, free: 4.215 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.4116, allocations: 4 kB / 1.373 GB, free: 4.211 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.4116, allocations: 3.938 kB / 1.373 GB, free: 4.207 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.4116, allocations: 4 kB / 1.373 GB, free: 4.203 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002492/0.4119, allocations: 239.2 kB / 1.373 GB, free: 3.953 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.918e-05/0.4119, allocations: 15.84 kB / 1.373 GB, free: 3.938 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.789e-05/0.4119, allocations: 8 kB / 1.373 GB, free: 3.93 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.412, allocations: 7.984 kB / 1.373 GB, free: 3.922 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.104e-05/0.4121, allocations: 23.91 kB / 1.373 GB, free: 3.898 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.469e-05/0.4121, allocations: 11.98 kB / 1.373 GB, free: 3.887 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000136/0.4123, allocations: 148.2 kB / 1.374 GB, free: 3.742 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4123, allocations: 0 / 1.374 GB, free: 3.742 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003117/0.4126, allocations: 51.89 kB / 1.374 GB, free: 3.691 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (sca.sampleTrigger,scaDel.sampleTrigger,booPul.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart,plotConfiguration.active,plotConfiguration.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0004057/0.413, allocations: 176.5 kB / 1.374 GB, free: 3.531 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002417/0.4132, allocations: 95.91 kB / 1.374 GB, free: 3.438 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.4132, allocations: 0 / 1.374 GB, free: 3.438 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.412e-05/0.4133, allocations: 47.92 kB / 1.374 GB, free: 3.391 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004133/0.4137, allocations: 54.58 kB / 1.374 GB, free: 3.344 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005546/0.4143, allocations: 301.7 kB / 1.374 GB, free: 3.023 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001121/0.4144, allocations: 108.1 kB / 1.374 GB, free: 2.898 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.794e-05/0.4145, allocations: 29.62 kB / 1.374 GB, free: 2.871 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.396e-05/0.4146, allocations: 27.36 kB / 1.374 GB, free: 2.844 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/0.4146, allocations: 0 / 1.374 GB, free: 2.844 MB / 1.061 GB Notification: Performance of Templates: time 0.008362/0.4229, allocations: 4.026 MB / 1.378 GB, free: 14.89 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.049512652680278]