Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001312/0.001312, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001417/0.001417, allocations: 161 kB / 23.82 MB, free: 0.75 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.9446/0.9446, allocations: 177.2 MB / 204.2 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.807/1.807, allocations: 377.8 MB / 0.6236 GB, free: 8.551 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.PlotterActivationAlwaysOn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 3.938 kB / 0.8115 GB, free: 0.625 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.881e-05/3.04e-05, allocations: 8.844 kB / 0.8115 GB, free: 0.6172 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.002247/0.002278, allocations: 1.689 MB / 0.8131 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.000803/0.003081, allocations: 0.5717 MB / 0.8137 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.246e-05/0.003153, allocations: 7.938 kB / 0.8137 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001899/0.003343, allocations: 19.78 kB / 0.8137 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0003492/0.003692, allocations: 124.2 kB / 0.8138 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003018/0.003994, allocations: 147.6 kB / 0.814 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002089/0.004203, allocations: 216.2 kB / 0.8142 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.004309, allocations: 17.75 kB / 0.8142 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01225/0.01656, allocations: 4.962 MB / 0.8191 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001588/0.01672, allocations: 79.83 kB / 0.8191 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.037e-05/0.01675, allocations: 12 kB / 0.8191 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 8.432e-05/0.01683, allocations: 44.66 kB / 0.8192 GB, free: 10.6 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.113e-05/0.01688, allocations: 31.91 kB / 0.8192 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.871e-05/0.01695, allocations: 52.77 kB / 0.8193 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002885/0.01724, allocations: 159.5 kB / 0.8194 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.01724, allocations: 4 kB / 0.8194 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.312e-06/0.01724, allocations: 5.156 kB / 0.8194 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.01725, allocations: 0 / 0.8194 GB, free: 10.36 MB / 0.7292 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.0005387/0.01779, allocations: 0.5504 MB / 0.82 GB, free: 9.758 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.01782, allocations: 14.25 kB / 0.82 GB, free: 9.746 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.547e-05/0.01789, allocations: 20.84 kB / 0.82 GB, free: 9.727 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001997/0.01809, allocations: 180.3 kB / 0.8202 GB, free: 9.523 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.0181, allocations: 8.375 kB / 0.8202 GB, free: 9.516 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.384e-05/0.01813, allocations: 24.3 kB / 0.8202 GB, free: 9.492 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/0.01824, allocations: 77.48 kB / 0.8203 GB, free: 9.41 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.01825, allocations: 3 kB / 0.8203 GB, free: 9.41 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.01826, allocations: 0 / 0.8203 GB, free: 9.41 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.01827, allocations: 4 kB / 0.8203 GB, free: 9.406 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.096e-05/0.01832, allocations: 27.97 kB / 0.8203 GB, free: 9.379 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004674/0.01878, allocations: 396.8 kB / 0.8207 GB, free: 8.957 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001004/0.01889, allocations: 59.05 kB / 0.8207 GB, free: 8.887 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.318e-05/0.01892, allocations: 24.3 kB / 0.8208 GB, free: 8.859 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/0.01893, allocations: 4 kB / 0.8208 GB, free: 8.855 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.226e-05/0.01902, allocations: 85.59 kB / 0.8209 GB, free: 8.758 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=12): time 1.403e-06/0.01902, allocations: 0.5625 kB / 0.8209 GB, free: 8.758 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12): time 0.0002482/0.01927, allocations: 114.7 kB / 0.821 GB, free: 8.641 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/0.01931, allocations: 59.41 kB / 0.821 GB, free: 8.57 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.01945, allocations: 247.7 kB / 0.8213 GB, free: 8.309 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.01947, allocations: 34.8 kB / 0.8213 GB, free: 8.27 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.993e-05/0.01954, allocations: 158.8 kB / 0.8214 GB, free: 8.109 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.906e-05/0.01956, allocations: 27.75 kB / 0.8215 GB, free: 8.082 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-05/0.01962, allocations: 63.97 kB / 0.8215 GB, free: 8.012 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.01972, allocations: 0.4962 MB / 0.822 GB, free: 7.504 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.024e-05/0.01975, allocations: 16.7 kB / 0.822 GB, free: 7.488 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000172/0.01992, allocations: 251.7 kB / 0.8223 GB, free: 7.18 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.783e-05/0.02, allocations: 96.42 kB / 0.8224 GB, free: 7.07 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.02, allocations: 0 / 0.8224 GB, free: 7.07 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001327/0.02014, allocations: 117.5 kB / 0.8225 GB, free: 6.949 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.02015, allocations: 8 kB / 0.8225 GB, free: 6.941 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.02015, allocations: 0 / 0.8225 GB, free: 6.941 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.02017, allocations: 1.25 kB / 0.8225 GB, free: 6.941 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.309e-05/0.02023, allocations: 20 kB / 0.8225 GB, free: 6.922 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.02024, allocations: 3.938 kB / 0.8225 GB, free: 6.918 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.237e-05/0.02032, allocations: 24.91 kB / 0.8225 GB, free: 6.895 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.02033, allocations: 8 kB / 0.8225 GB, free: 6.887 MB / 0.7292 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 0.0001543/0.02048, allocations: 173.4 kB / 0.8227 GB, free: 6.707 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.867e-05/0.0205, allocations: 19.89 kB / 0.8227 GB, free: 6.688 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.036e-05/0.02053, allocations: 17.47 kB / 0.8227 GB, free: 6.664 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.02053, allocations: 1.109 kB / 0.8227 GB, free: 6.664 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.02054, allocations: 7.984 kB / 0.8227 GB, free: 6.656 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.02054, allocations: 7.875 kB / 0.8228 GB, free: 6.648 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000285/0.02083, allocations: 402.3 kB / 0.8231 GB, free: 6.215 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.02083, allocations: 4.656 kB / 0.8231 GB, free: 6.211 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.219e-05/0.02084, allocations: 3.938 kB / 0.8231 GB, free: 6.207 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.02084, allocations: 7.062 kB / 0.8232 GB, free: 6.203 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.02085, allocations: 3.938 kB / 0.8232 GB, free: 6.199 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.02085, allocations: 4 kB / 0.8232 GB, free: 6.195 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.02085, allocations: 0 / 0.8232 GB, free: 6.195 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001275/0.02098, allocations: 251.8 kB / 0.8234 GB, free: 5.93 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.483e-05/0.021, allocations: 15.91 kB / 0.8234 GB, free: 5.914 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.02101, allocations: 7.938 kB / 0.8234 GB, free: 5.906 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.243e-05/0.02105, allocations: 7.984 kB / 0.8234 GB, free: 5.898 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.025e-05/0.0211, allocations: 13.14 kB / 0.8234 GB, free: 5.887 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/0.02112, allocations: 7.984 kB / 0.8235 GB, free: 5.879 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 7.269e-05/0.02119, allocations: 161.1 kB / 0.8236 GB, free: 5.723 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7.1e-08/0.02119, allocations: 4.594 kB / 0.8236 GB, free: 5.719 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000212/0.0214, allocations: 41.09 kB / 0.8236 GB, free: 5.68 MB / 0.7292 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.0004038/0.02181, allocations: 182.7 kB / 0.8238 GB, free: 5.523 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001895/0.022, allocations: 75.52 kB / 0.8239 GB, free: 5.445 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.022, allocations: 0 / 0.8239 GB, free: 5.445 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.862e-05/0.02206, allocations: 43.61 kB / 0.8239 GB, free: 5.398 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.02236, allocations: 50.09 kB / 0.824 GB, free: 5.355 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005668/0.02292, allocations: 281.2 kB / 0.8243 GB, free: 5.055 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.445e-05/0.02298, allocations: 68 kB / 0.8243 GB, free: 4.969 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.485e-05/0.02305, allocations: 21.47 kB / 0.8243 GB, free: 4.945 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.268e-05/0.0231, allocations: 20.5 kB / 0.8244 GB, free: 4.926 MB / 0.7292 GB Notification: Performance of SimCode: time 1.143e-06/0.02311, allocations: 0 / 0.8244 GB, free: 4.926 MB / 0.7292 GB Notification: Performance of Templates: time 0.006908/0.03001, allocations: 3.748 MB / 0.828 GB, free: 1.223 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & ./Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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: 4.89049412496388]