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.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.001041/0.001041, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001045/0.001045, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.942/0.942, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.686/1.686, allocations: 359 MB / 0.6037 GB, free: 11.06 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 1.763e-06/1.763e-06, allocations: 0 / 0.9504 GB, free: 3.523 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.969e-05/2.145e-05, allocations: 2.281 kB / 0.9504 GB, free: 3.52 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.002211/0.002232, allocations: 1.638 MB / 0.952 GB, free: 1.859 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0007822/0.003014, allocations: 0.5659 MB / 0.9526 GB, free: 1.293 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.459e-05/0.003079, allocations: 3.938 kB / 0.9526 GB, free: 1.289 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.000152/0.003231, allocations: 27.78 kB / 0.9526 GB, free: 1.262 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0002928/0.003524, allocations: 119.3 kB / 0.9527 GB, free: 1.145 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002546/0.003778, allocations: 146.6 kB / 0.9529 GB, free: 1.004 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0002061/0.003984, allocations: 219.5 kB / 0.9531 GB, free: 0.7891 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.004089, allocations: 17.8 kB / 0.9531 GB, free: 0.7695 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001222/0.004211, allocations: 135.7 kB / 0.9532 GB, free: 0.6367 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004578/0.008789, allocations: 1.558 MB / 0.9548 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 4.805e-05/0.008837, allocations: 16 kB / 0.9548 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 8.635e-05/0.008924, allocations: 39.92 kB / 0.9548 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 5.354e-05/0.008977, allocations: 31.84 kB / 0.9548 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 7.448e-05/0.009052, allocations: 59.86 kB / 0.9549 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.000305/0.009357, allocations: 215.4 kB / 0.9551 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.00936, allocations: 0 / 0.9551 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.325e-06/0.009362, allocations: 4 kB / 0.9551 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.009369, allocations: 0 / 0.9551 GB, free: 15.13 MB / 0.9167 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.0005788/0.009947, allocations: 466.7 kB / 0.9555 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.009987, allocations: 8.031 kB / 0.9556 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.287e-05/0.01002, allocations: 42.73 kB / 0.9556 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.097e-05/0.01007, allocations: 16.84 kB / 0.9556 GB, free: 14.56 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002052/0.01028, allocations: 177.4 kB / 0.9558 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.01029, allocations: 12.38 kB / 0.9558 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.173e-05/0.01031, allocations: 12.12 kB / 0.9558 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/0.01045, allocations: 81.66 kB / 0.9559 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.01046, allocations: 0 / 0.9559 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.01047, allocations: 8 kB / 0.9559 GB, free: 14.24 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.01048, allocations: 4 kB / 0.9559 GB, free: 14.24 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.325e-05/0.01055, allocations: 35.98 kB / 0.9559 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005432/0.01109, allocations: 387.5 kB / 0.9563 GB, free: 13.78 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001166/0.01121, allocations: 58.5 kB / 0.9564 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.707e-05/0.01125, allocations: 28.84 kB / 0.9564 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.01126, allocations: 12.12 kB / 0.9564 GB, free: 13.67 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001243/0.01139, allocations: 91.25 kB / 0.9565 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=12): time 1.733e-06/0.01139, allocations: 0 / 0.9565 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of matching and sorting (n=12): time 0.0002232/0.01161, allocations: 129.6 kB / 0.9566 GB, free: 13.44 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/0.01165, allocations: 55.34 kB / 0.9567 GB, free: 13.37 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.01178, allocations: 187.2 kB / 0.9568 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.383e-05/0.01181, allocations: 33.7 kB / 0.9569 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 6.771e-05/0.01187, allocations: 127.9 kB / 0.957 GB, free: 13.01 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.812e-05/0.01189, allocations: 27.84 kB / 0.957 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.132e-05/0.01195, allocations: 53.67 kB / 0.9571 GB, free: 12.92 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.858e-05/0.01203, allocations: 326.8 kB / 0.9574 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.239e-05/0.01207, allocations: 31.83 kB / 0.9574 GB, free: 12.56 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001913/0.01227, allocations: 230.5 kB / 0.9576 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.311e-05/0.01236, allocations: 89.34 kB / 0.9577 GB, free: 12.18 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.01236, allocations: 0 / 0.9577 GB, free: 12.18 MB / 0.9167 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001498/0.01251, allocations: 140.8 kB / 0.9578 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.01253, allocations: 14.38 kB / 0.9579 GB, free: 12.03 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.01253, allocations: 0 / 0.9579 GB, free: 12.03 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.01254, allocations: 0 / 0.9579 GB, free: 12.03 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.094e-05/0.0126, allocations: 15.94 kB / 0.9579 GB, free: 12.02 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.01261, allocations: 11.92 kB / 0.9579 GB, free: 12 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.274e-05/0.0127, allocations: 15.94 kB / 0.9579 GB, free: 11.99 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.01271, allocations: 4 kB / 0.9579 GB, free: 11.98 MB / 0.9167 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.707e-05/0.0128, allocations: 133.6 kB / 0.958 GB, free: 11.84 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.821e-05/0.01282, allocations: 19.86 kB / 0.9581 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.834e-05/0.01284, allocations: 21.47 kB / 0.9581 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.01285, allocations: 0 / 0.9581 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.01285, allocations: 11.92 kB / 0.9581 GB, free: 11.79 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.01286, allocations: 0 / 0.9581 GB, free: 11.79 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003496/0.01321, allocations: 393.4 kB / 0.9585 GB, free: 11.36 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.01321, allocations: 7.938 kB / 0.9585 GB, free: 11.35 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.395e-05/0.01322, allocations: 3.938 kB / 0.9585 GB, free: 11.34 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.01323, allocations: 0 / 0.9585 GB, free: 11.34 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.01323, allocations: 4 kB / 0.9585 GB, free: 11.34 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.01323, allocations: 0 / 0.9585 GB, free: 11.34 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.01324, allocations: 4 kB / 0.9585 GB, free: 11.34 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001227/0.01336, allocations: 203.4 kB / 0.9587 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.656e-05/0.01338, allocations: 19.78 kB / 0.9587 GB, free: 11.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.01339, allocations: 4 kB / 0.9587 GB, free: 11.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.339e-05/0.01345, allocations: 7.984 kB / 0.9587 GB, free: 11.09 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.876e-05/0.01349, allocations: 15.92 kB / 0.9587 GB, free: 11.07 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/0.01351, allocations: 4 kB / 0.9587 GB, free: 11.07 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 8.136e-05/0.01359, allocations: 141.7 kB / 0.9589 GB, free: 10.93 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.01359, allocations: 0 / 0.9589 GB, free: 10.93 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002088/0.0138, allocations: 43.98 kB / 0.9589 GB, free: 10.89 MB / 0.9167 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.000536/0.01434, allocations: 0.8113 MB / 0.9597 GB, free: 10.08 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001491/0.01449, allocations: 78.84 kB / 0.9598 GB, free: 10 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01449, allocations: 0 / 0.9598 GB, free: 10 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.687e-05/0.01454, allocations: 35.94 kB / 0.9598 GB, free: 9.969 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/0.01481, allocations: 49.64 kB / 0.9599 GB, free: 9.922 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001378/0.01618, allocations: 1.781 MB / 0.9616 GB, free: 8.031 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.586e-05/0.01625, allocations: 102.3 kB / 0.9617 GB, free: 7.914 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 5.717e-05/0.01631, allocations: 21.47 kB / 0.9617 GB, free: 7.895 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.76e-05/0.01637, allocations: 44.48 kB / 0.9618 GB, free: 7.852 MB / 0.9167 GB Notification: Performance of SimCode: time 5.81e-07/0.01637, allocations: 3.938 kB / 0.9618 GB, free: 7.848 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02009/0.03646, allocations: 5.971 MB / 0.9676 GB, free: 2.074 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.139/7.176, allocations: 6.594 kB / 0.9676 GB, free: 2.07 MB / 0.9167 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_11_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_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.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.csv. Warning: Get data of variable plotConfiguration.active from file Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.csv failed! Error: Could not read variable sca.active in file Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.csv. Warning: Get data of variable sca.active from file Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.csv failed! Error: Could not read variable scaDel.active in file Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.csv. Warning: Get data of variable scaDel.active from file Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.311292313039303]