Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001445/0.001445, 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.001548/0.001548, allocations: 217.6 kB / 22.25 MB, free: 5.121 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.483/1.483, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.188/3.188, allocations: 0.49 GB / 0.7951 GB, free: 33.27 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_12_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.001995/0.001995, allocations: 70.55 kB / 1.154 GB, free: 25.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3413, allocations: 176.1 MB / 1.326 GB, free: 1.961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003285/0.3446, allocations: 1.669 MB / 1.327 GB, free: 288 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001156/0.3457, allocations: 0.5734 MB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.496e-05/0.3458, allocations: 3.938 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001755/0.346, allocations: 27.72 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003487/0.3463, allocations: 115.5 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003483/0.3467, allocations: 152.9 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002917/0.347, allocations: 215.5 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.3471, allocations: 21.73 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.3472, allocations: 107.6 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01233/0.3595, allocations: 1.585 MB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.535e-05/0.3596, allocations: 16 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001407/0.3597, allocations: 40 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.62e-05/0.3598, allocations: 31.84 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000131/0.36, allocations: 79.62 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003916/0.3603, allocations: 203.2 kB / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3603, allocations: 0 / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3604, allocations: 0 / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.3604, allocations: 0 / 1.331 GB, free: 13.54 MB / 1.029 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.0007519/0.3611, allocations: 456.9 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.3612, allocations: 16.03 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.994e-05/0.3612, allocations: 34.75 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.099e-05/0.3613, allocations: 20.84 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000286/0.3615, allocations: 194.3 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.3616, allocations: 15.97 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.386e-05/0.3616, allocations: 16 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.3618, allocations: 77.61 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.3618, allocations: 0 / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.3618, allocations: 7.984 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.3618, allocations: 0 / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.289e-05/0.3619, allocations: 43.98 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007746/0.3627, allocations: 407.5 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001334/0.3628, allocations: 58.56 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.123e-05/0.3628, allocations: 32.84 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.631e-05/0.3629, allocations: 0 / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002172/0.3631, allocations: 91.45 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of pre-optimization done (n=12): time 1.202e-06/0.3631, allocations: 0 / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of matching and sorting (n=12): time 0.000288/0.3634, allocations: 141.4 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/0.3634, allocations: 55.41 kB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001958/0.3636, allocations: 183.2 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.691e-05/0.3636, allocations: 37.7 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.751e-05/0.3637, allocations: 128.1 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.584e-05/0.3638, allocations: 23.84 kB / 1.333 GB, free: 11.35 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.249e-05/0.3638, allocations: 49.69 kB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.364, allocations: 326.8 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.628e-05/0.364, allocations: 27.94 kB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002305/0.3643, allocations: 119.7 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001616/0.3644, allocations: 85.34 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3644, allocations: 0 / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002299/0.3647, allocations: 140.7 kB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.3647, allocations: 14.89 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.3647, allocations: 4 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.3647, allocations: 0 / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.708e-05/0.3648, allocations: 12 kB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.118e-06/0.3648, allocations: 3.938 kB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001727/0.365, allocations: 27.88 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.365, allocations: 8 kB / 1.333 GB, free: 10.49 MB / 1.029 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.0001288/0.3651, allocations: 133.8 kB / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.411e-05/0.3651, allocations: 19.83 kB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.277e-05/0.3652, allocations: 21.34 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.3652, allocations: 4 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.3652, allocations: 0 / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.3652, allocations: 0 / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005712/0.3658, allocations: 405.3 kB / 1.334 GB, free: 9.855 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3658, allocations: 4 kB / 1.334 GB, free: 9.852 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.314e-05/0.3658, allocations: 7.938 kB / 1.334 GB, free: 9.844 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.145e-06/0.3658, allocations: 3.938 kB / 1.334 GB, free: 9.84 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.3658, allocations: 4 kB / 1.334 GB, free: 9.836 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3658, allocations: 0 / 1.334 GB, free: 9.836 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3658, allocations: 0 / 1.334 GB, free: 9.836 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002023/0.366, allocations: 211.2 kB / 1.334 GB, free: 9.613 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.439e-05/0.3661, allocations: 15.94 kB / 1.334 GB, free: 9.598 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/0.3661, allocations: 12 kB / 1.334 GB, free: 9.586 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.653e-05/0.3662, allocations: 7.984 kB / 1.334 GB, free: 9.578 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.862e-05/0.3662, allocations: 11.98 kB / 1.334 GB, free: 9.566 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.957e-05/0.3663, allocations: 4 kB / 1.334 GB, free: 9.562 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001187/0.3664, allocations: 136.1 kB / 1.334 GB, free: 9.43 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3664, allocations: 0 / 1.334 GB, free: 9.43 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002999/0.3667, allocations: 43.94 kB / 1.334 GB, free: 9.387 MB / 1.029 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.0007499/0.3674, allocations: 0.8095 MB / 1.335 GB, free: 8.574 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001904/0.3676, allocations: 75.91 kB / 1.335 GB, free: 8.5 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3676, allocations: 0 / 1.335 GB, free: 8.5 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.873e-05/0.3677, allocations: 31.88 kB / 1.335 GB, free: 8.469 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003735/0.3681, allocations: 54.92 kB / 1.335 GB, free: 8.422 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002013/0.3701, allocations: 1.791 MB / 1.337 GB, free: 6.52 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/0.3704, allocations: 0.7164 MB / 1.338 GB, free: 5.773 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.133e-05/0.3705, allocations: 21.47 kB / 1.338 GB, free: 5.754 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.314e-05/0.3706, allocations: 47.41 kB / 1.338 GB, free: 5.707 MB / 1.029 GB Notification: Performance of SimCode: time 3.51e-07/0.3706, allocations: 0 / 1.338 GB, free: 5.707 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04508/0.4156, allocations: 5.196 MB / 1.343 GB, free: 0.6797 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.7, allocations: 3.984 kB / 1.343 GB, free: 0.6758 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_12_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.fmu > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.csv. Warning: Get data of variable plotConfiguration.active from file Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.csv failed! Error: Could not read variable sca.active in file Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.csv. Warning: Get data of variable sca.active from file Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.csv failed! Error: Could not read variable scaDel.active in file Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.csv. Warning: Get data of variable scaDel.active from file Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.597620297001413]