Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00182/0.00182, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.00233/0.00233, allocations: 213 kB / 22.99 MB, free: 4.957 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.499/1.499, allocations: 230.6 MB / 256.8 MB, free: 7.828 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.196/3.196, allocations: 0.49 GB / 0.7959 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.001997/0.001997, allocations: 66 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3331, allocations: 176.1 MB / 1.327 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003552/0.3366, allocations: 1.727 MB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001769/0.3384, allocations: 0.9164 MB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.877e-05/0.3385, allocations: 3.938 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001998/0.3387, allocations: 27.72 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003923/0.3391, allocations: 123.5 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000398/0.3395, allocations: 151.7 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003365/0.3398, allocations: 247.4 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001421/0.3399, allocations: 29.73 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000157/0.3401, allocations: 115.6 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01653/0.3566, allocations: 1.994 MB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001705/0.3568, allocations: 20 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002457/0.357, allocations: 36 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001446/0.3572, allocations: 43.78 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002095/0.3574, allocations: 87.61 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005859/0.358, allocations: 215.2 kB / 1.333 GB, free: 11.79 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.358, allocations: 4 kB / 1.333 GB, free: 11.78 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.773e-06/0.358, allocations: 0 / 1.333 GB, free: 11.78 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.058e-05/0.358, allocations: 0 / 1.333 GB, free: 11.78 MB / 1.029 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.001023/0.359, allocations: 496.6 kB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.3591, allocations: 8.031 kB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.3592, allocations: 24.8 kB / 1.333 GB, free: 11.22 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003625/0.3595, allocations: 185.8 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.3596, allocations: 12 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.564e-05/0.3596, allocations: 15.98 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002584/0.3599, allocations: 120.2 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.3599, allocations: 0 / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.915e-05/0.3599, allocations: 8 kB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.3599, allocations: 0 / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001288/0.36, allocations: 47.97 kB / 1.334 GB, free: 10.8 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009631/0.361, allocations: 468.3 kB / 1.334 GB, free: 10.31 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002187/0.3612, allocations: 101.1 kB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.862e-05/0.3613, allocations: 29.78 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.3613, allocations: 7.984 kB / 1.334 GB, free: 10.15 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003472/0.3617, allocations: 121.1 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.312e-06/0.3617, allocations: 0 / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.0004054/0.3621, allocations: 165.5 kB / 1.334 GB, free: 9.848 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.95e-05/0.3621, allocations: 85.23 kB / 1.334 GB, free: 9.746 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000244/0.3624, allocations: 211 kB / 1.335 GB, free: 9.527 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.49e-05/0.3624, allocations: 33.7 kB / 1.335 GB, free: 9.488 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.3625, allocations: 116.5 kB / 1.335 GB, free: 9.371 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.477e-05/0.3626, allocations: 43.72 kB / 1.335 GB, free: 9.328 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.3627, allocations: 57.67 kB / 1.335 GB, free: 9.266 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.3628, allocations: 326.8 kB / 1.335 GB, free: 8.938 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.002e-05/0.3629, allocations: 31.98 kB / 1.335 GB, free: 8.906 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003566/0.3633, allocations: 249.4 kB / 1.335 GB, free: 8.605 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001693/0.3634, allocations: 115.4 kB / 1.336 GB, free: 8.473 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3634, allocations: 0 / 1.336 GB, free: 8.473 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002961/0.3637, allocations: 165.3 kB / 1.336 GB, free: 8.309 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.3637, allocations: 10.75 kB / 1.336 GB, free: 8.301 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.3638, allocations: 0 / 1.336 GB, free: 8.301 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-05/0.3638, allocations: 7.984 kB / 1.336 GB, free: 8.293 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.604e-05/0.3639, allocations: 16.09 kB / 1.336 GB, free: 8.277 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.3639, allocations: 11.98 kB / 1.336 GB, free: 8.266 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002506/0.3641, allocations: 27.88 kB / 1.336 GB, free: 8.238 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.3641, allocations: 4 kB / 1.336 GB, free: 8.234 MB / 1.029 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.0001637/0.3643, allocations: 152.1 kB / 1.336 GB, free: 8.074 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.76e-05/0.3643, allocations: 15.91 kB / 1.336 GB, free: 8.059 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.576e-05/0.3644, allocations: 21.45 kB / 1.336 GB, free: 8.031 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.3644, allocations: 4 kB / 1.336 GB, free: 8.027 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.3644, allocations: 0 / 1.336 GB, free: 8.027 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.3644, allocations: 0 / 1.336 GB, free: 8.027 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006293/0.365, allocations: 398 kB / 1.336 GB, free: 7.602 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.3651, allocations: 0 / 1.336 GB, free: 7.602 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.608e-05/0.3651, allocations: 4 kB / 1.336 GB, free: 7.598 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.3651, allocations: 0 / 1.336 GB, free: 7.598 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.3651, allocations: 7.922 kB / 1.336 GB, free: 7.59 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.3651, allocations: 7.938 kB / 1.336 GB, free: 7.582 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3651, allocations: 0 / 1.336 GB, free: 7.582 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002713/0.3654, allocations: 232.1 kB / 1.337 GB, free: 7.336 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.494e-05/0.3654, allocations: 19.89 kB / 1.337 GB, free: 7.316 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.936e-05/0.3654, allocations: 8 kB / 1.337 GB, free: 7.309 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.3656, allocations: 11.98 kB / 1.337 GB, free: 7.297 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.647e-05/0.3656, allocations: 23.91 kB / 1.337 GB, free: 7.273 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.644e-05/0.3657, allocations: 8 kB / 1.337 GB, free: 7.266 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001483/0.3658, allocations: 144.5 kB / 1.337 GB, free: 7.125 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3658, allocations: 0 / 1.337 GB, free: 7.125 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003346/0.3662, allocations: 51.92 kB / 1.337 GB, free: 7.074 MB / 1.029 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.0004495/0.3666, allocations: 175.5 kB / 1.337 GB, free: 6.918 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002646/0.3669, allocations: 91.97 kB / 1.337 GB, free: 6.828 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.3669, allocations: 7.938 kB / 1.337 GB, free: 6.82 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.848e-05/0.367, allocations: 43.98 kB / 1.337 GB, free: 6.777 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000455/0.3674, allocations: 49.08 kB / 1.337 GB, free: 6.73 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000653/0.3681, allocations: 303.3 kB / 1.338 GB, free: 6.41 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001246/0.3682, allocations: 112.5 kB / 1.338 GB, free: 6.281 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.309e-05/0.3683, allocations: 25.61 kB / 1.338 GB, free: 6.258 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.223e-05/0.3684, allocations: 19.44 kB / 1.338 GB, free: 6.238 MB / 1.029 GB Notification: Performance of SimCode: time 5.31e-07/0.3684, allocations: 0 / 1.338 GB, free: 6.238 MB / 1.029 GB Notification: Performance of Templates: time 0.008911/0.3773, allocations: 4.054 MB / 1.342 GB, free: 2.27 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & ./Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.040104193001753]