Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001667/0.001667, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002051/0.002051, allocations: 220.6 kB / 23 MB, free: 4.918 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.496/1.496, allocations: 230.6 MB / 256.8 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.716/2.716, allocations: 476 MB / 0.7707 GB, free: 4.746 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002165/0.002165, allocations: 67.86 kB / 1.118 GB, free: 41.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.2951, allocations: 170 MB / 1.284 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003498/0.2986, allocations: 1.736 MB / 1.285 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0018/0.3004, allocations: 0.893 MB / 1.286 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.517e-05/0.3005, allocations: 4 kB / 1.286 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002009/0.3007, allocations: 31.72 kB / 1.286 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004085/0.3011, allocations: 123.4 kB / 1.286 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004601/0.3016, allocations: 151.7 kB / 1.287 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003325/0.3019, allocations: 247.4 kB / 1.287 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.3021, allocations: 29.72 kB / 1.287 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001561/0.3022, allocations: 115.7 kB / 1.287 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01645/0.3187, allocations: 1.988 MB / 1.289 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.831e-05/0.3187, allocations: 20 kB / 1.289 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001365/0.3189, allocations: 39.97 kB / 1.289 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.574e-05/0.319, allocations: 39.91 kB / 1.289 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001251/0.3191, allocations: 75.62 kB / 1.289 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004259/0.3195, allocations: 231.1 kB / 1.289 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3195, allocations: 0 / 1.289 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.923e-06/0.3195, allocations: 0 / 1.289 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.3195, allocations: 0 / 1.289 GB, free: 6.781 MB / 0.9825 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.0008985/0.3204, allocations: 488.7 kB / 1.29 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.3205, allocations: 8.031 kB / 1.29 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.965e-05/0.3205, allocations: 32.78 kB / 1.29 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003133/0.3209, allocations: 189.7 kB / 1.29 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.3209, allocations: 12 kB / 1.29 GB, free: 6 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.758e-05/0.3209, allocations: 16 kB / 1.29 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002419/0.3212, allocations: 112.7 kB / 1.29 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.3212, allocations: 0 / 1.29 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.3212, allocations: 3.938 kB / 1.29 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.3212, allocations: 7.938 kB / 1.29 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001342/0.3213, allocations: 51.97 kB / 1.29 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008501/0.3222, allocations: 468.1 kB / 1.291 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001815/0.3223, allocations: 89.31 kB / 1.291 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.841e-05/0.3224, allocations: 41.7 kB / 1.291 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.3224, allocations: 0 / 1.291 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000275/0.3227, allocations: 125 kB / 1.291 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=15): time 1.332e-06/0.3227, allocations: 4 kB / 1.291 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15): time 0.0003598/0.3231, allocations: 157.5 kB / 1.291 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.107e-05/0.3231, allocations: 81.11 kB / 1.291 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000233/0.3234, allocations: 209.2 kB / 1.291 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.102e-05/0.3234, allocations: 33.7 kB / 1.291 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.3235, allocations: 120.5 kB / 1.291 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.711e-05/0.3236, allocations: 35.73 kB / 1.292 GB, free: 4.34 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.84e-05/0.3237, allocations: 61.61 kB / 1.292 GB, free: 4.273 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.3238, allocations: 334.8 kB / 1.292 GB, free: 3.938 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.877e-05/0.3239, allocations: 27.98 kB / 1.292 GB, free: 3.91 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003259/0.3242, allocations: 251.5 kB / 1.292 GB, free: 3.609 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001715/0.3244, allocations: 119.1 kB / 1.292 GB, free: 3.473 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3244, allocations: 3.938 kB / 1.292 GB, free: 3.469 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002679/0.3247, allocations: 156.6 kB / 1.292 GB, free: 3.312 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.3247, allocations: 8.156 kB / 1.292 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.3247, allocations: 4 kB / 1.292 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.3247, allocations: 4.094 kB / 1.292 GB, free: 3.297 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.3248, allocations: 19.92 kB / 1.292 GB, free: 3.277 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.964e-05/0.3248, allocations: 4 kB / 1.292 GB, free: 3.273 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002237/0.3251, allocations: 31.86 kB / 1.293 GB, free: 3.242 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.3251, allocations: 11.94 kB / 1.293 GB, free: 3.23 MB / 0.9825 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.0001452/0.3252, allocations: 139.5 kB / 1.293 GB, free: 3.086 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.546e-05/0.3253, allocations: 23.84 kB / 1.293 GB, free: 3.062 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.118e-05/0.3253, allocations: 21.47 kB / 1.293 GB, free: 3.035 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.3253, allocations: 4 kB / 1.293 GB, free: 3.031 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.3253, allocations: 0 / 1.293 GB, free: 3.031 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.794e-06/0.3253, allocations: 7.984 kB / 1.293 GB, free: 3.023 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006153/0.3259, allocations: 386 kB / 1.293 GB, free: 2.609 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.326, allocations: 0 / 1.293 GB, free: 2.609 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.182e-05/0.326, allocations: 4 kB / 1.293 GB, free: 2.605 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.326, allocations: 4 kB / 1.293 GB, free: 2.602 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.326, allocations: 4 kB / 1.293 GB, free: 2.598 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.326, allocations: 4 kB / 1.293 GB, free: 2.594 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.251e-05/0.326, allocations: 8 kB / 1.293 GB, free: 2.586 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002802/0.3263, allocations: 240 kB / 1.293 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.798e-05/0.3263, allocations: 15.84 kB / 1.293 GB, free: 2.316 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.736e-05/0.3263, allocations: 4 kB / 1.293 GB, free: 2.312 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/0.3265, allocations: 15.97 kB / 1.293 GB, free: 2.297 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.89e-05/0.3265, allocations: 23.91 kB / 1.293 GB, free: 2.273 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.44e-05/0.3266, allocations: 8 kB / 1.293 GB, free: 2.266 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001401/0.3267, allocations: 147 kB / 1.294 GB, free: 2.121 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3267, allocations: 0 / 1.294 GB, free: 2.121 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003248/0.327, allocations: 43.94 kB / 1.294 GB, free: 2.078 MB / 0.9825 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.0004055/0.3274, allocations: 173.1 kB / 1.294 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002437/0.3277, allocations: 95.83 kB / 1.294 GB, free: 1.832 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3277, allocations: 0 / 1.294 GB, free: 1.832 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.3278, allocations: 47.91 kB / 1.294 GB, free: 1.785 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004379/0.3282, allocations: 64.44 kB / 1.294 GB, free: 1.73 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006253/0.3289, allocations: 326 kB / 1.294 GB, free: 1.379 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001126/0.329, allocations: 112.1 kB / 1.294 GB, free: 1.25 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.5e-05/0.329, allocations: 31.42 kB / 1.294 GB, free: 1.219 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.329, allocations: 0 / 1.294 GB, free: 1.219 MB / 0.9825 GB Notification: Performance of Templates: time 0.00596/0.335, allocations: 3.246 MB / 1.298 GB, free: 14 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & ./Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.033540731761605]