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.00152/0.00152, allocations: 104.5 kB / 16.4 MB, free: 6.488 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.001701/0.001701, allocations: 196.5 kB / 19.36 MB, free: 3.73 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.574/1.574, allocations: 222.9 MB / 245.1 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] 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.856/2.856, allocations: 469.8 MB / 0.7491 GB, free: 3.039 MB / 0.6075 GB " [Timeout remaining time 176] 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.001988/0.001988, allocations: 63.91 kB / 1.073 GB, free: 196 kB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.034/1.036, allocations: 159.1 MB / 1.229 GB, free: 4.852 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003197/1.04, allocations: 1.636 MB / 1.23 GB, free: 3.203 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001127/1.041, allocations: 0.5704 MB / 1.231 GB, free: 2.633 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.309e-05/1.041, allocations: 0 / 1.231 GB, free: 2.633 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001897/1.041, allocations: 27.73 kB / 1.231 GB, free: 2.605 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003426/1.041, allocations: 111.5 kB / 1.231 GB, free: 2.496 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003756/1.042, allocations: 149.2 kB / 1.231 GB, free: 2.352 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003075/1.042, allocations: 219.5 kB / 1.231 GB, free: 2.137 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/1.042, allocations: 17.56 kB / 1.231 GB, free: 2.117 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/1.042, allocations: 107.7 kB / 1.231 GB, free: 2.012 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01209/1.054, allocations: 1.578 MB / 1.233 GB, free: 0.8477 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 8.691e-05/1.055, allocations: 16 kB / 1.233 GB, free: 0.832 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001386/1.055, allocations: 32 kB / 1.233 GB, free: 0.8008 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.817e-05/1.055, allocations: 35.89 kB / 1.233 GB, free: 0.7656 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001371/1.055, allocations: 87.52 kB / 1.233 GB, free: 0.6797 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003995/1.055, allocations: 187.3 kB / 1.233 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 9.007e-06/1.055, allocations: 3.984 kB / 1.233 GB, free: 0.4922 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.124e-06/1.055, allocations: 0 / 1.233 GB, free: 0.4922 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.602e-06/1.055, allocations: 0 / 1.233 GB, free: 0.4922 MB / 0.9356 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.0008404/1.056, allocations: 0.5331 MB / 1.234 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/1.056, allocations: 8.031 kB / 1.234 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.461e-05/1.056, allocations: 50.67 kB / 1.234 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.562e-05/1.056, allocations: 16.84 kB / 1.234 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003174/1.057, allocations: 248.3 kB / 1.234 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/1.057, allocations: 12 kB / 1.234 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.678e-05/1.057, allocations: 8 kB / 1.234 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002038/1.057, allocations: 84.05 kB / 1.234 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/1.057, allocations: 0 / 1.234 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/1.057, allocations: 8 kB / 1.234 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/1.057, allocations: 0 / 1.234 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/1.057, allocations: 47.91 kB / 1.234 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008541/1.058, allocations: 432.5 kB / 1.235 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001491/1.058, allocations: 70.5 kB / 1.235 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.321e-05/1.058, allocations: 32.84 kB / 1.235 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/1.058, allocations: 0 / 1.235 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002445/1.058, allocations: 87.38 kB / 1.235 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=12): time 1.303e-06/1.058, allocations: 0 / 1.235 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of matching and sorting (n=12): time 0.0002897/1.059, allocations: 137.6 kB / 1.235 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.908e-05/1.059, allocations: 63.39 kB / 1.235 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002068/1.059, allocations: 191.1 kB / 1.235 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.242e-05/1.059, allocations: 33.7 kB / 1.235 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.336e-05/1.059, allocations: 112.1 kB / 1.235 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.787e-05/1.059, allocations: 27.92 kB / 1.235 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.652e-05/1.059, allocations: 49.69 kB / 1.235 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001558/1.059, allocations: 330.8 kB / 1.236 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.375e-05/1.06, allocations: 24 kB / 1.236 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00026/1.06, allocations: 119.7 kB / 1.236 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/1.06, allocations: 94.53 kB / 1.236 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/1.06, allocations: 3.938 kB / 1.236 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002259/1.06, allocations: 137.5 kB / 1.236 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/1.06, allocations: 7.938 kB / 1.236 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/1.06, allocations: 4 kB / 1.236 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/1.06, allocations: 0 / 1.236 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.104e-05/1.06, allocations: 15.94 kB / 1.236 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/1.06, allocations: 0 / 1.236 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001803/1.061, allocations: 28.05 kB / 1.236 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/1.061, allocations: 4 kB / 1.236 GB, free: 13.23 MB / 0.9512 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.0001414/1.061, allocations: 135.1 kB / 1.236 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.194e-05/1.061, allocations: 27.73 kB / 1.236 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.012e-05/1.061, allocations: 13.41 kB / 1.236 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/1.061, allocations: 4 kB / 1.236 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/1.061, allocations: 0 / 1.236 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/1.061, allocations: 0 / 1.236 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005853/1.061, allocations: 438.3 kB / 1.237 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/1.061, allocations: 3.938 kB / 1.237 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.565e-05/1.061, allocations: 8 kB / 1.237 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/1.061, allocations: 0 / 1.237 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/1.061, allocations: 3.984 kB / 1.237 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/1.061, allocations: 0 / 1.237 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/1.061, allocations: 4 kB / 1.237 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002389/1.062, allocations: 211.2 kB / 1.237 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.096e-05/1.062, allocations: 92.95 kB / 1.237 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.532e-05/1.062, allocations: 4 kB / 1.237 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.489e-05/1.062, allocations: 7.984 kB / 1.237 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.64e-05/1.062, allocations: 11.98 kB / 1.237 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.723e-05/1.062, allocations: 8 kB / 1.237 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001249/1.062, allocations: 133.2 kB / 1.237 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.21e-07/1.062, allocations: 0 / 1.237 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002943/1.062, allocations: 40 kB / 1.237 GB, free: 12 MB / 0.9512 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.0009168/1.063, allocations: 0.8189 MB / 1.238 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002063/1.064, allocations: 79.86 kB / 1.238 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/1.064, allocations: 0 / 1.238 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 7.687e-05/1.064, allocations: 35.98 kB / 1.238 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003868/1.064, allocations: 54.14 kB / 1.238 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002421/1.067, allocations: 1.771 MB / 1.24 GB, free: 9.148 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000375/1.067, allocations: 0.7163 MB / 1.241 GB, free: 8.406 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 7.699e-05/1.067, allocations: 17.55 kB / 1.241 GB, free: 8.391 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.729e-05/1.067, allocations: 51.41 kB / 1.241 GB, free: 8.34 MB / 0.9512 GB Notification: Performance of SimCode: time 2e-07/1.067, allocations: 0 / 1.241 GB, free: 8.34 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02928/1.096, allocations: 5.012 MB / 1.246 GB, free: 3.488 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.218/9.315, allocations: 11.44 kB / 1.246 GB, free: 3.477 MB / 0.9512 GB " [Timeout remaining time 291] (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_2/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: 15.681839076103643]