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.001416/0.001416, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00211/0.00211, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.47/1.47, allocations: 230.6 MB / 256 MB, free: 7.789 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.354/3.354, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 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.003193/0.003193, allocations: 68.77 kB / 1.186 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.381/0.3841, allocations: 181.9 MB / 1.363 GB, free: 14.23 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003305/0.3875, allocations: 1.637 MB / 1.365 GB, free: 12.58 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001227/0.3887, allocations: 0.555 MB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.808e-05/0.3888, allocations: 4 kB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001918/0.389, allocations: 35.72 kB / 1.366 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003891/0.3894, allocations: 107.5 kB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004024/0.3898, allocations: 147.7 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003178/0.3901, allocations: 219.5 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.3902, allocations: 17.69 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001656/0.3904, allocations: 111.7 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01274/0.4031, allocations: 1.575 MB / 1.368 GB, free: 10.23 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.559e-05/0.4032, allocations: 16 kB / 1.368 GB, free: 10.21 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001561/0.4033, allocations: 36 kB / 1.368 GB, free: 10.18 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.56e-05/0.4034, allocations: 39.78 kB / 1.368 GB, free: 10.14 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001176/0.4035, allocations: 63.69 kB / 1.368 GB, free: 10.08 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004111/0.4039, allocations: 199.2 kB / 1.368 GB, free: 9.883 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.404, allocations: 0 / 1.368 GB, free: 9.883 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.733e-06/0.404, allocations: 0 / 1.368 GB, free: 9.883 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.404, allocations: 0 / 1.368 GB, free: 9.883 MB / 1.061 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.000935/0.4049, allocations: 468.8 kB / 1.368 GB, free: 9.383 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.4049, allocations: 8.031 kB / 1.368 GB, free: 9.375 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.5e-05/0.405, allocations: 42.73 kB / 1.368 GB, free: 9.324 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.194e-05/0.4051, allocations: 16.84 kB / 1.368 GB, free: 9.309 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003941/0.4055, allocations: 182 kB / 1.369 GB, free: 9.105 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.4055, allocations: 11.98 kB / 1.369 GB, free: 9.094 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.918e-05/0.4055, allocations: 15.94 kB / 1.369 GB, free: 9.078 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003082/0.4059, allocations: 85.59 kB / 1.369 GB, free: 8.988 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.4059, allocations: 0 / 1.369 GB, free: 8.988 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.4059, allocations: 0 / 1.369 GB, free: 8.988 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.4059, allocations: 11.94 kB / 1.369 GB, free: 8.977 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001476/0.406, allocations: 39.98 kB / 1.369 GB, free: 8.938 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009738/0.407, allocations: 379.6 kB / 1.369 GB, free: 8.523 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001995/0.4072, allocations: 62.56 kB / 1.369 GB, free: 8.453 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.931e-05/0.4073, allocations: 20.84 kB / 1.369 GB, free: 8.43 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.4073, allocations: 4 kB / 1.369 GB, free: 8.426 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002837/0.4076, allocations: 91.38 kB / 1.369 GB, free: 8.324 MB / 1.061 GB Notification: Performance of pre-optimization done (n=12): time 1.693e-06/0.4076, allocations: 192 / 1.369 GB, free: 8.324 MB / 1.061 GB Notification: Performance of matching and sorting (n=12): time 0.0003682/0.408, allocations: 133.4 kB / 1.369 GB, free: 8.188 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.084e-05/0.408, allocations: 55.41 kB / 1.37 GB, free: 8.121 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002486/0.4083, allocations: 195.3 kB / 1.37 GB, free: 7.918 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.592e-05/0.4083, allocations: 33.7 kB / 1.37 GB, free: 7.879 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001502/0.4085, allocations: 120 kB / 1.37 GB, free: 7.758 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.305e-05/0.4085, allocations: 27.75 kB / 1.37 GB, free: 7.73 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.686e-05/0.4086, allocations: 53.67 kB / 1.37 GB, free: 7.672 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001744/0.4088, allocations: 326.8 kB / 1.37 GB, free: 7.344 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.294e-05/0.4088, allocations: 31.98 kB / 1.37 GB, free: 7.312 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000332/0.4092, allocations: 230.3 kB / 1.371 GB, free: 7.035 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/0.4093, allocations: 88.22 kB / 1.371 GB, free: 6.934 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.4093, allocations: 0 / 1.371 GB, free: 6.934 MB / 1.061 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002396/0.4096, allocations: 128.8 kB / 1.371 GB, free: 6.805 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.4096, allocations: 12.06 kB / 1.371 GB, free: 6.793 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.4096, allocations: 4 kB / 1.371 GB, free: 6.789 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/0.4096, allocations: 7.938 kB / 1.371 GB, free: 6.781 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.599e-05/0.4097, allocations: 15.98 kB / 1.371 GB, free: 6.766 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.4097, allocations: 4 kB / 1.371 GB, free: 6.762 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001838/0.4099, allocations: 11.95 kB / 1.371 GB, free: 6.75 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.4099, allocations: 4 kB / 1.371 GB, free: 6.746 MB / 1.061 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.0001696/0.4101, allocations: 141.5 kB / 1.371 GB, free: 6.598 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.103e-05/0.4101, allocations: 19.84 kB / 1.371 GB, free: 6.578 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.07e-05/0.4101, allocations: 21.39 kB / 1.371 GB, free: 6.551 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.4101, allocations: 4 kB / 1.371 GB, free: 6.547 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.4101, allocations: 0 / 1.371 GB, free: 6.547 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.4102, allocations: 0 / 1.371 GB, free: 6.547 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005805/0.4107, allocations: 401.3 kB / 1.371 GB, free: 6.105 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.4107, allocations: 3.938 kB / 1.371 GB, free: 6.102 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.378e-05/0.4108, allocations: 4 kB / 1.371 GB, free: 6.098 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.4108, allocations: 0 / 1.371 GB, free: 6.098 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.4108, allocations: 4 kB / 1.371 GB, free: 6.094 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-06/0.4108, allocations: 0 / 1.371 GB, free: 6.094 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4108, allocations: 0 / 1.371 GB, free: 6.094 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002535/0.411, allocations: 219.8 kB / 1.372 GB, free: 5.863 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.343e-05/0.4111, allocations: 19.89 kB / 1.372 GB, free: 5.844 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/0.4111, allocations: 0 / 1.372 GB, free: 5.844 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.533e-05/0.4112, allocations: 7.984 kB / 1.372 GB, free: 5.836 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.516e-05/0.4112, allocations: 11.98 kB / 1.372 GB, free: 5.824 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-05/0.4113, allocations: 11.98 kB / 1.372 GB, free: 5.812 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002028/0.4115, allocations: 129.2 kB / 1.372 GB, free: 5.688 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.4115, allocations: 0 / 1.372 GB, free: 5.688 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003222/0.4118, allocations: 47.92 kB / 1.372 GB, free: 5.641 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.0009958/0.4128, allocations: 0.805 MB / 1.373 GB, free: 4.828 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002245/0.413, allocations: 75.91 kB / 1.373 GB, free: 4.754 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.413, allocations: 0 / 1.373 GB, free: 4.754 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.489e-05/0.4131, allocations: 35.94 kB / 1.373 GB, free: 4.719 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004312/0.4135, allocations: 49.09 kB / 1.373 GB, free: 4.676 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002329/0.4159, allocations: 1.787 MB / 1.374 GB, free: 2.789 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001334/0.416, allocations: 110.3 kB / 1.375 GB, free: 2.664 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001143/0.4161, allocations: 25.41 kB / 1.375 GB, free: 2.641 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.4162, allocations: 47.41 kB / 1.375 GB, free: 2.594 MB / 1.061 GB Notification: Performance of SimCode: time 5.01e-07/0.4162, allocations: 0 / 1.375 GB, free: 2.594 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03637/0.4526, allocations: 5.846 MB / 1.38 GB, free: 12.94 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.44, allocations: 7.938 kB / 1.38 GB, free: 12.93 MB / 1.076 GB " [Timeout remaining time 287] (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: 19.349591393955052]