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.001334/0.001334, allocations: 110.6 kB / 18.94 MB, free: 2.789 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.001594/0.001594, allocations: 218.4 kB / 22.26 MB, free: 5.219 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.474/1.474, allocations: 230.6 MB / 256 MB, free: 8.012 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.382/3.382, allocations: 0.505 GB / 0.8101 GB, free: 22.05 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.002031/0.002031, allocations: 76.66 kB / 1.177 GB, free: 17.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3871/0.3891, allocations: 180.2 MB / 1.353 GB, free: 8.441 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.004436/0.3935, allocations: 1.654 MB / 1.354 GB, free: 6.773 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001555/0.3951, allocations: 0.5855 MB / 1.355 GB, free: 6.188 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.3952, allocations: 0 / 1.355 GB, free: 6.188 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002331/0.3954, allocations: 31.73 kB / 1.355 GB, free: 6.156 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004296/0.3959, allocations: 115.4 kB / 1.355 GB, free: 6.043 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003921/0.3963, allocations: 152.3 kB / 1.355 GB, free: 5.895 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003241/0.3966, allocations: 211.5 kB / 1.356 GB, free: 5.688 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.3967, allocations: 21.73 kB / 1.356 GB, free: 5.668 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001532/0.3969, allocations: 99.67 kB / 1.356 GB, free: 5.57 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01296/0.4098, allocations: 1.576 MB / 1.357 GB, free: 4.406 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001136/0.4099, allocations: 16 kB / 1.357 GB, free: 4.391 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001736/0.4101, allocations: 47.91 kB / 1.357 GB, free: 4.344 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 9.93e-05/0.4102, allocations: 43.78 kB / 1.357 GB, free: 4.301 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0003028/0.4105, allocations: 79.62 kB / 1.357 GB, free: 4.223 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005108/0.411, allocations: 191.2 kB / 1.358 GB, free: 4.035 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.411, allocations: 0 / 1.358 GB, free: 4.035 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.044e-06/0.411, allocations: 0 / 1.358 GB, free: 4.035 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.939e-06/0.411, allocations: 4 kB / 1.358 GB, free: 4.031 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.001068/0.4121, allocations: 464.8 kB / 1.358 GB, free: 3.535 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/0.4122, allocations: 12.03 kB / 1.358 GB, free: 3.523 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.106e-05/0.4122, allocations: 38.75 kB / 1.358 GB, free: 3.477 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.152e-05/0.4123, allocations: 16.84 kB / 1.358 GB, free: 3.461 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003592/0.4127, allocations: 178 kB / 1.358 GB, free: 3.262 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/0.4127, allocations: 8 kB / 1.358 GB, free: 3.254 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.976e-05/0.4127, allocations: 8 kB / 1.358 GB, free: 3.246 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001997/0.4129, allocations: 85.59 kB / 1.358 GB, free: 3.156 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.4129, allocations: 0 / 1.358 GB, free: 3.156 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.4129, allocations: 4 kB / 1.358 GB, free: 3.152 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.413, allocations: 7.938 kB / 1.358 GB, free: 3.145 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.4131, allocations: 51.95 kB / 1.358 GB, free: 3.094 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000887/0.414, allocations: 411.5 kB / 1.359 GB, free: 2.648 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001582/0.4141, allocations: 62.56 kB / 1.359 GB, free: 2.578 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.804e-05/0.4142, allocations: 32.84 kB / 1.359 GB, free: 2.543 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.4142, allocations: 0 / 1.359 GB, free: 2.543 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000188/0.4144, allocations: 83.38 kB / 1.359 GB, free: 2.449 MB / 1.045 GB Notification: Performance of pre-optimization done (n=12): time 2.094e-06/0.4144, allocations: 0 / 1.359 GB, free: 2.449 MB / 1.045 GB Notification: Performance of matching and sorting (n=12): time 0.0003225/0.4147, allocations: 133.6 kB / 1.359 GB, free: 2.312 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.043e-05/0.4148, allocations: 63.39 kB / 1.359 GB, free: 2.238 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002204/0.415, allocations: 191.2 kB / 1.359 GB, free: 2.039 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.602e-05/0.415, allocations: 29.7 kB / 1.359 GB, free: 2.004 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.4152, allocations: 120.2 kB / 1.359 GB, free: 1.883 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.887e-05/0.4152, allocations: 23.84 kB / 1.359 GB, free: 1.859 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.254e-05/0.4153, allocations: 53.67 kB / 1.36 GB, free: 1.801 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.4154, allocations: 326.8 kB / 1.36 GB, free: 1.473 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.966e-05/0.4155, allocations: 23.98 kB / 1.36 GB, free: 1.449 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002473/0.4158, allocations: 135.5 kB / 1.36 GB, free: 1.289 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/0.4159, allocations: 85.73 kB / 1.36 GB, free: 1.191 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.4159, allocations: 4 kB / 1.36 GB, free: 1.188 MB / 1.045 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002288/0.4161, allocations: 127.6 kB / 1.36 GB, free: 1.059 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.4161, allocations: 11.88 kB / 1.36 GB, free: 1.047 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.4161, allocations: 0 / 1.36 GB, free: 1.047 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.4162, allocations: 4 kB / 1.36 GB, free: 1.043 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.111e-05/0.4163, allocations: 23.92 kB / 1.36 GB, free: 1.02 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.4163, allocations: 0 / 1.36 GB, free: 1.02 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001775/0.4164, allocations: 19.88 kB / 1.36 GB, free: 1 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/0.4165, allocations: 12.12 kB / 1.36 GB, free: 0.9883 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.0001416/0.4166, allocations: 134.4 kB / 1.36 GB, free: 0.8477 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.038e-05/0.4166, allocations: 19.84 kB / 1.36 GB, free: 0.8281 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.658e-05/0.4167, allocations: 21.39 kB / 1.36 GB, free: 0.8008 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.4167, allocations: 0 / 1.36 GB, free: 0.8008 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.4167, allocations: 0 / 1.36 GB, free: 0.8008 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.4167, allocations: 4 kB / 1.36 GB, free: 0.7969 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005792/0.4173, allocations: 409.2 kB / 1.361 GB, free: 356 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.4173, allocations: 4 kB / 1.361 GB, free: 352 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.803e-05/0.4173, allocations: 0 / 1.361 GB, free: 352 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.4173, allocations: 4 kB / 1.361 GB, free: 348 kB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.699e-06/0.4173, allocations: 0 / 1.361 GB, free: 348 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.4173, allocations: 0 / 1.361 GB, free: 348 kB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.85e-06/0.4173, allocations: 3.984 kB / 1.361 GB, free: 344 kB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002583/0.4176, allocations: 211.2 kB / 1.361 GB, free: 116 kB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.937e-05/0.4176, allocations: 15.89 kB / 1.361 GB, free: 100 kB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.669e-05/0.4176, allocations: 12 kB / 1.361 GB, free: 88 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.201e-05/0.4177, allocations: 4 kB / 1.361 GB, free: 84 kB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.4178, allocations: 15.97 kB / 1.361 GB, free: 68 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.136e-05/0.4178, allocations: 4 kB / 1.361 GB, free: 64 kB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001724/0.418, allocations: 136.1 kB / 1.361 GB, free: 15.93 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.418, allocations: 0 / 1.361 GB, free: 15.93 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003043/0.4183, allocations: 39.89 kB / 1.361 GB, free: 15.89 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.001114/0.4194, allocations: 0.8215 MB / 1.362 GB, free: 15.07 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002201/0.4196, allocations: 67.91 kB / 1.362 GB, free: 15 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4196, allocations: 0 / 1.362 GB, free: 15 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.069e-05/0.4197, allocations: 39.92 kB / 1.362 GB, free: 14.96 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004197/0.4201, allocations: 48.39 kB / 1.362 GB, free: 14.91 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00232/0.4225, allocations: 1.787 MB / 1.364 GB, free: 13.02 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004102/0.4229, allocations: 0.7164 MB / 1.365 GB, free: 12.28 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.891e-05/0.423, allocations: 17.48 kB / 1.365 GB, free: 12.26 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.133e-05/0.423, allocations: 47.41 kB / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of SimCode: time 5.71e-07/0.423, allocations: 0 / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03416/0.4572, allocations: 5.203 MB / 1.37 GB, free: 7.172 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.6, allocations: 3.984 kB / 1.37 GB, free: 7.168 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.csv --start-time 0 --stop-time 10 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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.csv","/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] "Error: Could not read variable plotConfiguration.active in file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.csv. Warning: Get data of variable plotConfiguration.active from file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.csv failed! Error: Could not read variable sca.active in file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.csv. Warning: Get data of variable sca.active from file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.csv failed! Error: Could not read variable scaDel.active in file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.csv. Warning: Get data of variable scaDel.active from file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.863155894000556]