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.001912/0.001912, allocations: 84.39 kB / 20.23 MB, free: 4.176 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.002361/0.002361, allocations: 161.3 kB / 23.55 MB, free: 0.8594 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.5/1.5, allocations: 177.1 MB / 203.9 MB, free: 5.598 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 2.821/2.821, allocations: 377.8 MB / 0.6232 GB, free: 8.52 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.623e-06/1.623e-06, allocations: 0 / 0.8108 GB, free: 2.141 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.599e-05/3.761e-05, allocations: 6.25 kB / 0.8108 GB, free: 2.133 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003613/0.003651, allocations: 1.737 MB / 0.8125 GB, free: 416 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.00193/0.005581, allocations: 0.9081 MB / 0.8133 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.005701, allocations: 0.9688 kB / 0.8133 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002061/0.005907, allocations: 31.66 kB / 0.8134 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0004931/0.0064, allocations: 124.2 kB / 0.8135 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006561/0.007056, allocations: 158 kB / 0.8136 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004451/0.007501, allocations: 247.3 kB / 0.8139 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.00763, allocations: 25.8 kB / 0.8139 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000287/0.007917, allocations: 151.7 kB / 0.8141 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01625/0.02417, allocations: 2.719 MB / 0.8167 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001118/0.02428, allocations: 20.88 kB / 0.8167 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001572/0.02444, allocations: 43.91 kB / 0.8168 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.824e-05/0.02453, allocations: 41.17 kB / 0.8168 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001481/0.02467, allocations: 63.81 kB / 0.8169 GB, free: 13 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005655/0.02524, allocations: 247.2 kB / 0.8171 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.02524, allocations: 0 / 0.8171 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.893e-06/0.02525, allocations: 2.781 kB / 0.8171 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 9.107e-06/0.02525, allocations: 0 / 0.8171 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001045/0.0263, allocations: 484.7 kB / 0.8176 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.02634, allocations: 12.03 kB / 0.8176 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001136/0.02646, allocations: 21.34 kB / 0.8176 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003331/0.02679, allocations: 186.5 kB / 0.8178 GB, free: 12 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.02681, allocations: 8.375 kB / 0.8178 GB, free: 12 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.596e-05/0.02686, allocations: 25.86 kB / 0.8178 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002291/0.02708, allocations: 95.84 kB / 0.8179 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.02709, allocations: 0 / 0.8179 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.02711, allocations: 0 / 0.8179 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.02711, allocations: 4 kB / 0.8179 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001309/0.02725, allocations: 53.59 kB / 0.818 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000867/0.02811, allocations: 377.1 kB / 0.8183 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004747/0.02859, allocations: 132.6 kB / 0.8184 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.777e-05/0.02867, allocations: 32.84 kB / 0.8185 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.02868, allocations: 0.8438 kB / 0.8185 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002237/0.02891, allocations: 107.3 kB / 0.8186 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 1.493e-06/0.02891, allocations: 1.281 kB / 0.8186 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.0004391/0.02935, allocations: 173.6 kB / 0.8187 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.012e-05/0.02941, allocations: 59.34 kB / 0.8188 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000264/0.02967, allocations: 198.1 kB / 0.819 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.495e-05/0.02972, allocations: 33.7 kB / 0.819 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.02984, allocations: 121.8 kB / 0.8191 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 6.088e-05/0.0299, allocations: 43.69 kB / 0.8192 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.03002, allocations: 57.67 kB / 0.8192 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001937/0.03021, allocations: 328.1 kB / 0.8196 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.191e-05/0.0303, allocations: 31.98 kB / 0.8196 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003683/0.03066, allocations: 238.4 kB / 0.8198 GB, free: 9.77 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/0.03084, allocations: 104.8 kB / 0.8199 GB, free: 9.656 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.03084, allocations: 0 / 0.8199 GB, free: 9.656 MB / 0.7761 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003178/0.03116, allocations: 162.5 kB / 0.8201 GB, free: 9.492 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.03117, allocations: 9.062 kB / 0.8201 GB, free: 9.484 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.03118, allocations: 0 / 0.8201 GB, free: 9.484 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/0.0312, allocations: 1.125 kB / 0.8201 GB, free: 9.484 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.398e-05/0.03128, allocations: 19.98 kB / 0.8201 GB, free: 9.465 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.03129, allocations: 4 kB / 0.8201 GB, free: 9.461 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002277/0.03152, allocations: 28.88 kB / 0.8201 GB, free: 9.434 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.742e-05/0.03154, allocations: 8 kB / 0.8201 GB, free: 9.426 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 0.0001572/0.03169, allocations: 132.4 kB / 0.8203 GB, free: 9.289 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.74e-05/0.03174, allocations: 33.14 kB / 0.8203 GB, free: 9.258 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.014e-05/0.0318, allocations: 17.81 kB / 0.8203 GB, free: 9.242 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.03181, allocations: 4 kB / 0.8203 GB, free: 9.238 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.03181, allocations: 0.875 kB / 0.8203 GB, free: 9.238 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.03181, allocations: 0 / 0.8203 GB, free: 9.238 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000749/0.03256, allocations: 433.8 kB / 0.8207 GB, free: 8.781 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.03257, allocations: 0 / 0.8207 GB, free: 8.781 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.776e-05/0.03259, allocations: 8.844 kB / 0.8207 GB, free: 8.773 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.0326, allocations: 0 / 0.8207 GB, free: 8.773 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.03261, allocations: 7.984 kB / 0.8207 GB, free: 8.766 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.03262, allocations: 4.656 kB / 0.8207 GB, free: 8.762 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.03262, allocations: 0.6562 kB / 0.8207 GB, free: 8.762 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003214/0.03294, allocations: 235.3 kB / 0.821 GB, free: 8.516 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.832e-05/0.03297, allocations: 14.75 kB / 0.821 GB, free: 8.504 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/0.03299, allocations: 4 kB / 0.821 GB, free: 8.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.03313, allocations: 15.98 kB / 0.821 GB, free: 8.484 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.243e-05/0.03321, allocations: 19.97 kB / 0.821 GB, free: 8.465 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-05/0.03324, allocations: 15.98 kB / 0.821 GB, free: 8.449 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001594/0.0334, allocations: 147 kB / 0.8212 GB, free: 8.305 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.0334, allocations: 0 / 0.8212 GB, free: 8.305 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003503/0.03375, allocations: 54.58 kB / 0.8212 GB, free: 8.254 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.0004483/0.0342, allocations: 175.5 kB / 0.8214 GB, free: 8.102 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000253/0.03445, allocations: 98.53 kB / 0.8215 GB, free: 8.008 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.03445, allocations: 0 / 0.8215 GB, free: 8.008 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.03456, allocations: 47.91 kB / 0.8215 GB, free: 7.961 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004564/0.03501, allocations: 59.08 kB / 0.8216 GB, free: 7.906 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007521/0.03577, allocations: 320.5 kB / 0.8219 GB, free: 7.57 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001526/0.03592, allocations: 118.3 kB / 0.822 GB, free: 7.438 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 9.208e-05/0.03601, allocations: 17.64 kB / 0.822 GB, free: 7.422 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.013e-05/0.03608, allocations: 24.48 kB / 0.8221 GB, free: 7.398 MB / 0.7761 GB Notification: Performance of SimCode: time 5.11e-07/0.03608, allocations: 0 / 0.8221 GB, free: 7.398 MB / 0.7761 GB Notification: Performance of Templates: time 0.01015/0.04623, allocations: 4.021 MB / 0.826 GB, free: 3.434 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) [Timeout 400] 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: 7.854566655936651]