Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001365/0.001365, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001764/0.001764, allocations: 218.1 kB / 22.26 MB, free: 5.125 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.508/1.508, allocations: 230.6 MB / 256 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.25/3.25, allocations: 0.505 GB / 0.8101 GB, free: 22.03 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_latest_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.002082/0.002082, allocations: 67.42 kB / 1.177 GB, free: 17.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3931/0.3952, allocations: 180.2 MB / 1.353 GB, free: 8.473 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003839/0.399, allocations: 1.664 MB / 1.354 GB, free: 6.797 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001294/0.4003, allocations: 0.5816 MB / 1.355 GB, free: 6.215 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.242e-05/0.4004, allocations: 4 kB / 1.355 GB, free: 6.211 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001871/0.4006, allocations: 27.73 kB / 1.355 GB, free: 6.184 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0003907/0.401, allocations: 111.5 kB / 1.355 GB, free: 6.074 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004007/0.4014, allocations: 153.2 kB / 1.355 GB, free: 5.926 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003638/0.4017, allocations: 215.5 kB / 1.356 GB, free: 5.715 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.4018, allocations: 21.73 kB / 1.356 GB, free: 5.695 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001606/0.402, allocations: 103.7 kB / 1.356 GB, free: 5.594 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01284/0.4148, allocations: 1.574 MB / 1.357 GB, free: 4.43 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 7.546e-05/0.4149, allocations: 16 kB / 1.357 GB, free: 4.414 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.415, allocations: 47.97 kB / 1.357 GB, free: 4.367 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.96e-05/0.4151, allocations: 27.92 kB / 1.357 GB, free: 4.34 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001277/0.4152, allocations: 91.5 kB / 1.357 GB, free: 4.25 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003786/0.4156, allocations: 195.2 kB / 1.358 GB, free: 4.059 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.4156, allocations: 0 / 1.358 GB, free: 4.059 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.813e-06/0.4156, allocations: 0 / 1.358 GB, free: 4.059 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.282e-05/0.4156, allocations: 0 / 1.358 GB, free: 4.059 MB / 1.045 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.0007975/0.4164, allocations: 460.9 kB / 1.358 GB, free: 3.566 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.4165, allocations: 8.031 kB / 1.358 GB, free: 3.559 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.241e-05/0.4165, allocations: 46.67 kB / 1.358 GB, free: 3.504 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.645e-05/0.4166, allocations: 20.84 kB / 1.358 GB, free: 3.484 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002801/0.4169, allocations: 174 kB / 1.358 GB, free: 3.289 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.4169, allocations: 12 kB / 1.358 GB, free: 3.277 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.448e-05/0.4169, allocations: 8 kB / 1.358 GB, free: 3.27 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.4171, allocations: 81.66 kB / 1.358 GB, free: 3.184 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.4171, allocations: 0 / 1.358 GB, free: 3.184 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.4171, allocations: 4 kB / 1.358 GB, free: 3.18 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.4171, allocations: 0 / 1.358 GB, free: 3.18 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.4172, allocations: 47.91 kB / 1.358 GB, free: 3.133 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008122/0.418, allocations: 427.4 kB / 1.359 GB, free: 2.672 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001431/0.4182, allocations: 62.48 kB / 1.359 GB, free: 2.602 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.866e-05/0.4182, allocations: 32.78 kB / 1.359 GB, free: 2.566 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.4183, allocations: 8 kB / 1.359 GB, free: 2.559 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002289/0.4185, allocations: 79.38 kB / 1.359 GB, free: 2.469 MB / 1.045 GB Notification: Performance of pre-optimization done (n=12): time 1.623e-06/0.4185, allocations: 0 / 1.359 GB, free: 2.469 MB / 1.045 GB Notification: Performance of matching and sorting (n=12): time 0.0003095/0.4188, allocations: 137.6 kB / 1.359 GB, free: 2.328 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.4188, allocations: 55.41 kB / 1.359 GB, free: 2.262 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002152/0.4191, allocations: 191.2 kB / 1.359 GB, free: 2.062 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.777e-05/0.4191, allocations: 33.7 kB / 1.359 GB, free: 2.023 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.561e-05/0.4192, allocations: 120.2 kB / 1.359 GB, free: 1.902 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.046e-05/0.4192, allocations: 27.84 kB / 1.359 GB, free: 1.875 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.825e-05/0.4193, allocations: 49.67 kB / 1.36 GB, free: 1.82 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.4195, allocations: 326.8 kB / 1.36 GB, free: 1.492 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.914e-05/0.4195, allocations: 27.98 kB / 1.36 GB, free: 1.465 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002398/0.4198, allocations: 121.5 kB / 1.36 GB, free: 1.32 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.4199, allocations: 90.34 kB / 1.36 GB, free: 1.219 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.4199, allocations: 0 / 1.36 GB, free: 1.219 MB / 1.045 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002309/0.4201, allocations: 133.5 kB / 1.36 GB, free: 1.082 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.4201, allocations: 11.94 kB / 1.36 GB, free: 1.07 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.4201, allocations: 0 / 1.36 GB, free: 1.07 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.4202, allocations: 4 kB / 1.36 GB, free: 1.066 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.451e-05/0.4202, allocations: 19.92 kB / 1.36 GB, free: 1.047 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.4203, allocations: 4 kB / 1.36 GB, free: 1.043 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001753/0.4204, allocations: 19.88 kB / 1.36 GB, free: 1.023 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.4204, allocations: 8 kB / 1.36 GB, free: 1.016 MB / 1.045 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.0001364/0.4206, allocations: 137.8 kB / 1.36 GB, free: 0.8711 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.563e-05/0.4206, allocations: 23.84 kB / 1.36 GB, free: 0.8477 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.215e-05/0.4207, allocations: 21.39 kB / 1.36 GB, free: 0.8203 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.4207, allocations: 0 / 1.36 GB, free: 0.8203 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.4207, allocations: 0 / 1.36 GB, free: 0.8203 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.4207, allocations: 0 / 1.36 GB, free: 0.8203 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005449/0.4212, allocations: 405.7 kB / 1.361 GB, free: 384 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.4212, allocations: 0 / 1.361 GB, free: 384 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.525e-05/0.4212, allocations: 7.984 kB / 1.361 GB, free: 376 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.4212, allocations: 4 kB / 1.361 GB, free: 372 kB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.4213, allocations: 4 kB / 1.361 GB, free: 368 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.4213, allocations: 0 / 1.361 GB, free: 368 kB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.4213, allocations: 0 / 1.361 GB, free: 368 kB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00022/0.4215, allocations: 211.4 kB / 1.361 GB, free: 140 kB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.477e-05/0.4215, allocations: 15.84 kB / 1.361 GB, free: 124 kB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.375e-05/0.4215, allocations: 4 kB / 1.361 GB, free: 120 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.962e-05/0.4216, allocations: 11.98 kB / 1.361 GB, free: 108 kB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.939e-05/0.4217, allocations: 23.91 kB / 1.361 GB, free: 84 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.049e-05/0.4217, allocations: 4 kB / 1.361 GB, free: 80 kB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001453/0.4219, allocations: 132.1 kB / 1.361 GB, free: 15.95 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4219, allocations: 4 kB / 1.361 GB, free: 15.95 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003251/0.4222, allocations: 39.89 kB / 1.361 GB, free: 15.91 MB / 1.061 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.0008322/0.423, allocations: 0.8115 MB / 1.362 GB, free: 15.09 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002151/0.4232, allocations: 71.91 kB / 1.362 GB, free: 15.02 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.4232, allocations: 0 / 1.362 GB, free: 15.02 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.352e-05/0.4233, allocations: 31.98 kB / 1.362 GB, free: 14.99 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003855/0.4237, allocations: 47.91 kB / 1.362 GB, free: 14.95 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002202/0.4259, allocations: 1.794 MB / 1.364 GB, free: 13.05 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004025/0.4263, allocations: 0.7164 MB / 1.365 GB, free: 12.3 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.737e-05/0.4264, allocations: 25.45 kB / 1.365 GB, free: 12.27 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.131e-05/0.4265, allocations: 43.42 kB / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of SimCode: time 4.61e-07/0.4265, allocations: 4 kB / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03615/0.4626, allocations: 5.196 MB / 1.37 GB, free: 7.191 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.08, allocations: 3.984 kB / 1.37 GB, free: 7.188 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.946179140126333]