Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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.001548/0.001548, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001091/0.001091, allocations: 169 kB / 24.28 MB, free: 276 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.9446/0.9446, allocations: 177.1 MB / 204.6 MB, free: 5.629 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.839/1.839, allocations: 377.8 MB / 0.6239 GB, free: 8.555 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.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.445e-06/2.445e-06, allocations: 0 / 0.8115 GB, free: 2.125 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.144e-05/2.389e-05, allocations: 3.078 kB / 0.8115 GB, free: 2.121 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.002996/0.00302, allocations: 1.791 MB / 0.8132 GB, free: 344 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001524/0.004544, allocations: 0.9306 MB / 0.8141 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.914e-05/0.004633, allocations: 3.938 kB / 0.8141 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001922/0.004825, allocations: 24.27 kB / 0.8142 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.000384/0.005209, allocations: 124.6 kB / 0.8143 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003476/0.005557, allocations: 155.6 kB / 0.8144 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003018/0.005859, allocations: 248.6 kB / 0.8147 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.00599, allocations: 25.73 kB / 0.8147 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002/0.00619, allocations: 155.7 kB / 0.8148 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0102/0.01639, allocations: 2.655 MB / 0.8174 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.369e-05/0.01644, allocations: 16 kB / 0.8175 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 8.77e-05/0.01652, allocations: 43.92 kB / 0.8175 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.49e-05/0.01659, allocations: 42.52 kB / 0.8175 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 9.961e-05/0.01669, allocations: 63.81 kB / 0.8176 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003457/0.01703, allocations: 195.3 kB / 0.8178 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.01704, allocations: 0 / 0.8178 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.41e-07/0.01704, allocations: 0 / 0.8178 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.01704, allocations: 0 / 0.8178 GB, free: 12.76 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0007604/0.0178, allocations: 0.5859 MB / 0.8184 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.01785, allocations: 9.969 kB / 0.8184 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.274e-05/0.01794, allocations: 32.8 kB / 0.8184 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002738/0.01821, allocations: 197.6 kB / 0.8186 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.01823, allocations: 12.33 kB / 0.8186 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.127e-05/0.01827, allocations: 19.92 kB / 0.8186 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.01845, allocations: 106.7 kB / 0.8187 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.01846, allocations: 0 / 0.8187 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.01848, allocations: 4 kB / 0.8187 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.01849, allocations: 4 kB / 0.8187 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.159e-05/0.01858, allocations: 38.22 kB / 0.8188 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007503/0.01933, allocations: 0.5515 MB / 0.8193 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/0.01949, allocations: 99.31 kB / 0.8194 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.443e-05/0.01954, allocations: 31.42 kB / 0.8194 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.403e-05/0.01956, allocations: 4 kB / 0.8194 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001708/0.01973, allocations: 117.4 kB / 0.8195 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=15): time 1.563e-06/0.01973, allocations: 2.938 kB / 0.8195 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of matching and sorting (n=15): time 0.0003234/0.02005, allocations: 141.4 kB / 0.8197 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.39e-05/0.02011, allocations: 85.11 kB / 0.8198 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002148/0.02032, allocations: 259.7 kB / 0.82 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.342e-05/0.02036, allocations: 33.7 kB / 0.82 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.02046, allocations: 171.3 kB / 0.8202 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.507e-05/0.02049, allocations: 31.73 kB / 0.8202 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.0206, allocations: 69.92 kB / 0.8203 GB, free: 9.953 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.02075, allocations: 0.5001 MB / 0.8208 GB, free: 9.441 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.531e-05/0.0208, allocations: 19.98 kB / 0.8208 GB, free: 9.422 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002652/0.02107, allocations: 251.2 kB / 0.821 GB, free: 9.105 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.02121, allocations: 118.2 kB / 0.8212 GB, free: 8.965 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.02122, allocations: 0 / 0.8212 GB, free: 8.965 MB / 0.7761 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002448/0.02146, allocations: 151.5 kB / 0.8213 GB, free: 8.812 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.02148, allocations: 8 kB / 0.8213 GB, free: 8.805 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.02148, allocations: 3.938 kB / 0.8213 GB, free: 8.801 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.0215, allocations: 9.078 kB / 0.8213 GB, free: 8.793 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.782e-05/0.02159, allocations: 16 kB / 0.8213 GB, free: 8.777 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.0216, allocations: 7.938 kB / 0.8213 GB, free: 8.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001506/0.02175, allocations: 28.94 kB / 0.8214 GB, free: 8.742 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.02176, allocations: 4 kB / 0.8214 GB, free: 8.738 MB / 0.7761 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.0001281/0.02189, allocations: 184.4 kB / 0.8216 GB, free: 8.551 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.654e-05/0.02193, allocations: 27.8 kB / 0.8216 GB, free: 8.523 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.291e-05/0.02197, allocations: 21.47 kB / 0.8216 GB, free: 8.5 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.02198, allocations: 4.078 kB / 0.8216 GB, free: 8.496 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.02198, allocations: 4.859 kB / 0.8216 GB, free: 8.492 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.02199, allocations: 7.938 kB / 0.8216 GB, free: 8.484 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004824/0.02247, allocations: 418.6 kB / 0.822 GB, free: 8.035 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.02247, allocations: 0 / 0.822 GB, free: 8.035 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.239e-05/0.02249, allocations: 11.92 kB / 0.822 GB, free: 8.023 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.0225, allocations: 0.9062 kB / 0.822 GB, free: 8.023 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.02251, allocations: 8 kB / 0.822 GB, free: 8.016 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.02251, allocations: 0.6562 kB / 0.822 GB, free: 8.016 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.02251, allocations: 0 / 0.822 GB, free: 8.016 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002364/0.02275, allocations: 284 kB / 0.8223 GB, free: 7.715 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.431e-05/0.02278, allocations: 25.45 kB / 0.8223 GB, free: 7.691 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.444e-05/0.02281, allocations: 4 kB / 0.8223 GB, free: 7.688 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.02291, allocations: 11.98 kB / 0.8223 GB, free: 7.676 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.315e-05/0.02299, allocations: 19.97 kB / 0.8224 GB, free: 7.656 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.411e-05/0.02301, allocations: 14.58 kB / 0.8224 GB, free: 7.645 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001183/0.02313, allocations: 174.9 kB / 0.8225 GB, free: 7.473 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.2e-07/0.02313, allocations: 4 kB / 0.8226 GB, free: 7.469 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003508/0.02348, allocations: 36 kB / 0.8226 GB, free: 7.434 MB / 0.7761 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.0003653/0.02384, allocations: 183.2 kB / 0.8228 GB, free: 7.273 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002081/0.02405, allocations: 91.45 kB / 0.8228 GB, free: 7.18 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.02405, allocations: 0 / 0.8228 GB, free: 7.18 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.385e-05/0.02414, allocations: 50.42 kB / 0.8229 GB, free: 7.129 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004234/0.02456, allocations: 62.91 kB / 0.823 GB, free: 7.07 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000566/0.02513, allocations: 310.7 kB / 0.8233 GB, free: 6.734 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.866e-05/0.02519, allocations: 79.84 kB / 0.8233 GB, free: 6.637 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.989e-05/0.02527, allocations: 25.56 kB / 0.8234 GB, free: 6.613 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.815e-05/0.02532, allocations: 24.5 kB / 0.8234 GB, free: 6.59 MB / 0.7761 GB Notification: Performance of SimCode: time 5.91e-07/0.02532, allocations: 0 / 0.8234 GB, free: 6.59 MB / 0.7761 GB Notification: Performance of Templates: time 0.007433/0.03276, allocations: 3.955 MB / 0.8272 GB, free: 2.691 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & ./Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.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.130508125061169]