Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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.001664/0.001664, allocations: 102.1 kB / 19.7 MB, free: 2.246 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.001859/0.001859, allocations: 222 kB / 23.01 MB, free: 5.086 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.466/1.466, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.181/3.181, allocations: 0.505 GB / 0.8108 GB, free: 22.02 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.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") [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.001994/0.001994, allocations: 69.25 kB / 1.178 GB, free: 16.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3254, allocations: 180.2 MB / 1.354 GB, free: 7.957 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003214/0.3286, allocations: 1.783 MB / 1.356 GB, free: 6.16 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001692/0.3303, allocations: 0.948 MB / 1.357 GB, free: 5.211 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.091e-05/0.3304, allocations: 7.938 kB / 1.357 GB, free: 5.203 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001752/0.3305, allocations: 27.72 kB / 1.357 GB, free: 5.176 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0003542/0.3309, allocations: 119.5 kB / 1.357 GB, free: 5.059 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003687/0.3313, allocations: 162.4 kB / 1.357 GB, free: 4.902 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003135/0.3316, allocations: 239.4 kB / 1.357 GB, free: 4.668 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.3317, allocations: 37.72 kB / 1.357 GB, free: 4.629 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001646/0.3319, allocations: 107.7 kB / 1.357 GB, free: 4.523 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01613/0.348, allocations: 2.04 MB / 1.359 GB, free: 3.023 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 7.957e-05/0.3481, allocations: 20 kB / 1.359 GB, free: 3.004 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001415/0.3482, allocations: 36 kB / 1.359 GB, free: 2.969 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.906e-05/0.3483, allocations: 39.84 kB / 1.359 GB, free: 2.93 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.000136/0.3484, allocations: 95.48 kB / 1.36 GB, free: 2.836 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004027/0.3488, allocations: 211.2 kB / 1.36 GB, free: 2.629 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.3488, allocations: 3.984 kB / 1.36 GB, free: 2.625 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3488, allocations: 0 / 1.36 GB, free: 2.625 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.3488, allocations: 3.938 kB / 1.36 GB, free: 2.621 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008665/0.3497, allocations: 496.7 kB / 1.36 GB, free: 2.094 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.3498, allocations: 8.031 kB / 1.36 GB, free: 2.086 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.744e-05/0.3498, allocations: 24.8 kB / 1.36 GB, free: 2.062 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003046/0.3501, allocations: 185.8 kB / 1.36 GB, free: 1.855 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.3502, allocations: 11.94 kB / 1.36 GB, free: 1.844 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.267e-05/0.3502, allocations: 20 kB / 1.361 GB, free: 1.824 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001948/0.3504, allocations: 93.64 kB / 1.361 GB, free: 1.727 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.3504, allocations: 0 / 1.361 GB, free: 1.727 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.3504, allocations: 4 kB / 1.361 GB, free: 1.723 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.3504, allocations: 4 kB / 1.361 GB, free: 1.719 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/0.3505, allocations: 55.91 kB / 1.361 GB, free: 1.664 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008155/0.3514, allocations: 439.4 kB / 1.361 GB, free: 1.191 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004296/0.3518, allocations: 122.7 kB / 1.361 GB, free: 1.062 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.442e-05/0.3518, allocations: 32.84 kB / 1.361 GB, free: 1.027 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.3519, allocations: 4 kB / 1.361 GB, free: 1.023 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002936/0.3522, allocations: 118.8 kB / 1.361 GB, free: 0.8984 MB / 1.045 GB Notification: Performance of pre-optimization done (n=16): time 1.413e-06/0.3522, allocations: 0 / 1.361 GB, free: 0.8984 MB / 1.045 GB Notification: Performance of matching and sorting (n=16): time 0.0003535/0.3525, allocations: 161.5 kB / 1.361 GB, free: 0.7344 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.684e-05/0.3526, allocations: 59.34 kB / 1.362 GB, free: 0.6641 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002052/0.3528, allocations: 198.5 kB / 1.362 GB, free: 468 kB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.351e-05/0.3528, allocations: 33.7 kB / 1.362 GB, free: 428 kB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.915e-05/0.3529, allocations: 124.5 kB / 1.362 GB, free: 300 kB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.888e-05/0.353, allocations: 39.72 kB / 1.362 GB, free: 260 kB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.88e-05/0.3531, allocations: 53.69 kB / 1.362 GB, free: 200 kB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.3532, allocations: 334.8 kB / 1.362 GB, free: 15.86 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.969e-05/0.3533, allocations: 35.98 kB / 1.362 GB, free: 15.82 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000249/0.3535, allocations: 129.9 kB / 1.362 GB, free: 15.67 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.3537, allocations: 96.14 kB / 1.363 GB, free: 15.56 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3537, allocations: 0 / 1.363 GB, free: 15.56 MB / 1.061 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000258/0.3539, allocations: 163.5 kB / 1.363 GB, free: 15.4 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.354, allocations: 4 kB / 1.363 GB, free: 15.39 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.354, allocations: 4 kB / 1.363 GB, free: 15.39 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.354, allocations: 0 / 1.363 GB, free: 15.39 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.21e-05/0.354, allocations: 19.94 kB / 1.363 GB, free: 15.37 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.395e-06/0.3541, allocations: 4 kB / 1.363 GB, free: 15.37 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001991/0.3543, allocations: 27.86 kB / 1.363 GB, free: 15.34 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.3543, allocations: 8 kB / 1.363 GB, free: 15.33 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition3,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,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition4,$whenCondition5) * 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.0001427/0.3544, allocations: 140.2 kB / 1.363 GB, free: 15.19 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.84e-05/0.3544, allocations: 15.91 kB / 1.363 GB, free: 15.17 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.03e-05/0.3545, allocations: 25.84 kB / 1.363 GB, free: 15.14 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.3545, allocations: 7.984 kB / 1.363 GB, free: 15.14 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.3545, allocations: 0 / 1.363 GB, free: 15.14 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.3545, allocations: 0 / 1.363 GB, free: 15.14 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006885/0.3552, allocations: 457.3 kB / 1.363 GB, free: 14.64 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.3552, allocations: 8 kB / 1.363 GB, free: 14.63 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.242e-05/0.3552, allocations: 3.984 kB / 1.363 GB, free: 14.63 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.3552, allocations: 4 kB / 1.363 GB, free: 14.62 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.3552, allocations: 4 kB / 1.363 GB, free: 14.62 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.3552, allocations: 3.938 kB / 1.363 GB, free: 14.62 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.3552, allocations: 7.938 kB / 1.363 GB, free: 14.61 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002611/0.3555, allocations: 238.3 kB / 1.364 GB, free: 14.36 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.574e-05/0.3555, allocations: 11.91 kB / 1.364 GB, free: 14.35 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.706e-05/0.3556, allocations: 12 kB / 1.364 GB, free: 14.34 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.3557, allocations: 11.92 kB / 1.364 GB, free: 14.33 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.522e-05/0.3558, allocations: 27.89 kB / 1.364 GB, free: 14.3 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.6e-05/0.3558, allocations: 12 kB / 1.364 GB, free: 14.29 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001268/0.3559, allocations: 136.5 kB / 1.364 GB, free: 14.16 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3559, allocations: 3.938 kB / 1.364 GB, free: 14.15 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003133/0.3562, allocations: 44 kB / 1.364 GB, free: 14.11 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,booPul.y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.0003881/0.3566, allocations: 165.9 kB / 1.364 GB, free: 13.96 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002407/0.3568, allocations: 106.5 kB / 1.364 GB, free: 13.86 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.3569, allocations: 0 / 1.364 GB, free: 13.86 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.253e-05/0.3569, allocations: 47.92 kB / 1.364 GB, free: 13.81 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004107/0.3574, allocations: 55.89 kB / 1.364 GB, free: 13.75 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006123/0.358, allocations: 326.7 kB / 1.365 GB, free: 13.41 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003612/0.3583, allocations: 0.7245 MB / 1.365 GB, free: 12.66 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.027e-05/0.3584, allocations: 27.42 kB / 1.365 GB, free: 12.63 MB / 1.061 GB Notification: Performance of SimCode: time 3.71e-07/0.3584, allocations: 0 / 1.365 GB, free: 12.63 MB / 1.061 GB Notification: Performance of Templates: time 0.005961/0.3644, allocations: 3.222 MB / 1.368 GB, free: 9.414 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,plotConfiguration.active,sca.active,scaDel.active Variables in the result:plotConfiguration.active,sca.active,scaDel.active,time [Calling sys.exit(0), Time elapsed: 11.936095972982002]