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.00216/0.00216, allocations: 83.69 kB / 20.24 MB, free: 4.184 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.002498/0.002498, allocations: 161.3 kB / 23.55 MB, free: 0.875 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 1.603/1.603, allocations: 177.1 MB / 203.9 MB, free: 4.773 MB / 186.7 MB " [Timeout remaining time 178] 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 3.059/3.059, allocations: 377.8 MB / 0.6232 GB, free: 8.508 MB / 0.5886 GB " [Timeout remaining time 176] 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.664e-06/1.664e-06, allocations: 0.7656 kB / 0.8108 GB, free: 1.004 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.061e-05/3.227e-05, allocations: 4.703 kB / 0.8108 GB, free: 1 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.004581/0.004614, allocations: 1.76 MB / 0.8125 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002494/0.007108, allocations: 0.9311 MB / 0.8134 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.876e-05/0.007197, allocations: 0 / 0.8134 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0002227/0.007419, allocations: 25.7 kB / 0.8134 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0005154/0.007935, allocations: 127.3 kB / 0.8135 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000502/0.008437, allocations: 155.6 kB / 0.8137 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0004611/0.008898, allocations: 244.7 kB / 0.8139 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.00904, allocations: 25.78 kB / 0.814 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003114/0.009352, allocations: 147.7 kB / 0.8141 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02708/0.03643, allocations: 2.74 MB / 0.8168 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001286/0.03656, allocations: 17.53 kB / 0.8168 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000194/0.03676, allocations: 43.88 kB / 0.8168 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001192/0.03688, allocations: 35.83 kB / 0.8169 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001948/0.03707, allocations: 71.8 kB / 0.8169 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0006751/0.03775, allocations: 239.3 kB / 0.8172 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.03775, allocations: 0.5312 kB / 0.8172 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.654e-06/0.03775, allocations: 1.312 kB / 0.8172 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.236e-05/0.03777, allocations: 0 / 0.8172 GB, free: 11.58 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.001353/0.03912, allocations: 0.5819 MB / 0.8177 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.03917, allocations: 15.97 kB / 0.8177 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001377/0.03931, allocations: 21.78 kB / 0.8178 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004762/0.03978, allocations: 196.7 kB / 0.818 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.6e-05/0.03981, allocations: 9.125 kB / 0.818 GB, free: 10.69 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.404e-05/0.03987, allocations: 23.92 kB / 0.818 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003127/0.04018, allocations: 82.75 kB / 0.8181 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.0402, allocations: 4 kB / 0.8181 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.04e-05/0.04022, allocations: 4 kB / 0.8181 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.77e-06/0.04022, allocations: 0.8438 kB / 0.8181 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001892/0.04041, allocations: 55.92 kB / 0.8181 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001227/0.04164, allocations: 442 kB / 0.8185 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005304/0.04217, allocations: 133.2 kB / 0.8187 GB, free: 9.91 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002042/0.04237, allocations: 35.67 kB / 0.8187 GB, free: 9.871 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.0424, allocations: 0 / 0.8187 GB, free: 9.871 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003135/0.04271, allocations: 125 kB / 0.8188 GB, free: 9.734 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 1.833e-06/0.04271, allocations: 2.344 kB / 0.8188 GB, free: 9.734 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.0005734/0.04329, allocations: 172.5 kB / 0.819 GB, free: 9.562 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.073e-05/0.04336, allocations: 59.34 kB / 0.819 GB, free: 9.492 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004417/0.0438, allocations: 283.8 kB / 0.8193 GB, free: 9.199 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.97e-05/0.04386, allocations: 33.7 kB / 0.8194 GB, free: 9.16 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001902/0.04405, allocations: 171.3 kB / 0.8195 GB, free: 8.988 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001206/0.04417, allocations: 36.19 kB / 0.8195 GB, free: 8.953 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001868/0.04436, allocations: 76.3 kB / 0.8196 GB, free: 8.871 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0003987/0.04475, allocations: 0.504 MB / 0.8201 GB, free: 8.355 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/0.04487, allocations: 31.98 kB / 0.8201 GB, free: 8.324 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000514/0.04539, allocations: 261.5 kB / 0.8204 GB, free: 8.008 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002751/0.04566, allocations: 114.9 kB / 0.8205 GB, free: 7.875 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.04566, allocations: 1.344 kB / 0.8205 GB, free: 7.875 MB / 0.7292 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004428/0.04611, allocations: 159.7 kB / 0.8207 GB, free: 7.715 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.646e-05/0.04613, allocations: 12.59 kB / 0.8207 GB, free: 7.703 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.04614, allocations: 0 / 0.8207 GB, free: 7.703 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.323e-05/0.04616, allocations: 4.656 kB / 0.8207 GB, free: 7.699 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.0463, allocations: 24.64 kB / 0.8207 GB, free: 7.676 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.04631, allocations: 0 / 0.8207 GB, free: 7.676 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000288/0.0466, allocations: 31.16 kB / 0.8207 GB, free: 7.648 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.068e-05/0.04662, allocations: 8 kB / 0.8207 GB, free: 7.641 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 0.0002286/0.04684, allocations: 186.5 kB / 0.8209 GB, free: 7.449 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.499e-05/0.04691, allocations: 19.84 kB / 0.8209 GB, free: 7.43 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.246e-05/0.04697, allocations: 17.81 kB / 0.8209 GB, free: 7.41 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.04698, allocations: 4 kB / 0.821 GB, free: 7.406 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.04698, allocations: 0 / 0.821 GB, free: 7.406 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.04699, allocations: 6.328 kB / 0.821 GB, free: 7.402 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001211/0.0482, allocations: 497.1 kB / 0.8214 GB, free: 6.875 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.0482, allocations: 0 / 0.8214 GB, free: 6.875 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.643e-05/0.04824, allocations: 7.938 kB / 0.8214 GB, free: 6.867 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.716e-06/0.04824, allocations: 0 / 0.8214 GB, free: 6.867 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.04826, allocations: 0.9375 kB / 0.8214 GB, free: 6.867 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.281e-06/0.04826, allocations: 4 kB / 0.8214 GB, free: 6.863 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.04827, allocations: 0 / 0.8214 GB, free: 6.863 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004835/0.04875, allocations: 292.8 kB / 0.8217 GB, free: 6.559 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.455e-05/0.04879, allocations: 15.91 kB / 0.8217 GB, free: 6.543 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.87e-05/0.04883, allocations: 3.984 kB / 0.8217 GB, free: 6.539 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001721/0.04901, allocations: 13.06 kB / 0.8218 GB, free: 6.527 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.04911, allocations: 27.95 kB / 0.8218 GB, free: 6.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.382e-05/0.04915, allocations: 5.094 kB / 0.8218 GB, free: 6.496 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002648/0.04941, allocations: 187.1 kB / 0.822 GB, free: 6.312 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/0.04941, allocations: 4 kB / 0.822 GB, free: 6.309 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005139/0.04993, allocations: 45.86 kB / 0.822 GB, free: 6.266 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.0007013/0.05063, allocations: 182.2 kB / 0.8222 GB, free: 6.109 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003903/0.05102, allocations: 114.3 kB / 0.8223 GB, free: 5.996 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.05102, allocations: 0 / 0.8223 GB, free: 5.996 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000188/0.05121, allocations: 70.92 kB / 0.8224 GB, free: 5.926 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006718/0.05188, allocations: 62.88 kB / 0.8224 GB, free: 5.867 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.05292, allocations: 323 kB / 0.8227 GB, free: 5.52 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001831/0.0531, allocations: 116.2 kB / 0.8228 GB, free: 5.387 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001238/0.05322, allocations: 21.62 kB / 0.8229 GB, free: 5.367 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.89e-05/0.05332, allocations: 24.48 kB / 0.8229 GB, free: 5.34 MB / 0.7292 GB Notification: Performance of SimCode: time 9.62e-07/0.05332, allocations: 0 / 0.8229 GB, free: 5.34 MB / 0.7292 GB Notification: Performance of Templates: time 0.01368/0.06701, allocations: 4.02 MB / 0.8268 GB, free: 1.375 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.180623496999033]