Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00161/0.00161, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001763/0.001763, allocations: 214.4 kB / 22.99 MB, free: 4.945 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.461/1.461, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.251/3.251, allocations: 0.5107 GB / 0.8166 GB, free: 17.83 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.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_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_latest_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.002025/0.002025, allocations: 64.8 kB / 1.187 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.3396, allocations: 181.9 MB / 1.365 GB, free: 13.58 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003448/0.343, allocations: 1.726 MB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001832/0.3449, allocations: 0.9018 MB / 1.367 GB, free: 10.93 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.345, allocations: 4 kB / 1.367 GB, free: 10.93 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001834/0.3451, allocations: 27.72 kB / 1.367 GB, free: 10.9 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004146/0.3456, allocations: 135.3 kB / 1.367 GB, free: 10.77 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003958/0.346, allocations: 151.7 kB / 1.367 GB, free: 10.62 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003485/0.3463, allocations: 239.4 kB / 1.368 GB, free: 10.39 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.3464, allocations: 33.72 kB / 1.368 GB, free: 10.35 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001753/0.3466, allocations: 111.7 kB / 1.368 GB, free: 10.24 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01607/0.3627, allocations: 1.984 MB / 1.37 GB, free: 8.785 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.036e-05/0.3628, allocations: 16 kB / 1.37 GB, free: 8.77 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001273/0.3629, allocations: 43.98 kB / 1.37 GB, free: 8.727 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.571e-05/0.363, allocations: 43.83 kB / 1.37 GB, free: 8.684 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001117/0.3631, allocations: 71.64 kB / 1.37 GB, free: 8.613 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003894/0.3635, allocations: 223.1 kB / 1.37 GB, free: 8.395 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.3635, allocations: 0 / 1.37 GB, free: 8.395 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.804e-06/0.3635, allocations: 0 / 1.37 GB, free: 8.395 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.244e-05/0.3635, allocations: 4 kB / 1.37 GB, free: 8.391 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.0008698/0.3644, allocations: 496.6 kB / 1.371 GB, free: 7.863 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.3644, allocations: 8.031 kB / 1.371 GB, free: 7.855 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.752e-05/0.3645, allocations: 20.84 kB / 1.371 GB, free: 7.836 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003097/0.3648, allocations: 197.7 kB / 1.371 GB, free: 7.617 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.3648, allocations: 4 kB / 1.371 GB, free: 7.613 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.146e-05/0.3648, allocations: 16 kB / 1.371 GB, free: 7.598 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002272/0.365, allocations: 121.4 kB / 1.371 GB, free: 7.469 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.3651, allocations: 0 / 1.371 GB, free: 7.469 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.3651, allocations: 0 / 1.371 GB, free: 7.469 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.3651, allocations: 4 kB / 1.371 GB, free: 7.465 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000123/0.3652, allocations: 59.81 kB / 1.371 GB, free: 7.406 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008482/0.366, allocations: 460.3 kB / 1.371 GB, free: 6.922 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001914/0.3662, allocations: 93.12 kB / 1.372 GB, free: 6.812 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.059e-05/0.3663, allocations: 41.89 kB / 1.372 GB, free: 6.766 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.3663, allocations: 0 / 1.372 GB, free: 6.766 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002075/0.3665, allocations: 128.3 kB / 1.372 GB, free: 6.625 MB / 1.061 GB Notification: Performance of pre-optimization done (n=15): time 1.203e-06/0.3665, allocations: 0 / 1.372 GB, free: 6.625 MB / 1.061 GB Notification: Performance of matching and sorting (n=15): time 0.0003562/0.3669, allocations: 159.1 kB / 1.372 GB, free: 6.465 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.393e-05/0.367, allocations: 85.09 kB / 1.372 GB, free: 6.363 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002433/0.3672, allocations: 210.5 kB / 1.372 GB, free: 6.145 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.802e-05/0.3672, allocations: 37.83 kB / 1.372 GB, free: 6.102 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.3674, allocations: 120.5 kB / 1.372 GB, free: 5.98 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.519e-05/0.3674, allocations: 35.7 kB / 1.372 GB, free: 5.945 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.363e-05/0.3675, allocations: 57.67 kB / 1.372 GB, free: 5.883 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001667/0.3677, allocations: 334.8 kB / 1.373 GB, free: 5.547 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.091e-05/0.3677, allocations: 39.92 kB / 1.373 GB, free: 5.508 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003381/0.3681, allocations: 250.9 kB / 1.373 GB, free: 5.207 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/0.3682, allocations: 113.2 kB / 1.373 GB, free: 5.078 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3682, allocations: 0 / 1.373 GB, free: 5.078 MB / 1.061 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002743/0.3685, allocations: 161.4 kB / 1.373 GB, free: 4.914 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.3685, allocations: 8 kB / 1.373 GB, free: 4.906 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.3685, allocations: 0 / 1.373 GB, free: 4.906 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.3685, allocations: 4 kB / 1.373 GB, free: 4.902 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.398e-05/0.3686, allocations: 23.92 kB / 1.373 GB, free: 4.879 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.3687, allocations: 7.984 kB / 1.373 GB, free: 4.871 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002161/0.3689, allocations: 32.03 kB / 1.373 GB, free: 4.84 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.3689, allocations: 8 kB / 1.373 GB, free: 4.832 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.0001494/0.369, allocations: 139.5 kB / 1.373 GB, free: 4.688 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.426e-05/0.3691, allocations: 23.89 kB / 1.374 GB, free: 4.664 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.905e-05/0.3691, allocations: 17.56 kB / 1.374 GB, free: 4.641 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.3691, allocations: 3.984 kB / 1.374 GB, free: 4.637 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.3691, allocations: 0 / 1.374 GB, free: 4.637 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.3691, allocations: 4 kB / 1.374 GB, free: 4.633 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006001/0.3697, allocations: 389.9 kB / 1.374 GB, free: 4.215 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.3697, allocations: 3.984 kB / 1.374 GB, free: 4.211 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.276e-05/0.3698, allocations: 4 kB / 1.374 GB, free: 4.207 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.3698, allocations: 4 kB / 1.374 GB, free: 4.203 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.3698, allocations: 4 kB / 1.374 GB, free: 4.199 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3698, allocations: 0 / 1.374 GB, free: 4.199 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.3698, allocations: 4 kB / 1.374 GB, free: 4.195 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002628/0.37, allocations: 236.1 kB / 1.374 GB, free: 3.945 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.649e-05/0.3701, allocations: 11.91 kB / 1.374 GB, free: 3.934 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.522e-05/0.3701, allocations: 4 kB / 1.374 GB, free: 3.93 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.3702, allocations: 23.91 kB / 1.374 GB, free: 3.906 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.834e-05/0.3703, allocations: 23.91 kB / 1.374 GB, free: 3.883 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.427e-05/0.3703, allocations: 8 kB / 1.374 GB, free: 3.875 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001471/0.3705, allocations: 144.2 kB / 1.374 GB, free: 3.734 MB / 1.061 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3705, allocations: 0 / 1.374 GB, free: 3.734 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003167/0.3708, allocations: 47.89 kB / 1.374 GB, free: 3.688 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.0004237/0.3712, allocations: 175 kB / 1.375 GB, free: 3.531 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002436/0.3715, allocations: 103.6 kB / 1.375 GB, free: 3.434 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3715, allocations: 4.062 kB / 1.375 GB, free: 3.43 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.3716, allocations: 51.91 kB / 1.375 GB, free: 3.379 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004192/0.372, allocations: 48.98 kB / 1.375 GB, free: 3.332 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005922/0.3726, allocations: 325.7 kB / 1.375 GB, free: 2.98 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001237/0.3727, allocations: 116.2 kB / 1.375 GB, free: 2.848 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.012e-05/0.3728, allocations: 23.42 kB / 1.375 GB, free: 2.824 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.3728, allocations: 0 / 1.375 GB, free: 2.824 MB / 1.061 GB Notification: Performance of Templates: time 0.005767/0.3785, allocations: 3.251 MB / 1.378 GB, free: 15.59 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.124717901926488]