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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001601/0.001601, allocations: 109 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 225.6 MB / 249.3 MB, free: 3.164 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.49/2.49, allocations: 476.7 MB / 0.7628 GB, free: 15.1 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001779/0.001779, allocations: 67.89 kB / 1.107 GB, free: 5.168 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7315/0.7333, allocations: 168.7 MB / 1.271 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.002635/0.7359, allocations: 1.662 MB / 1.273 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009481/0.7369, allocations: 0.5838 MB / 1.274 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.055e-05/0.737, allocations: 4.656 kB / 1.274 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001721/0.7371, allocations: 19.52 kB / 1.274 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002911/0.7374, allocations: 118.2 kB / 1.274 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002844/0.7377, allocations: 140.2 kB / 1.274 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002518/0.738, allocations: 222 kB / 1.274 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.7381, allocations: 17.33 kB / 1.274 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.7382, allocations: 101.1 kB / 1.274 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01132/0.7495, allocations: 1.591 MB / 1.276 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.722e-05/0.7496, allocations: 15.84 kB / 1.276 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.7497, allocations: 36.58 kB / 1.276 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.03e-05/0.7497, allocations: 40.31 kB / 1.276 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 9.586e-05/0.7498, allocations: 75.75 kB / 1.276 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003024/0.7501, allocations: 191.2 kB / 1.276 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.7502, allocations: 0.9062 kB / 1.276 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.272e-06/0.7502, allocations: 0 / 1.276 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.008e-05/0.7502, allocations: 0 / 1.276 GB, free: 5.297 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.0005726/0.7507, allocations: 0.5346 MB / 1.277 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.7508, allocations: 9.938 kB / 1.277 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.893e-05/0.7508, allocations: 37 kB / 1.277 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.86e-05/0.7509, allocations: 20.12 kB / 1.277 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001907/0.751, allocations: 245.9 kB / 1.277 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.7511, allocations: 10.38 kB / 1.277 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.896e-05/0.7511, allocations: 10.11 kB / 1.277 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.7512, allocations: 83.09 kB / 1.277 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.7512, allocations: 4 kB / 1.277 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.7512, allocations: 5.375 kB / 1.277 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.7513, allocations: 1.469 kB / 1.277 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.862e-05/0.7513, allocations: 42.27 kB / 1.277 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005898/0.7519, allocations: 439.8 kB / 1.277 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/0.752, allocations: 61.75 kB / 1.277 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.247e-05/0.7521, allocations: 29.16 kB / 1.278 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.524e-05/0.7521, allocations: 0.5625 kB / 1.278 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001555/0.7523, allocations: 95.02 kB / 1.278 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=12): time 1.443e-06/0.7523, allocations: 0 / 1.278 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12): time 0.0002466/0.7525, allocations: 126.5 kB / 1.278 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.432e-05/0.7525, allocations: 63.55 kB / 1.278 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.7527, allocations: 188.6 kB / 1.278 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.7527, allocations: 33.3 kB / 1.278 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.593e-05/0.7528, allocations: 112 kB / 1.278 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.999e-05/0.7528, allocations: 35.17 kB / 1.278 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.217e-05/0.7528, allocations: 55.14 kB / 1.278 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.752e-05/0.7529, allocations: 320 kB / 1.278 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.022e-05/0.7529, allocations: 31.23 kB / 1.279 GB, free: 3.188 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001892/0.7531, allocations: 127 kB / 1.279 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.888e-05/0.7532, allocations: 88.05 kB / 1.279 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.7532, allocations: 3.938 kB / 1.279 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001886/0.7534, allocations: 134.5 kB / 1.279 GB, free: 2.949 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.7534, allocations: 9.375 kB / 1.279 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.7534, allocations: 1.781 kB / 1.279 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.7534, allocations: 1.844 kB / 1.279 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.138e-05/0.7535, allocations: 16.48 kB / 1.279 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.7535, allocations: 1.969 kB / 1.279 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001708/0.7537, allocations: 27.11 kB / 1.279 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.7537, allocations: 8.812 kB / 1.279 GB, free: 2.922 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 8.964e-05/0.7538, allocations: 133.1 kB / 1.279 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.591e-05/0.7538, allocations: 18.41 kB / 1.279 GB, free: 2.785 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.183e-05/0.7538, allocations: 19.69 kB / 1.279 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.7539, allocations: 1.906 kB / 1.279 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.7539, allocations: 0 / 1.279 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.7539, allocations: 4.969 kB / 1.279 GB, free: 2.762 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003918/0.7543, allocations: 436.6 kB / 1.28 GB, free: 2.402 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.7543, allocations: 0 / 1.28 GB, free: 2.402 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.952e-05/0.7543, allocations: 4.578 kB / 1.28 GB, free: 2.402 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.7543, allocations: 0.75 kB / 1.28 GB, free: 2.402 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.617e-06/0.7543, allocations: 0.9688 kB / 1.28 GB, free: 2.402 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.7543, allocations: 0.9688 kB / 1.28 GB, free: 2.402 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.7543, allocations: 0.8438 kB / 1.28 GB, free: 2.402 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001482/0.7544, allocations: 211.1 kB / 1.28 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.752e-05/0.7545, allocations: 93.97 kB / 1.28 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.137e-05/0.7545, allocations: 7.484 kB / 1.28 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.285e-05/0.7546, allocations: 5.953 kB / 1.28 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.52e-05/0.7546, allocations: 19.95 kB / 1.28 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.978e-05/0.7547, allocations: 5.312 kB / 1.28 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.393e-05/0.7547, allocations: 134.8 kB / 1.28 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.7547, allocations: 1.156 kB / 1.28 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002796/0.755, allocations: 37.47 kB / 1.28 GB, free: 2.02 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.0005247/0.7555, allocations: 0.8104 MB / 1.281 GB, free: 1.297 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001935/0.7557, allocations: 76.56 kB / 1.281 GB, free: 1.277 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.7557, allocations: 0.625 kB / 1.281 GB, free: 1.277 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.404e-05/0.7558, allocations: 37.47 kB / 1.281 GB, free: 1.266 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003699/0.7562, allocations: 54.02 kB / 1.281 GB, free: 1.25 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001615/0.7578, allocations: 1.777 MB / 1.283 GB, free: 15.79 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003725/0.7582, allocations: 0.7116 MB / 1.283 GB, free: 15.1 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 6.909e-05/0.7582, allocations: 20.52 kB / 1.283 GB, free: 15.1 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.613e-05/0.7583, allocations: 42.27 kB / 1.283 GB, free: 15.07 MB / 1.014 GB Notification: Performance of SimCode: time 3e-07/0.7583, allocations: 11.28 kB / 1.283 GB, free: 15.06 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02617/0.7845, allocations: 5.029 MB / 1.288 GB, free: 14.35 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.103/7.887, allocations: 6.812 kB / 1.288 GB, free: 14.34 MB / 1.014 GB " [Timeout remaining time 292] (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 --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: 13.147077396000896]