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.0008131/0.0008131, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.0009188/0.0009188, allocations: 169.3 kB / 24.28 MB, free: 280 kB / 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.9513/0.9513, allocations: 177.1 MB / 204.6 MB, free: 5.613 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.856/1.856, allocations: 377.8 MB / 0.6239 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.263e-06/1.263e-06, allocations: 0.875 kB / 0.8115 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.788e-05/1.915e-05, allocations: 4.984 kB / 0.8115 GB, free: 0.9688 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.002211/0.00223, allocations: 1.789 MB / 0.8132 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001118/0.003348, allocations: 0.9337 MB / 0.8141 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.33e-05/0.003431, allocations: 3.938 kB / 0.8141 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001786/0.00361, allocations: 28.91 kB / 0.8142 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002978/0.003907, allocations: 119.8 kB / 0.8143 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002451/0.004152, allocations: 153 kB / 0.8144 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002334/0.004386, allocations: 251.3 kB / 0.8147 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.0045, allocations: 21.81 kB / 0.8147 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001384/0.004638, allocations: 159.6 kB / 0.8148 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007162/0.0118, allocations: 2.727 MB / 0.8175 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.953e-05/0.01184, allocations: 16.53 kB / 0.8175 GB, free: 11.9 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.944e-05/0.01192, allocations: 43.91 kB / 0.8176 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.729e-05/0.01198, allocations: 40.56 kB / 0.8176 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 7.911e-05/0.01206, allocations: 67.8 kB / 0.8177 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002692/0.01232, allocations: 187.9 kB / 0.8179 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.01233, allocations: 5.609 kB / 0.8179 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.022e-06/0.01233, allocations: 0 / 0.8179 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.01234, allocations: 0 / 0.8179 GB, free: 11.57 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005992/0.01293, allocations: 0.5739 MB / 0.8184 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.01297, allocations: 12.69 kB / 0.8184 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.619e-05/0.01304, allocations: 24.84 kB / 0.8185 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002098/0.01325, allocations: 206.4 kB / 0.8186 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.01326, allocations: 8.375 kB / 0.8187 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.62e-05/0.01329, allocations: 19.94 kB / 0.8187 GB, free: 10.65 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.01341, allocations: 82.39 kB / 0.8188 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.01342, allocations: 0 / 0.8188 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.01343, allocations: 1.562 kB / 0.8188 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.904e-06/0.01344, allocations: 4 kB / 0.8188 GB, free: 10.56 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.431e-05/0.01351, allocations: 35.91 kB / 0.8188 GB, free: 10.53 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004977/0.014, allocations: 422.5 kB / 0.8192 GB, free: 10.08 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002282/0.01423, allocations: 111.2 kB / 0.8193 GB, free: 9.961 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.978e-05/0.01427, allocations: 23.67 kB / 0.8193 GB, free: 9.934 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.01429, allocations: 10.25 kB / 0.8193 GB, free: 9.926 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001263/0.01442, allocations: 97.08 kB / 0.8194 GB, free: 9.816 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 1.212e-06/0.01442, allocations: 0 / 0.8194 GB, free: 9.816 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.0002412/0.01466, allocations: 148.6 kB / 0.8196 GB, free: 9.668 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/0.0147, allocations: 59.34 kB / 0.8196 GB, free: 9.598 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.01484, allocations: 248.2 kB / 0.8199 GB, free: 9.34 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.01487, allocations: 38.72 kB / 0.8199 GB, free: 9.297 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.544e-05/0.01494, allocations: 171.3 kB / 0.8201 GB, free: 9.125 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.874e-05/0.01497, allocations: 35.7 kB / 0.8201 GB, free: 9.09 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.434e-05/0.01503, allocations: 64.3 kB / 0.8202 GB, free: 9.02 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.01515, allocations: 0.5001 MB / 0.8206 GB, free: 8.508 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.619e-05/0.01519, allocations: 23.98 kB / 0.8207 GB, free: 8.484 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001935/0.01538, allocations: 236.8 kB / 0.8209 GB, free: 8.195 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.984e-05/0.01547, allocations: 101.4 kB / 0.821 GB, free: 8.078 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.01547, allocations: 1.344 kB / 0.821 GB, free: 8.078 MB / 0.7292 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001564/0.01563, allocations: 145.3 kB / 0.8211 GB, free: 7.93 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.01564, allocations: 4.5 kB / 0.8211 GB, free: 7.926 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.01565, allocations: 4.594 kB / 0.8211 GB, free: 7.922 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.01566, allocations: 0.6562 kB / 0.8211 GB, free: 7.922 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.555e-05/0.01571, allocations: 27.86 kB / 0.8212 GB, free: 7.895 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.01572, allocations: 4.656 kB / 0.8212 GB, free: 7.891 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.931e-05/0.01582, allocations: 31.25 kB / 0.8212 GB, free: 7.863 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.01583, allocations: 4 kB / 0.8212 GB, free: 7.859 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: 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 9.561e-05/0.01592, allocations: 174.6 kB / 0.8214 GB, free: 7.68 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.523e-05/0.01595, allocations: 27.84 kB / 0.8214 GB, free: 7.652 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.278e-05/0.01598, allocations: 21.8 kB / 0.8214 GB, free: 7.629 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.01598, allocations: 4 kB / 0.8214 GB, free: 7.625 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.01599, allocations: 0 / 0.8214 GB, free: 7.625 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.01599, allocations: 3.938 kB / 0.8214 GB, free: 7.621 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004063/0.0164, allocations: 467.3 kB / 0.8219 GB, free: 7.125 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.0164, allocations: 4 kB / 0.8219 GB, free: 7.121 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.213e-05/0.01641, allocations: 0 / 0.8219 GB, free: 7.121 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.01642, allocations: 4 kB / 0.8219 GB, free: 7.117 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.01642, allocations: 3.984 kB / 0.8219 GB, free: 7.113 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.01643, allocations: 0.9375 kB / 0.8219 GB, free: 7.113 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01643, allocations: 0 / 0.8219 GB, free: 7.113 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001543/0.01658, allocations: 280.8 kB / 0.8222 GB, free: 6.82 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.569e-05/0.0166, allocations: 15.91 kB / 0.8222 GB, free: 6.805 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.01661, allocations: 3.938 kB / 0.8222 GB, free: 6.801 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.713e-05/0.01667, allocations: 17.11 kB / 0.8222 GB, free: 6.785 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.184e-05/0.01672, allocations: 15.97 kB / 0.8222 GB, free: 6.77 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.95e-05/0.01674, allocations: 11.98 kB / 0.8222 GB, free: 6.758 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 7.421e-05/0.01681, allocations: 173.2 kB / 0.8224 GB, free: 6.59 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.01681, allocations: 0 / 0.8224 GB, free: 6.59 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001972/0.01701, allocations: 47.89 kB / 0.8224 GB, free: 6.543 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: 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.0003021/0.01731, allocations: 174.4 kB / 0.8226 GB, free: 6.395 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001566/0.01747, allocations: 102.3 kB / 0.8227 GB, free: 6.293 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01747, allocations: 0 / 0.8227 GB, free: 6.293 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.774e-05/0.01753, allocations: 51.61 kB / 0.8227 GB, free: 6.238 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/0.01779, allocations: 61.5 kB / 0.8228 GB, free: 6.184 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004657/0.01826, allocations: 314.9 kB / 0.8231 GB, free: 5.844 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.483e-05/0.0183, allocations: 68.25 kB / 0.8232 GB, free: 5.758 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.979e-05/0.01836, allocations: 29.62 kB / 0.8232 GB, free: 5.727 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.931e-05/0.01841, allocations: 28.48 kB / 0.8232 GB, free: 5.699 MB / 0.7292 GB Notification: Performance of SimCode: time 8.91e-07/0.01841, allocations: 0 / 0.8232 GB, free: 5.699 MB / 0.7292 GB Notification: Performance of Templates: time 0.005568/0.02398, allocations: 4.011 MB / 0.8271 GB, free: 1.738 MB / 0.7292 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.033804036909714]