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.00121/0.00121, 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.001518/0.001518, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8917/0.8917, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 1.797/1.797, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.9996 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.198e-05/1.35e-05, allocations: 2.281 kB / 0.9996 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.002179/0.002193, allocations: 1.614 MB / 1.001 GB, free: 10.82 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.0007624/0.002955, allocations: 0.5693 MB / 1.002 GB, free: 10.25 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.102e-05/0.003016, allocations: 3.938 kB / 1.002 GB, free: 10.25 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0001715/0.003188, allocations: 35.66 kB / 1.002 GB, free: 10.21 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0002788/0.003466, allocations: 107.4 kB / 1.002 GB, free: 10.11 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002487/0.003715, allocations: 147.6 kB / 1.002 GB, free: 9.961 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0002195/0.003935, allocations: 235.4 kB / 1.002 GB, free: 9.73 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.004047, allocations: 13.81 kB / 1.002 GB, free: 9.715 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001324/0.00418, allocations: 131.8 kB / 1.002 GB, free: 9.586 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004589/0.008769, allocations: 1.556 MB / 1.004 GB, free: 8.441 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 4.025e-05/0.008809, allocations: 16 kB / 1.004 GB, free: 8.426 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 8.085e-05/0.00889, allocations: 39.97 kB / 1.004 GB, free: 8.387 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 5.358e-05/0.008944, allocations: 35.78 kB / 1.004 GB, free: 8.352 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 7.117e-05/0.009015, allocations: 63.81 kB / 1.004 GB, free: 8.289 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0002832/0.009298, allocations: 215.3 kB / 1.004 GB, free: 8.078 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.0093, allocations: 4 kB / 1.004 GB, free: 8.074 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.382e-06/0.009302, allocations: 3.938 kB / 1.004 GB, free: 8.07 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.009306, allocations: 0 / 1.004 GB, free: 8.07 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.0005578/0.009864, allocations: 460.8 kB / 1.005 GB, free: 7.578 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.009909, allocations: 12.75 kB / 1.005 GB, free: 7.566 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.014e-05/0.009939, allocations: 38.73 kB / 1.005 GB, free: 7.52 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.848e-05/0.009988, allocations: 20.84 kB / 1.005 GB, free: 7.5 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001961/0.01018, allocations: 173.5 kB / 1.005 GB, free: 7.305 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.0102, allocations: 16.31 kB / 1.005 GB, free: 7.289 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.296e-05/0.01022, allocations: 24.06 kB / 1.005 GB, free: 7.266 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.01035, allocations: 81.59 kB / 1.005 GB, free: 7.18 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.01035, allocations: 0 / 1.005 GB, free: 7.18 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.01036, allocations: 4 kB / 1.005 GB, free: 7.176 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.01037, allocations: 0 / 1.005 GB, free: 7.176 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.148e-05/0.01044, allocations: 43.97 kB / 1.005 GB, free: 7.133 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005244/0.01096, allocations: 379.6 kB / 1.005 GB, free: 6.719 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.01107, allocations: 62.56 kB / 1.006 GB, free: 6.648 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.511e-05/0.01111, allocations: 24.84 kB / 1.006 GB, free: 6.621 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/0.01112, allocations: 0 / 1.006 GB, free: 6.621 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001168/0.01124, allocations: 91.5 kB / 1.006 GB, free: 6.52 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=12): time 1.193e-06/0.01124, allocations: 0 / 1.006 GB, free: 6.52 MB / 0.9167 GB Notification: Performance of matching and sorting (n=12): time 0.000223/0.01146, allocations: 125.5 kB / 1.006 GB, free: 6.391 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.0115, allocations: 59.34 kB / 1.006 GB, free: 6.32 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.01163, allocations: 192.4 kB / 1.006 GB, free: 6.121 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.01166, allocations: 37.7 kB / 1.006 GB, free: 6.078 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 6.499e-05/0.01172, allocations: 116.1 kB / 1.006 GB, free: 5.961 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.943e-05/0.01174, allocations: 27.89 kB / 1.006 GB, free: 5.934 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.546e-05/0.01181, allocations: 53.67 kB / 1.006 GB, free: 5.875 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.651e-05/0.01188, allocations: 326.8 kB / 1.007 GB, free: 5.547 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.004e-05/0.01192, allocations: 27.98 kB / 1.007 GB, free: 5.52 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001834/0.01211, allocations: 226.4 kB / 1.007 GB, free: 5.246 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.498e-05/0.01219, allocations: 88.22 kB / 1.007 GB, free: 5.145 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.01219, allocations: 4 kB / 1.007 GB, free: 5.141 MB / 0.9167 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001416/0.01234, allocations: 141.3 kB / 1.007 GB, free: 5 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.01235, allocations: 4 kB / 1.007 GB, free: 4.996 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.01235, allocations: 3.938 kB / 1.007 GB, free: 4.992 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.01236, allocations: 4 kB / 1.007 GB, free: 4.988 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.504e-05/0.01242, allocations: 19.92 kB / 1.007 GB, free: 4.969 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.01242, allocations: 0 / 1.007 GB, free: 4.969 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.152e-05/0.01252, allocations: 23.89 kB / 1.007 GB, free: 4.945 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.118e-06/0.01252, allocations: 16.11 kB / 1.007 GB, free: 4.93 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.057e-05/0.01261, allocations: 133.8 kB / 1.007 GB, free: 4.789 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.449e-05/0.01262, allocations: 15.91 kB / 1.007 GB, free: 4.773 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.66e-05/0.01265, allocations: 17.45 kB / 1.007 GB, free: 4.758 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.01265, allocations: 4 kB / 1.007 GB, free: 4.754 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.01265, allocations: 7.875 kB / 1.007 GB, free: 4.746 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.01266, allocations: 0 / 1.007 GB, free: 4.746 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003241/0.01298, allocations: 385.5 kB / 1.008 GB, free: 4.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.01298, allocations: 3.938 kB / 1.008 GB, free: 4.316 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.203e-05/0.013, allocations: 8 kB / 1.008 GB, free: 4.309 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.013, allocations: 0 / 1.008 GB, free: 4.309 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.01301, allocations: 4 kB / 1.008 GB, free: 4.305 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.01301, allocations: 0 / 1.008 GB, free: 4.305 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.01301, allocations: 4 kB / 1.008 GB, free: 4.301 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001199/0.01313, allocations: 207.3 kB / 1.008 GB, free: 4.082 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.605e-05/0.01314, allocations: 19.78 kB / 1.008 GB, free: 4.062 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.01316, allocations: 0 / 1.008 GB, free: 4.062 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.952e-05/0.01321, allocations: 11.98 kB / 1.008 GB, free: 4.051 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.586e-05/0.01325, allocations: 15.98 kB / 1.008 GB, free: 4.035 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/0.01327, allocations: 11.98 kB / 1.008 GB, free: 4.023 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 7.66e-05/0.01335, allocations: 137.2 kB / 1.008 GB, free: 3.891 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.01335, allocations: 0 / 1.008 GB, free: 3.891 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001978/0.01354, allocations: 35.98 kB / 1.008 GB, free: 3.852 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.0005055/0.01405, allocations: 0.8164 MB / 1.009 GB, free: 3.027 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001456/0.0142, allocations: 71.91 kB / 1.009 GB, free: 2.957 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.0142, allocations: 4 kB / 1.009 GB, free: 2.953 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.639e-05/0.01424, allocations: 35.92 kB / 1.009 GB, free: 2.918 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.0145, allocations: 54.09 kB / 1.009 GB, free: 2.871 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001405/0.0159, allocations: 1.785 MB / 1.011 GB, free: 0.9844 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.096e-05/0.01597, allocations: 106 kB / 1.011 GB, free: 0.8555 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 5.184e-05/0.01602, allocations: 21.48 kB / 1.011 GB, free: 0.8359 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.273e-05/0.01609, allocations: 40.48 kB / 1.011 GB, free: 0.7969 MB / 0.9167 GB Notification: Performance of SimCode: time 5.61e-07/0.01609, allocations: 0 / 1.011 GB, free: 0.7969 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01747/0.03356, allocations: 5.973 MB / 1.017 GB, free: 11.01 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.039/7.073, allocations: 1.422 kB / 1.017 GB, free: 11.01 MB / 0.9323 GB " [Timeout remaining time 293] (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/jenkins/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: 11.62158701941371]