Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.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.001329/0.001329, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.001549/0.001549, allocations: 212.3 kB / 22.25 MB, free: 4.859 MB / 14.72 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.48/1.48, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.806/2.806, allocations: 476 MB / 0.7699 GB, free: 4.754 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002068/0.002068, allocations: 69.73 kB / 1.117 GB, free: 9.199 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4287/0.4308, allocations: 169.9 MB / 1.283 GB, free: 4.273 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003133/0.4339, allocations: 1.615 MB / 1.284 GB, free: 2.641 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001122/0.435, allocations: 0.5631 MB / 1.285 GB, free: 2.078 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.942e-05/0.4351, allocations: 3.938 kB / 1.285 GB, free: 2.074 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001607/0.4352, allocations: 27.78 kB / 1.285 GB, free: 2.047 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003196/0.4355, allocations: 111.5 kB / 1.285 GB, free: 1.938 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003455/0.4359, allocations: 154 kB / 1.285 GB, free: 1.789 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000282/0.4362, allocations: 219.5 kB / 1.285 GB, free: 1.574 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.4363, allocations: 17.75 kB / 1.285 GB, free: 1.559 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.4364, allocations: 99.72 kB / 1.285 GB, free: 1.461 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01219/0.4486, allocations: 1.578 MB / 1.287 GB, free: 300 kB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.19e-05/0.4487, allocations: 16 kB / 1.287 GB, free: 284 kB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.4488, allocations: 47.92 kB / 1.287 GB, free: 236 kB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.578e-05/0.4488, allocations: 27.91 kB / 1.287 GB, free: 208 kB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001027/0.449, allocations: 71.69 kB / 1.287 GB, free: 136 kB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003557/0.4493, allocations: 199.2 kB / 1.287 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.4493, allocations: 0 / 1.287 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.432e-06/0.4493, allocations: 0 / 1.287 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.4493, allocations: 0 / 1.287 GB, free: 15.94 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007731/0.4501, allocations: 464.8 kB / 1.288 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.4501, allocations: 8.031 kB / 1.288 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.01e-05/0.4502, allocations: 46.73 kB / 1.288 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.25e-05/0.4502, allocations: 16.84 kB / 1.288 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003313/0.4506, allocations: 182 kB / 1.288 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.4506, allocations: 11.94 kB / 1.288 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.001e-05/0.4506, allocations: 8 kB / 1.288 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.4508, allocations: 81.66 kB / 1.288 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.4508, allocations: 0 / 1.288 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.4508, allocations: 4 kB / 1.288 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.4508, allocations: 4 kB / 1.288 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001091/0.4509, allocations: 43.97 kB / 1.288 GB, free: 15 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008125/0.4518, allocations: 383.6 kB / 1.288 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001546/0.4519, allocations: 58.56 kB / 1.288 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.275e-05/0.452, allocations: 24.84 kB / 1.288 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.452, allocations: 4 kB / 1.288 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002175/0.4522, allocations: 91.45 kB / 1.289 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=12): time 1.513e-06/0.4522, allocations: 0 / 1.289 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12): time 0.000312/0.4525, allocations: 137.5 kB / 1.289 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.111e-05/0.4526, allocations: 55.41 kB / 1.289 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000208/0.4528, allocations: 187.3 kB / 1.289 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.41e-05/0.4528, allocations: 25.7 kB / 1.289 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.4529, allocations: 128.1 kB / 1.289 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.849e-05/0.4529, allocations: 23.84 kB / 1.289 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.179e-05/0.453, allocations: 53.67 kB / 1.289 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.4532, allocations: 322.8 kB / 1.289 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.958e-05/0.4533, allocations: 27.98 kB / 1.289 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003113/0.4536, allocations: 232.7 kB / 1.29 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001302/0.4537, allocations: 89.84 kB / 1.29 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.4537, allocations: 0 / 1.29 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000233/0.4539, allocations: 144.3 kB / 1.29 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.454, allocations: 15.88 kB / 1.29 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.454, allocations: 0 / 1.29 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.454, allocations: 4 kB / 1.29 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.226e-05/0.4541, allocations: 16.11 kB / 1.29 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.4541, allocations: 4 kB / 1.29 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001745/0.4542, allocations: 23.88 kB / 1.29 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.948e-06/0.4542, allocations: 4 kB / 1.29 GB, free: 12.8 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 (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,$whenCondition3,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001244/0.4544, allocations: 131.1 kB / 1.29 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.538e-05/0.4544, allocations: 19.84 kB / 1.29 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.196e-05/0.4545, allocations: 25.42 kB / 1.29 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.4545, allocations: 0 / 1.29 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.4545, allocations: 0 / 1.29 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.4545, allocations: 0 / 1.29 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005509/0.455, allocations: 405.3 kB / 1.291 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.455, allocations: 0 / 1.291 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.917e-05/0.455, allocations: 0 / 1.291 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.455, allocations: 4 kB / 1.291 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.4551, allocations: 3.938 kB / 1.291 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.4551, allocations: 0 / 1.291 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/0.4551, allocations: 3.984 kB / 1.291 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002284/0.4553, allocations: 207.3 kB / 1.291 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.574e-05/0.4553, allocations: 15.91 kB / 1.291 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.198e-05/0.4553, allocations: 4 kB / 1.291 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.903e-05/0.4554, allocations: 11.98 kB / 1.291 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.754e-05/0.4555, allocations: 11.98 kB / 1.291 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.33e-05/0.4555, allocations: 11.98 kB / 1.291 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001328/0.4556, allocations: 129.8 kB / 1.291 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.4556, allocations: 0 / 1.291 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003007/0.4559, allocations: 43.92 kB / 1.291 GB, free: 11.71 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0008135/0.4568, allocations: 0.8219 MB / 1.292 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001983/0.457, allocations: 75.83 kB / 1.292 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.457, allocations: 8.25 kB / 1.292 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.111e-05/0.457, allocations: 35.92 kB / 1.292 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003788/0.4574, allocations: 39.64 kB / 1.292 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002148/0.4596, allocations: 1.785 MB / 1.294 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001105/0.4597, allocations: 106.2 kB / 1.294 GB, free: 8.727 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 7.484e-05/0.4598, allocations: 17.48 kB / 1.294 GB, free: 8.707 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.025e-05/0.4598, allocations: 47.41 kB / 1.294 GB, free: 8.66 MB / 0.9981 GB Notification: Performance of SimCode: time 7.21e-07/0.4598, allocations: 3.938 kB / 1.294 GB, free: 8.656 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03314/0.493, allocations: 5.854 MB / 1.3 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.82, allocations: 5.812 kB / 1.3 GB, free: 3.012 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.fmu > Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.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: 18.6130997040309]