Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001776/0.001776, allocations: 108.8 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002059/0.002059, allocations: 190.7 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.402/3.402, allocations: 496 MB / 0.7835 GB, free: 33.71 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 67.62 kB / 1.138 GB, free: 33.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3818/0.3838, allocations: 173.6 MB / 1.307 GB, free: 1.844 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003218/0.387, allocations: 1.645 MB / 1.309 GB, free: 188 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001198/0.3882, allocations: 0.585 MB / 1.309 GB, free: 15.6 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.645e-05/0.3883, allocations: 3.938 kB / 1.309 GB, free: 15.59 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001993/0.3885, allocations: 23.78 kB / 1.309 GB, free: 15.57 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0003496/0.3888, allocations: 119.5 kB / 1.31 GB, free: 15.45 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003563/0.3892, allocations: 139.7 kB / 1.31 GB, free: 15.32 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003328/0.3895, allocations: 227.4 kB / 1.31 GB, free: 15.09 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.3896, allocations: 25.73 kB / 1.31 GB, free: 15.07 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001407/0.3898, allocations: 99.73 kB / 1.31 GB, free: 14.97 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01273/0.4025, allocations: 1.581 MB / 1.312 GB, free: 13.8 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 7.899e-05/0.4026, allocations: 16 kB / 1.312 GB, free: 13.78 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001277/0.4027, allocations: 39.98 kB / 1.312 GB, free: 13.74 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 8.281e-05/0.4028, allocations: 31.84 kB / 1.312 GB, free: 13.71 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001352/0.4029, allocations: 83.56 kB / 1.312 GB, free: 13.63 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0004525/0.4034, allocations: 195.3 kB / 1.312 GB, free: 13.44 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.4034, allocations: 0 / 1.312 GB, free: 13.44 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.482e-06/0.4034, allocations: 4 kB / 1.312 GB, free: 13.43 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.113e-05/0.4034, allocations: 0 / 1.312 GB, free: 13.43 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008348/0.4042, allocations: 456.8 kB / 1.312 GB, free: 12.95 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.4043, allocations: 12.92 kB / 1.312 GB, free: 12.93 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.366e-05/0.4044, allocations: 20.83 kB / 1.312 GB, free: 12.91 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003034/0.4047, allocations: 179 kB / 1.313 GB, free: 12.71 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/0.4047, allocations: 15.94 kB / 1.313 GB, free: 12.7 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.069e-05/0.4047, allocations: 12 kB / 1.313 GB, free: 12.69 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/0.4049, allocations: 92.97 kB / 1.313 GB, free: 12.59 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.4049, allocations: 0 / 1.313 GB, free: 12.59 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.4049, allocations: 0 / 1.313 GB, free: 12.59 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.4049, allocations: 0 / 1.313 GB, free: 12.59 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.405, allocations: 39.98 kB / 1.313 GB, free: 12.55 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008197/0.4058, allocations: 415.5 kB / 1.313 GB, free: 12.11 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001445/0.406, allocations: 54.56 kB / 1.313 GB, free: 12.04 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.592e-05/0.406, allocations: 28.84 kB / 1.313 GB, free: 12.01 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.4061, allocations: 4 kB / 1.313 GB, free: 12.01 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001492/0.4062, allocations: 91.48 kB / 1.313 GB, free: 11.91 MB / 1.014 GB Notification: Performance of pre-optimization done (n=12): time 1.573e-06/0.4062, allocations: 3.938 kB / 1.313 GB, free: 11.9 MB / 1.014 GB Notification: Performance of matching and sorting (n=12): time 0.0003086/0.4065, allocations: 141.4 kB / 1.313 GB, free: 11.76 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.825e-05/0.4066, allocations: 55.39 kB / 1.313 GB, free: 11.69 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002139/0.4068, allocations: 188.3 kB / 1.314 GB, free: 11.5 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.138e-05/0.4068, allocations: 33.7 kB / 1.314 GB, free: 11.46 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.4069, allocations: 120.2 kB / 1.314 GB, free: 11.34 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.772e-05/0.407, allocations: 23.84 kB / 1.314 GB, free: 11.31 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.262e-05/0.4071, allocations: 53.64 kB / 1.314 GB, free: 11.25 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.4072, allocations: 330.8 kB / 1.314 GB, free: 10.92 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.49e-05/0.4073, allocations: 24 kB / 1.314 GB, free: 10.9 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002629/0.4075, allocations: 119.6 kB / 1.314 GB, free: 10.75 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000209/0.4078, allocations: 95.16 kB / 1.314 GB, free: 10.65 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.4078, allocations: 3.938 kB / 1.314 GB, free: 10.64 MB / 1.014 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000239/0.408, allocations: 133.5 kB / 1.315 GB, free: 10.51 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.408, allocations: 10.5 kB / 1.315 GB, free: 10.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.408, allocations: 7.875 kB / 1.315 GB, free: 10.49 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.408, allocations: 8.125 kB / 1.315 GB, free: 10.48 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.485e-05/0.4081, allocations: 8 kB / 1.315 GB, free: 10.48 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.4081, allocations: 4 kB / 1.315 GB, free: 10.47 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001882/0.4083, allocations: 23.88 kB / 1.315 GB, free: 10.45 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.4083, allocations: 8 kB / 1.315 GB, free: 10.44 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 (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,$whenCondition3,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001354/0.4085, allocations: 134.3 kB / 1.315 GB, free: 10.3 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.167e-05/0.4085, allocations: 15.91 kB / 1.315 GB, free: 10.29 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.193e-05/0.4085, allocations: 21.34 kB / 1.315 GB, free: 10.26 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.4085, allocations: 4 kB / 1.315 GB, free: 10.26 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.4085, allocations: 0 / 1.315 GB, free: 10.26 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.4085, allocations: 0 / 1.315 GB, free: 10.26 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000561/0.4091, allocations: 409.2 kB / 1.315 GB, free: 9.809 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.4091, allocations: 0 / 1.315 GB, free: 9.809 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.278e-05/0.4091, allocations: 4 kB / 1.315 GB, free: 9.805 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.4091, allocations: 0 / 1.315 GB, free: 9.805 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.4091, allocations: 8 kB / 1.315 GB, free: 9.797 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.4091, allocations: 0 / 1.315 GB, free: 9.797 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.4091, allocations: 4 kB / 1.315 GB, free: 9.793 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002242/0.4094, allocations: 207.3 kB / 1.315 GB, free: 9.574 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 2.541e-05/0.4094, allocations: 11.91 kB / 1.315 GB, free: 9.562 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.244e-05/0.4094, allocations: 4 kB / 1.315 GB, free: 9.559 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.786e-05/0.4095, allocations: 7.984 kB / 1.315 GB, free: 9.551 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.555e-05/0.4096, allocations: 15.98 kB / 1.315 GB, free: 9.535 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.135e-05/0.4096, allocations: 7.984 kB / 1.315 GB, free: 9.527 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001341/0.4097, allocations: 132.1 kB / 1.316 GB, free: 9.398 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/0.4097, allocations: 4 kB / 1.316 GB, free: 9.395 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003074/0.41, allocations: 43.86 kB / 1.316 GB, free: 9.352 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0004048/0.4104, allocations: 165.1 kB / 1.316 GB, free: 9.203 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000209/0.4106, allocations: 79.84 kB / 1.316 GB, free: 9.125 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4106, allocations: 0 / 1.316 GB, free: 9.125 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 7.217e-05/0.4107, allocations: 35.92 kB / 1.316 GB, free: 9.09 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004342/0.4111, allocations: 63.06 kB / 1.316 GB, free: 9.035 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006616/0.4118, allocations: 266.8 kB / 1.316 GB, free: 8.75 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004173/0.4122, allocations: 0.7164 MB / 1.317 GB, free: 8.008 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 8.476e-05/0.4123, allocations: 25.47 kB / 1.317 GB, free: 7.984 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.651e-05/0.4124, allocations: 23.38 kB / 1.317 GB, free: 7.961 MB / 1.014 GB Notification: Performance of SimCode: time 6.11e-07/0.4124, allocations: 0 / 1.317 GB, free: 7.961 MB / 1.014 GB Notification: Performance of Templates: time 0.008813/0.4212, allocations: 3.338 MB / 1.32 GB, free: 4.648 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & ./Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.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.223143674433231]