Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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.001029/0.001029, allocations: 83.59 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.001029/0.001029, allocations: 169 kB / 23.82 MB, free: 0.7461 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.9817/0.9817, allocations: 177.1 MB / 204.2 MB, free: 5.645 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.825/1.825, allocations: 377.8 MB / 0.6236 GB, free: 8.531 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.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 0.8115 GB, free: 1.758 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.717e-05/1.905e-05, allocations: 3.188 kB / 0.8115 GB, free: 1.754 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003098/0.003117, allocations: 1.79 MB / 0.8132 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001877/0.004995, allocations: 0.9302 MB / 0.8142 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.497e-05/0.00509, allocations: 7.938 kB / 0.8142 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002072/0.005297, allocations: 24.95 kB / 0.8142 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0004263/0.005723, allocations: 127.3 kB / 0.8143 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003696/0.006093, allocations: 152.9 kB / 0.8145 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003085/0.006401, allocations: 255.3 kB / 0.8147 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.006528, allocations: 25.73 kB / 0.8147 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002143/0.006743, allocations: 144.4 kB / 0.8149 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01035/0.01709, allocations: 2.715 MB / 0.8175 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.126e-05/0.01713, allocations: 16 kB / 0.8175 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.826e-05/0.01721, allocations: 40.83 kB / 0.8176 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.768e-05/0.01727, allocations: 39.83 kB / 0.8176 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.558e-05/0.01734, allocations: 68.59 kB / 0.8177 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002636/0.01761, allocations: 199.3 kB / 0.8179 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.01761, allocations: 1.281 kB / 0.8179 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.373e-06/0.01761, allocations: 0 / 0.8179 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.401e-06/0.01762, allocations: 0 / 0.8179 GB, free: 12.36 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006258/0.01824, allocations: 0.5752 MB / 0.8184 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.01828, allocations: 8.031 kB / 0.8184 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.922e-05/0.01835, allocations: 32.83 kB / 0.8185 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/0.01856, allocations: 190.9 kB / 0.8186 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.01857, allocations: 12.38 kB / 0.8187 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.031e-05/0.0186, allocations: 15.94 kB / 0.8187 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.01872, allocations: 81.55 kB / 0.8187 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.01873, allocations: 5.734 kB / 0.8188 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.01874, allocations: 4 kB / 0.8188 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.01875, allocations: 4 kB / 0.8188 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.105e-05/0.01881, allocations: 34.72 kB / 0.8188 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004916/0.0193, allocations: 429.9 kB / 0.8192 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002267/0.01953, allocations: 107.7 kB / 0.8193 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.287e-05/0.01957, allocations: 28.73 kB / 0.8193 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.01959, allocations: 0 / 0.8193 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001193/0.0197, allocations: 102.4 kB / 0.8194 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 1.343e-06/0.01971, allocations: 0 / 0.8194 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.0002324/0.01994, allocations: 148.3 kB / 0.8196 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.01997, allocations: 59.33 kB / 0.8196 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.02012, allocations: 246.6 kB / 0.8199 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.02014, allocations: 37.64 kB / 0.8199 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.371e-05/0.02021, allocations: 172.6 kB / 0.8201 GB, free: 9.918 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.699e-05/0.02024, allocations: 39.75 kB / 0.8201 GB, free: 9.879 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-05/0.0203, allocations: 59.34 kB / 0.8202 GB, free: 9.812 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.02042, allocations: 0.5001 MB / 0.8206 GB, free: 9.301 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.704e-05/0.02046, allocations: 20.89 kB / 0.8207 GB, free: 9.281 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001828/0.02064, allocations: 231.9 kB / 0.8209 GB, free: 8.992 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.049e-05/0.02073, allocations: 105.7 kB / 0.821 GB, free: 8.875 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.02073, allocations: 0 / 0.821 GB, free: 8.875 MB / 0.7761 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001564/0.02089, allocations: 145.4 kB / 0.8211 GB, free: 8.727 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.0209, allocations: 4 kB / 0.8211 GB, free: 8.723 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.0209, allocations: 0 / 0.8211 GB, free: 8.723 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.02092, allocations: 4 kB / 0.8211 GB, free: 8.719 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.547e-05/0.02097, allocations: 26.42 kB / 0.8212 GB, free: 8.695 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.473e-06/0.02098, allocations: 4 kB / 0.8212 GB, free: 8.691 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.611e-05/0.02108, allocations: 27.88 kB / 0.8212 GB, free: 8.664 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.02108, allocations: 4.047 kB / 0.8212 GB, free: 8.66 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition3,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,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition4,$whenCondition5) * 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 8.816e-05/0.02117, allocations: 178.5 kB / 0.8214 GB, free: 8.477 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.184e-05/0.02119, allocations: 28.73 kB / 0.8214 GB, free: 8.449 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.373e-05/0.02123, allocations: 25.8 kB / 0.8214 GB, free: 8.426 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.02123, allocations: 0 / 0.8214 GB, free: 8.426 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.02123, allocations: 5.062 kB / 0.8214 GB, free: 8.422 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.02124, allocations: 4 kB / 0.8214 GB, free: 8.418 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004001/0.02164, allocations: 454.2 kB / 0.8219 GB, free: 7.934 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.02164, allocations: 0 / 0.8219 GB, free: 7.934 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.829e-05/0.02166, allocations: 9.016 kB / 0.8219 GB, free: 7.926 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.02166, allocations: 0 / 0.8219 GB, free: 7.926 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.02167, allocations: 8 kB / 0.8219 GB, free: 7.918 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.02167, allocations: 1.75 kB / 0.8219 GB, free: 7.918 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.02167, allocations: 4 kB / 0.8219 GB, free: 7.914 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000176/0.02185, allocations: 279.6 kB / 0.8221 GB, free: 7.621 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.953e-05/0.02187, allocations: 19.84 kB / 0.8222 GB, free: 7.602 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.02189, allocations: 4 kB / 0.8222 GB, free: 7.598 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.784e-05/0.02194, allocations: 10.48 kB / 0.8222 GB, free: 7.59 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.476e-05/0.02201, allocations: 23.95 kB / 0.8222 GB, free: 7.566 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/0.02203, allocations: 8 kB / 0.8222 GB, free: 7.559 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.991e-05/0.02212, allocations: 178.3 kB / 0.8224 GB, free: 7.387 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.1e-08/0.02212, allocations: 0 / 0.8224 GB, free: 7.387 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002081/0.02233, allocations: 47.95 kB / 0.8224 GB, free: 7.34 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,booPul.y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.0003565/0.02268, allocations: 176.5 kB / 0.8226 GB, free: 7.184 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001807/0.02286, allocations: 106 kB / 0.8227 GB, free: 7.078 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.02286, allocations: 0 / 0.8227 GB, free: 7.078 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.729e-05/0.02293, allocations: 51.55 kB / 0.8227 GB, free: 7.023 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002913/0.02322, allocations: 62.11 kB / 0.8228 GB, free: 6.965 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004771/0.0237, allocations: 310.9 kB / 0.8231 GB, free: 6.629 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.309e-05/0.02374, allocations: 71.98 kB / 0.8232 GB, free: 6.539 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.006e-05/0.02379, allocations: 17.64 kB / 0.8232 GB, free: 6.52 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.8e-05/0.02384, allocations: 28.48 kB / 0.8232 GB, free: 6.492 MB / 0.7761 GB Notification: Performance of SimCode: time 5.51e-07/0.02384, allocations: 3.938 kB / 0.8232 GB, free: 6.488 MB / 0.7761 GB Notification: Performance of Templates: time 0.005452/0.02929, allocations: 4.025 MB / 0.8271 GB, free: 2.52 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & ./Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.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.218231311067939]