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.001571/0.001571, allocations: 118.2 kB / 17.13 MB, free: 5.945 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.001704/0.001704, allocations: 209.5 kB / 20.09 MB, free: 2.996 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.512/1.512, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.963/2.963, allocations: 0.49 GB / 0.7923 GB, free: 1.324 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.002062/0.002062, allocations: 63.89 kB / 1.15 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9941/0.9962, allocations: 176.1 MB / 1.322 GB, free: 25.04 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.002769/0.999, allocations: 1.768 MB / 1.324 GB, free: 23.81 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001332/1, allocations: 0.9414 MB / 1.325 GB, free: 23.18 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.396e-05/1, allocations: 3.938 kB / 1.325 GB, free: 23.18 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001738/1.001, allocations: 33.31 kB / 1.325 GB, free: 23.15 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003224/1.001, allocations: 122.3 kB / 1.325 GB, free: 23.09 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002981/1.001, allocations: 152.8 kB / 1.325 GB, free: 23.02 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002276/1.001, allocations: 244.5 kB / 1.325 GB, free: 22.91 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/1.002, allocations: 29 kB / 1.325 GB, free: 22.89 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/1.002, allocations: 119.2 kB / 1.325 GB, free: 22.85 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01497/1.017, allocations: 1.994 MB / 1.327 GB, free: 22.31 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.965e-05/1.017, allocations: 17.94 kB / 1.327 GB, free: 22.31 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001359/1.017, allocations: 31.62 kB / 1.327 GB, free: 22.3 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.532e-05/1.017, allocations: 46.52 kB / 1.327 GB, free: 22.28 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001232/1.017, allocations: 90.47 kB / 1.327 GB, free: 22.22 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003842/1.017, allocations: 227.8 kB / 1.328 GB, free: 22.13 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/1.017, allocations: 0 / 1.328 GB, free: 22.13 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.663e-06/1.017, allocations: 4.812 kB / 1.328 GB, free: 22.12 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.532e-06/1.017, allocations: 0 / 1.328 GB, free: 22.12 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.0007813/1.018, allocations: 0.5587 MB / 1.328 GB, free: 21.62 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/1.018, allocations: 13.02 kB / 1.328 GB, free: 21.61 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.491e-05/1.018, allocations: 24.55 kB / 1.328 GB, free: 21.6 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002405/1.019, allocations: 246.7 kB / 1.328 GB, free: 21.36 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/1.019, allocations: 14.47 kB / 1.328 GB, free: 21.36 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.172e-05/1.019, allocations: 10.81 kB / 1.328 GB, free: 21.36 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002056/1.019, allocations: 118.4 kB / 1.329 GB, free: 21.28 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/1.019, allocations: 0.6562 kB / 1.329 GB, free: 21.28 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/1.019, allocations: 9 kB / 1.329 GB, free: 21.27 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/1.019, allocations: 1.938 kB / 1.329 GB, free: 21.27 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001208/1.019, allocations: 48.19 kB / 1.329 GB, free: 21.26 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000776/1.02, allocations: 0.546 MB / 1.329 GB, free: 20.83 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001641/1.02, allocations: 89.55 kB / 1.329 GB, free: 20.76 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.236e-05/1.02, allocations: 38.44 kB / 1.329 GB, free: 20.73 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.53e-05/1.02, allocations: 1.375 kB / 1.329 GB, free: 20.73 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002652/1.02, allocations: 137 kB / 1.329 GB, free: 20.64 MB / 1.061 GB Notification: Performance of pre-optimization done (n=15): time 1.273e-06/1.02, allocations: 0 / 1.329 GB, free: 20.64 MB / 1.061 GB Notification: Performance of matching and sorting (n=15): time 0.0003705/1.021, allocations: 157.3 kB / 1.33 GB, free: 20.56 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/1.021, allocations: 88.08 kB / 1.33 GB, free: 20.46 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001885/1.021, allocations: 197.8 kB / 1.33 GB, free: 20.33 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.909e-05/1.021, allocations: 37.42 kB / 1.33 GB, free: 20.29 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.921e-05/1.021, allocations: 121.2 kB / 1.33 GB, free: 20.18 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.702e-05/1.021, allocations: 36.55 kB / 1.33 GB, free: 20.15 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.782e-05/1.021, allocations: 59.44 kB / 1.33 GB, free: 20.12 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.283e-05/1.021, allocations: 330 kB / 1.33 GB, free: 19.8 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.776e-05/1.021, allocations: 29.19 kB / 1.33 GB, free: 19.79 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000335/1.022, allocations: 140.5 kB / 1.331 GB, free: 19.68 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001985/1.022, allocations: 119.5 kB / 1.331 GB, free: 19.58 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/1.022, allocations: 0 / 1.331 GB, free: 19.58 MB / 1.061 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003765/1.022, allocations: 156.8 kB / 1.331 GB, free: 19.5 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/1.022, allocations: 6.062 kB / 1.331 GB, free: 19.5 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/1.022, allocations: 2.406 kB / 1.331 GB, free: 19.5 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/1.022, allocations: 3.578 kB / 1.331 GB, free: 19.5 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/1.022, allocations: 16.53 kB / 1.331 GB, free: 19.5 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/1.022, allocations: 7.406 kB / 1.331 GB, free: 19.5 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003242/1.023, allocations: 34.62 kB / 1.331 GB, free: 19.48 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/1.023, allocations: 5.812 kB / 1.331 GB, free: 19.48 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.0001388/1.023, allocations: 146.7 kB / 1.331 GB, free: 19.34 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.816e-05/1.023, allocations: 16.28 kB / 1.331 GB, free: 19.34 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.564e-05/1.023, allocations: 20.44 kB / 1.331 GB, free: 19.32 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/1.023, allocations: 2.875 kB / 1.331 GB, free: 19.32 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.014e-06/1.023, allocations: 0 / 1.331 GB, free: 19.32 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/1.023, allocations: 6.594 kB / 1.331 GB, free: 19.32 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007325/1.024, allocations: 468 kB / 1.332 GB, free: 18.95 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/1.024, allocations: 0 / 1.332 GB, free: 18.95 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.967e-05/1.024, allocations: 3.703 kB / 1.332 GB, free: 18.95 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/1.024, allocations: 1.344 kB / 1.332 GB, free: 18.95 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/1.024, allocations: 10.23 kB / 1.332 GB, free: 18.94 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/1.024, allocations: 13.67 kB / 1.332 GB, free: 18.93 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/1.024, allocations: 1.438 kB / 1.332 GB, free: 18.93 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002792/1.024, allocations: 231 kB / 1.332 GB, free: 18.75 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.558e-05/1.024, allocations: 95.19 kB / 1.332 GB, free: 18.65 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.532e-05/1.024, allocations: 2.078 kB / 1.332 GB, free: 18.65 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002015/1.024, allocations: 20.08 kB / 1.332 GB, free: 18.64 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.017e-05/1.024, allocations: 18.98 kB / 1.332 GB, free: 18.64 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.188e-05/1.024, allocations: 11.42 kB / 1.332 GB, free: 18.63 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001604/1.025, allocations: 145.1 kB / 1.332 GB, free: 18.54 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/1.025, allocations: 0 / 1.332 GB, free: 18.54 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005352/1.025, allocations: 41.36 kB / 1.332 GB, free: 18.53 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.0004548/1.026, allocations: 180.8 kB / 1.332 GB, free: 18.41 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003206/1.026, allocations: 91.11 kB / 1.332 GB, free: 18.38 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/1.026, allocations: 0 / 1.332 GB, free: 18.38 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001359/1.026, allocations: 45.86 kB / 1.332 GB, free: 18.37 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006372/1.027, allocations: 52.44 kB / 1.332 GB, free: 18.36 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000693/1.027, allocations: 334.7 kB / 1.333 GB, free: 18.11 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001901/1.028, allocations: 0.7232 MB / 1.333 GB, free: 17.41 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.489e-05/1.028, allocations: 23.78 kB / 1.333 GB, free: 17.4 MB / 1.061 GB Notification: Performance of SimCode: time 3.51e-07/1.028, allocations: 0 / 1.333 GB, free: 17.4 MB / 1.061 GB Notification: Performance of Templates: time 0.009697/1.037, allocations: 3.215 MB / 1.337 GB, free: 17.04 MB / 1.061 GB " [Timeout remaining time 299] 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 -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] "" 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: 12.718937222001841]