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.0008801/0.0008801, 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.0009712/0.0009712, allocations: 165.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.9143/0.9143, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.784/1.784, allocations: 377.9 MB / 0.6221 GB, free: 8.633 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 0.9809 GB, free: 2.617 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.903e-05/2.089e-05, allocations: 4.812 kB / 0.9809 GB, free: 2.613 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.0022/0.002221, allocations: 1.627 MB / 0.9825 GB, free: 0.9727 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001004/0.003225, allocations: 0.5693 MB / 0.9831 GB, free: 412 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.146e-05/0.003296, allocations: 0 / 0.9831 GB, free: 412 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0001947/0.003491, allocations: 27.67 kB / 0.9831 GB, free: 384 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.000346/0.003837, allocations: 111.5 kB / 0.9832 GB, free: 272 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002822/0.004119, allocations: 151.6 kB / 0.9833 GB, free: 120 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.000233/0.004352, allocations: 219.5 kB / 0.9836 GB, free: 15.9 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.004464, allocations: 17.72 kB / 0.9836 GB, free: 15.89 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001278/0.004592, allocations: 131.8 kB / 0.9837 GB, free: 15.76 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004784/0.009376, allocations: 1.559 MB / 0.9852 GB, free: 14.61 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 4.044e-05/0.009416, allocations: 23.88 kB / 0.9852 GB, free: 14.59 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.551e-05/0.009502, allocations: 35.98 kB / 0.9853 GB, free: 14.55 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 5.61e-05/0.009558, allocations: 39.83 kB / 0.9853 GB, free: 14.51 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 7.412e-05/0.009632, allocations: 55.88 kB / 0.9854 GB, free: 14.46 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003066/0.009938, allocations: 215.3 kB / 0.9856 GB, free: 14.25 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.009943, allocations: 0 / 0.9856 GB, free: 14.25 MB / 0.948 GB Notification: Performance of FrontEnd: time 5.921e-06/0.009949, allocations: 0 / 0.9856 GB, free: 14.25 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.009955, allocations: 0 / 0.9856 GB, free: 14.25 MB / 0.948 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.0005824/0.01054, allocations: 468.8 kB / 0.986 GB, free: 13.75 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.01058, allocations: 12.03 kB / 0.986 GB, free: 13.73 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.371e-05/0.01062, allocations: 42.67 kB / 0.9861 GB, free: 13.68 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.339e-05/0.01067, allocations: 20.84 kB / 0.9861 GB, free: 13.66 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/0.01087, allocations: 170 kB / 0.9863 GB, free: 13.47 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.01088, allocations: 8.375 kB / 0.9863 GB, free: 13.46 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.0109, allocations: 20.12 kB / 0.9863 GB, free: 13.45 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.01104, allocations: 81.59 kB / 0.9864 GB, free: 13.36 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.01105, allocations: 0 / 0.9864 GB, free: 13.36 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.01106, allocations: 7.984 kB / 0.9864 GB, free: 13.35 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.01106, allocations: 4 kB / 0.9864 GB, free: 13.35 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.788e-05/0.01114, allocations: 47.91 kB / 0.9864 GB, free: 13.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005241/0.01167, allocations: 371.7 kB / 0.9868 GB, free: 12.89 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.01178, allocations: 66.5 kB / 0.9868 GB, free: 12.82 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.289e-05/0.01183, allocations: 24.84 kB / 0.9869 GB, free: 12.79 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.01184, allocations: 4 kB / 0.9869 GB, free: 12.79 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001327/0.01198, allocations: 91.38 kB / 0.9869 GB, free: 12.69 MB / 0.948 GB Notification: Performance of pre-optimization done (n=12): time 1.653e-06/0.01198, allocations: 0 / 0.9869 GB, free: 12.69 MB / 0.948 GB Notification: Performance of matching and sorting (n=12): time 0.0002255/0.0122, allocations: 129.6 kB / 0.9871 GB, free: 12.55 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.425e-05/0.01224, allocations: 63.33 kB / 0.9871 GB, free: 12.48 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.01238, allocations: 192.3 kB / 0.9873 GB, free: 12.28 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.0124, allocations: 33.7 kB / 0.9873 GB, free: 12.24 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.614e-05/0.01247, allocations: 116.1 kB / 0.9875 GB, free: 12.12 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.855e-05/0.01248, allocations: 23.94 kB / 0.9875 GB, free: 12.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.783e-05/0.01254, allocations: 57.62 kB / 0.9875 GB, free: 12.04 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.926e-05/0.01262, allocations: 326.8 kB / 0.9878 GB, free: 11.71 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.927e-05/0.01266, allocations: 31.98 kB / 0.9879 GB, free: 11.68 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001836/0.01284, allocations: 222.5 kB / 0.9881 GB, free: 11.41 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.179e-05/0.01294, allocations: 96.16 kB / 0.9882 GB, free: 11.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.01294, allocations: 0 / 0.9882 GB, free: 11.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001458/0.01308, allocations: 135.5 kB / 0.9883 GB, free: 11.16 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.0131, allocations: 8.125 kB / 0.9883 GB, free: 11.16 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.0131, allocations: 0 / 0.9883 GB, free: 11.16 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.01311, allocations: 4 kB / 0.9883 GB, free: 11.15 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.922e-05/0.01317, allocations: 19.86 kB / 0.9883 GB, free: 11.13 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.01318, allocations: 4 kB / 0.9883 GB, free: 11.13 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.726e-05/0.01328, allocations: 23.88 kB / 0.9884 GB, free: 11.11 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.01328, allocations: 4 kB / 0.9884 GB, free: 11.1 MB / 0.948 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.505e-05/0.01337, allocations: 141.5 kB / 0.9885 GB, free: 10.95 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.679e-05/0.01339, allocations: 15.91 kB / 0.9885 GB, free: 10.94 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.828e-05/0.01341, allocations: 21.45 kB / 0.9885 GB, free: 10.92 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.01342, allocations: 4 kB / 0.9885 GB, free: 10.91 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.01342, allocations: 7.938 kB / 0.9886 GB, free: 10.91 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.01343, allocations: 0 / 0.9886 GB, free: 10.91 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003292/0.01375, allocations: 385.9 kB / 0.9889 GB, free: 10.48 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.01376, allocations: 3.938 kB / 0.9889 GB, free: 10.48 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.336e-05/0.01377, allocations: 4 kB / 0.9889 GB, free: 10.47 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.01377, allocations: 0 / 0.9889 GB, free: 10.47 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.01378, allocations: 4 kB / 0.9889 GB, free: 10.47 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.01378, allocations: 3.984 kB / 0.9889 GB, free: 10.46 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.01378, allocations: 4 kB / 0.9889 GB, free: 10.46 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001245/0.01391, allocations: 203.5 kB / 0.9891 GB, free: 10.25 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.605e-05/0.01392, allocations: 19.78 kB / 0.9892 GB, free: 10.23 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.01394, allocations: 4 kB / 0.9892 GB, free: 10.22 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.24e-05/0.01399, allocations: 11.92 kB / 0.9892 GB, free: 10.21 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.824e-05/0.01404, allocations: 15.98 kB / 0.9892 GB, free: 10.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/0.01406, allocations: 7.984 kB / 0.9892 GB, free: 10.19 MB / 0.948 GB Notification: Performance of sorting global known variables: time 7.511e-05/0.01413, allocations: 128.1 kB / 0.9893 GB, free: 10.06 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.01413, allocations: 0 / 0.9893 GB, free: 10.06 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000198/0.01433, allocations: 39.98 kB / 0.9894 GB, free: 10.02 MB / 0.948 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.0005262/0.01486, allocations: 0.8237 MB / 0.9902 GB, free: 9.199 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001527/0.01501, allocations: 79.78 kB / 0.9902 GB, free: 9.121 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.01501, allocations: 0 / 0.9902 GB, free: 9.121 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.733e-05/0.01506, allocations: 31.98 kB / 0.9903 GB, free: 9.09 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002739/0.01533, allocations: 38.16 kB / 0.9903 GB, free: 9.055 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/0.01686, allocations: 1.806 MB / 0.9921 GB, free: 7.145 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.836e-05/0.01693, allocations: 102.3 kB / 0.9922 GB, free: 7.027 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 5.801e-05/0.01699, allocations: 17.48 kB / 0.9922 GB, free: 7.008 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.15e-05/0.01706, allocations: 52.45 kB / 0.9922 GB, free: 6.953 MB / 0.948 GB Notification: Performance of SimCode: time 9.82e-07/0.01706, allocations: 0 / 0.9922 GB, free: 6.953 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02083/0.03789, allocations: 5.975 MB / 0.9981 GB, free: 1.18 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.798/6.836, allocations: 1.891 kB / 0.9981 GB, free: 1.18 MB / 0.948 GB " [Timeout remaining time 293] (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/jenkins/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: 11.079176846891642]