Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.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.001201/0.001201, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001363/0.001363, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 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 0.9877/0.9877, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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 2.422/2.422, allocations: 438.8 MB / 0.6826 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.PlotterActivationAlwaysOn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.8386 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.401e-05/2.545e-05, allocations: 6.312 kB / 0.8386 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.002484/0.002509, allocations: 1.719 MB / 0.8403 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.000926/0.003435, allocations: 0.5807 MB / 0.8408 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.703e-05/0.003512, allocations: 7.938 kB / 0.8408 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001732/0.003685, allocations: 23.73 kB / 0.8409 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0003254/0.004011, allocations: 111.4 kB / 0.841 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003026/0.004313, allocations: 147.6 kB / 0.8411 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002332/0.004546, allocations: 223.4 kB / 0.8413 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.004659, allocations: 26.42 kB / 0.8413 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01293/0.01759, allocations: 4.963 MB / 0.8462 GB, free: 8.199 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001918/0.01778, allocations: 95.73 kB / 0.8463 GB, free: 8.105 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.28e-05/0.01781, allocations: 16 kB / 0.8463 GB, free: 8.09 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 8.98e-05/0.0179, allocations: 28 kB / 0.8463 GB, free: 8.062 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 5.314e-05/0.01796, allocations: 35.83 kB / 0.8464 GB, free: 8.027 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 6.486e-05/0.01802, allocations: 51.83 kB / 0.8464 GB, free: 7.977 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002955/0.01832, allocations: 167.4 kB / 0.8466 GB, free: 7.812 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.01832, allocations: 0 / 0.8466 GB, free: 7.812 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.322e-06/0.01832, allocations: 3.938 kB / 0.8466 GB, free: 7.809 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.187e-06/0.01833, allocations: 0 / 0.8466 GB, free: 7.809 MB / 0.8073 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.0005124/0.01884, allocations: 435.1 kB / 0.847 GB, free: 7.348 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.01887, allocations: 12.62 kB / 0.847 GB, free: 7.336 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.727e-05/0.01892, allocations: 16.92 kB / 0.847 GB, free: 7.32 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001916/0.01911, allocations: 169.6 kB / 0.8472 GB, free: 7.129 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.01913, allocations: 8.312 kB / 0.8472 GB, free: 7.121 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.975e-05/0.01915, allocations: 16.38 kB / 0.8472 GB, free: 7.105 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.227e-05/0.01924, allocations: 68.25 kB / 0.8473 GB, free: 7.035 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.01924, allocations: 0 / 0.8473 GB, free: 7.035 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.01926, allocations: 8 kB / 0.8473 GB, free: 7.027 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.01926, allocations: 0 / 0.8473 GB, free: 7.027 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.486e-05/0.0193, allocations: 15.98 kB / 0.8473 GB, free: 7.012 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004157/0.01971, allocations: 263.9 kB / 0.8475 GB, free: 6.738 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 8.732e-05/0.0198, allocations: 46.55 kB / 0.8476 GB, free: 6.684 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.283e-05/0.01982, allocations: 16.86 kB / 0.8476 GB, free: 6.664 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/0.01984, allocations: 0 / 0.8476 GB, free: 6.664 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.434e-05/0.01993, allocations: 71.44 kB / 0.8477 GB, free: 6.582 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=12): time 1.113e-06/0.01993, allocations: 8 kB / 0.8477 GB, free: 6.574 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12): time 0.000147/0.02008, allocations: 81.66 kB / 0.8478 GB, free: 6.488 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.02012, allocations: 59.39 kB / 0.8478 GB, free: 6.418 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.02024, allocations: 188.5 kB / 0.848 GB, free: 6.219 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.02026, allocations: 33.7 kB / 0.848 GB, free: 6.18 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.537e-05/0.02032, allocations: 108 kB / 0.8481 GB, free: 6.07 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.146e-05/0.02034, allocations: 27.78 kB / 0.8481 GB, free: 6.043 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.26e-05/0.0204, allocations: 49.66 kB / 0.8482 GB, free: 5.988 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.595e-05/0.02048, allocations: 330.7 kB / 0.8485 GB, free: 5.656 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.065e-05/0.0205, allocations: 19.92 kB / 0.8485 GB, free: 5.637 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001554/0.02065, allocations: 216.7 kB / 0.8487 GB, free: 5.371 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.928e-05/0.02072, allocations: 81.2 kB / 0.8488 GB, free: 5.277 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.02072, allocations: 0 / 0.8488 GB, free: 5.277 MB / 0.8073 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001074/0.02083, allocations: 97.52 kB / 0.8489 GB, free: 5.176 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.02084, allocations: 4 kB / 0.8489 GB, free: 5.172 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.02085, allocations: 4 kB / 0.8489 GB, free: 5.168 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.02086, allocations: 4.125 kB / 0.8489 GB, free: 5.164 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.206e-05/0.02093, allocations: 16 kB / 0.8489 GB, free: 5.148 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.02093, allocations: 7.938 kB / 0.8489 GB, free: 5.141 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.955e-05/0.02101, allocations: 15.94 kB / 0.849 GB, free: 5.125 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.02102, allocations: 12 kB / 0.849 GB, free: 5.113 MB / 0.8073 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 7.676e-05/0.0211, allocations: 124.6 kB / 0.8491 GB, free: 4.98 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.505e-05/0.02111, allocations: 11.98 kB / 0.8491 GB, free: 4.969 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.758e-05/0.02114, allocations: 21.45 kB / 0.8491 GB, free: 4.953 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.02114, allocations: 0 / 0.8491 GB, free: 4.953 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.02114, allocations: 4 kB / 0.8491 GB, free: 4.949 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.02115, allocations: 0 / 0.8491 GB, free: 4.949 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002631/0.02141, allocations: 282.5 kB / 0.8494 GB, free: 4.648 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.02141, allocations: 0 / 0.8494 GB, free: 4.648 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.788e-05/0.02143, allocations: 11.92 kB / 0.8494 GB, free: 4.637 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.02143, allocations: 0 / 0.8494 GB, free: 4.637 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.22e-06/0.02144, allocations: 0 / 0.8494 GB, free: 4.637 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.02144, allocations: 7.938 kB / 0.8494 GB, free: 4.629 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.02144, allocations: 48 / 0.8494 GB, free: 4.629 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001011/0.02154, allocations: 175.4 kB / 0.8496 GB, free: 4.441 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.326e-05/0.02155, allocations: 15.91 kB / 0.8496 GB, free: 4.426 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.02156, allocations: 4 kB / 0.8496 GB, free: 4.422 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.63e-05/0.02161, allocations: 11.98 kB / 0.8496 GB, free: 4.41 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.117e-05/0.02165, allocations: 11.92 kB / 0.8496 GB, free: 4.398 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.02167, allocations: 7.984 kB / 0.8496 GB, free: 4.391 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.623e-05/0.02171, allocations: 45.66 kB / 0.8497 GB, free: 4.344 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.3e-07/0.02171, allocations: 0 / 0.8497 GB, free: 4.344 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001804/0.02189, allocations: 35.94 kB / 0.8497 GB, free: 4.309 MB / 0.8073 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.0003273/0.02221, allocations: 171.6 kB / 0.8499 GB, free: 4.168 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001283/0.02234, allocations: 64.7 kB / 0.8499 GB, free: 4.102 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.02235, allocations: 0 / 0.8499 GB, free: 4.102 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.326e-05/0.02239, allocations: 40.72 kB / 0.85 GB, free: 4.059 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.02261, allocations: 51.81 kB / 0.85 GB, free: 4.008 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000397/0.023, allocations: 266.1 kB / 0.8503 GB, free: 3.719 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.062e-05/0.02304, allocations: 71.98 kB / 0.8503 GB, free: 3.629 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.092e-05/0.02309, allocations: 13.73 kB / 0.8504 GB, free: 3.617 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001516/0.02325, allocations: 113.3 kB / 0.8505 GB, free: 3.504 MB / 0.8073 GB Notification: Performance of SimCode: time 9.32e-07/0.02325, allocations: 0 / 0.8505 GB, free: 3.504 MB / 0.8073 GB Notification: Performance of Templates: time 0.005555/0.0288, allocations: 3.629 MB / 0.854 GB, free: 15.93 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.429040397983044]