Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.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.0007764/0.0007764, 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.0007681/0.0007681, 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.8549/0.8549, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.665/1.665, allocations: 377.8 MB / 0.6221 GB, free: 8.656 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.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.981 GB, free: 2.586 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.862e-05/2.019e-05, allocations: 6.281 kB / 0.981 GB, free: 2.578 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.6143/0.6143, allocations: 160.6 MB / 1.138 GB, free: 4.629 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.006194/0.6205, allocations: 5.073 MB / 1.143 GB, free: 1.195 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009909/0.6215, allocations: 47.06 kB / 1.143 GB, free: 1.172 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0009399/0.6224, allocations: 437.7 kB / 1.143 GB, free: 0.9336 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.003179/0.6256, allocations: 1.791 MB / 1.145 GB, free: 15.95 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001569/0.6272, allocations: 0.8358 MB / 1.146 GB, free: 15.49 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.002537/0.6297, allocations: 2.271 MB / 1.148 GB, free: 14.43 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00075/0.6305, allocations: 0.5443 MB / 1.148 GB, free: 14.15 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001784/0.6322, allocations: 1.24 MB / 1.15 GB, free: 13.6 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001284/0.6335, allocations: 0.6397 MB / 1.15 GB, free: 13.4 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001383/0.6337, allocations: 76.12 kB / 1.15 GB, free: 13.4 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002163/0.6358, allocations: 1.169 MB / 1.152 GB, free: 12.96 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0003277/0.6362, allocations: 346.6 kB / 1.152 GB, free: 12.8 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0004407/0.6366, allocations: 337.4 kB / 1.152 GB, free: 12.66 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002511/0.6391, allocations: 1.679 MB / 1.154 GB, free: 12.09 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.902e-06/0.6391, allocations: 0 / 1.154 GB, free: 12.09 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.454e-06/0.6391, allocations: 0.7969 kB / 1.154 GB, free: 12.09 MB / 1.01 GB Notification: Performance of Transformations before backend: time 3.102e-05/0.6391, allocations: 1.438 kB / 1.154 GB, free: 12.09 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.001757/0.6409, allocations: 1.13 MB / 1.155 GB, free: 11.31 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.641, allocations: 10.41 kB / 1.155 GB, free: 11.31 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001071/0.6411, allocations: 100.4 kB / 1.155 GB, free: 11.24 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001081/0.6421, allocations: 279.2 kB / 1.155 GB, free: 11.17 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009025/0.643, allocations: 0.6381 MB / 1.156 GB, free: 10.79 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.394e-05/0.6431, allocations: 46.47 kB / 1.156 GB, free: 10.76 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.59e-05/0.6432, allocations: 62.8 kB / 1.156 GB, free: 10.74 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008273/0.644, allocations: 0.7855 MB / 1.157 GB, free: 10.25 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.644, allocations: 0 / 1.157 GB, free: 10.25 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.845e-05/0.644, allocations: 25.56 kB / 1.157 GB, free: 10.23 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.927e-05/0.6441, allocations: 22.64 kB / 1.157 GB, free: 10.23 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006275/0.6447, allocations: 0.4961 MB / 1.157 GB, free: 10.07 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00209/0.6468, allocations: 1.584 MB / 1.159 GB, free: 9.238 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005711/0.6473, allocations: 417.4 kB / 1.159 GB, free: 9.066 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002258/0.6476, allocations: 206.7 kB / 1.159 GB, free: 8.988 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000116/0.6477, allocations: 31.95 kB / 1.16 GB, free: 8.977 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.6477, allocations: 41.92 kB / 1.16 GB, free: 8.934 MB / 1.01 GB Notification: Performance of pre-optimization done (n=43): time 3.176e-06/0.6477, allocations: 3.984 kB / 1.16 GB, free: 8.93 MB / 1.01 GB Notification: Performance of matching and sorting (n=48): time 0.002171/0.6499, allocations: 1.384 MB / 1.161 GB, free: 8.219 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.6e-05/0.6499, allocations: 57.31 kB / 1.161 GB, free: 8.156 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000598/0.6505, allocations: 0.539 MB / 1.161 GB, free: 7.918 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.971e-05/0.6506, allocations: 37.36 kB / 1.162 GB, free: 7.879 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002114/0.6508, allocations: 332.2 kB / 1.162 GB, free: 7.613 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/0.6509, allocations: 171.5 kB / 1.162 GB, free: 7.477 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.651, allocations: 90.5 kB / 1.162 GB, free: 7.426 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.6512, allocations: 381.3 kB / 1.162 GB, free: 7.078 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002178/0.6514, allocations: 174.4 kB / 1.163 GB, free: 7.016 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003068/0.6517, allocations: 362.4 kB / 1.163 GB, free: 6.75 MB / 1.01 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volSim.dynBal.medium.p = volSim.dynBal.p_start (bou.p = volSim.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volExa.dynBal.medium.p = volExa.dynBal.p_start (bou.p = volExa.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002148/0.6538, allocations: 1.291 MB / 1.164 GB, free: 6.273 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.6538, allocations: 0 / 1.164 GB, free: 6.273 MB / 1.01 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000761/0.6546, allocations: 0.5325 MB / 1.165 GB, free: 6.031 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.637e-05/0.6546, allocations: 5.656 kB / 1.165 GB, free: 6.031 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/0.6546, allocations: 2.188 kB / 1.165 GB, free: 6.031 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/0.6547, allocations: 3.859 kB / 1.165 GB, free: 6.031 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002547/0.6549, allocations: 100.7 kB / 1.165 GB, free: 6.02 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.6549, allocations: 3.609 kB / 1.165 GB, free: 6.02 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003521/0.6553, allocations: 19.64 kB / 1.165 GB, free: 6.008 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.256e-05/0.6553, allocations: 16.88 kB / 1.165 GB, free: 6.004 MB / 1.01 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: volSim.dynBal.medium.p = volSim.dynBal.p_start volExa.dynBal.medium.p = volExa.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 56 * 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.0002993/0.6556, allocations: 251.6 kB / 1.165 GB, free: 5.824 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.708e-05/0.6557, allocations: 69.39 kB / 1.165 GB, free: 5.789 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.325e-05/0.6558, allocations: 77.34 kB / 1.165 GB, free: 5.742 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.6558, allocations: 5.594 kB / 1.165 GB, free: 5.742 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/0.6558, allocations: 0 / 1.165 GB, free: 5.742 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005136/0.6563, allocations: 0.5169 MB / 1.166 GB, free: 5.438 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001779/0.6581, allocations: 1.458 MB / 1.167 GB, free: 4.574 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.6581, allocations: 9.094 kB / 1.167 GB, free: 4.57 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002792/0.6584, allocations: 117.3 kB / 1.167 GB, free: 4.559 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.395e-06/0.6584, allocations: 6.656 kB / 1.167 GB, free: 4.559 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.552e-05/0.6584, allocations: 14.69 kB / 1.167 GB, free: 4.555 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.724e-06/0.6584, allocations: 10.5 kB / 1.167 GB, free: 4.555 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.6584, allocations: 9.922 kB / 1.167 GB, free: 4.551 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008899/0.6593, allocations: 0.8974 MB / 1.168 GB, free: 3.984 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001973/0.6595, allocations: 122.8 kB / 1.168 GB, free: 3.918 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.342e-05/0.6596, allocations: 21.97 kB / 1.168 GB, free: 3.906 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002575/0.6598, allocations: 19.8 kB / 1.168 GB, free: 3.898 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.497e-05/0.6599, allocations: 44.92 kB / 1.168 GB, free: 3.887 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.074e-05/0.6599, allocations: 23.36 kB / 1.168 GB, free: 3.883 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003677/0.6603, allocations: 400.2 kB / 1.169 GB, free: 3.707 MB / 1.01 GB Notification: Performance of sort global known variables: time 5e-08/0.6603, allocations: 0 / 1.169 GB, free: 3.707 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0005371/0.6608, allocations: 198.9 kB / 1.169 GB, free: 3.691 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 4 (volSim.dynBal.medium.Xi[1],volSim.dynBal.U,volExa.dynBal.medium.Xi[1],volExa.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 49 * 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 Backend phase and start with SimCode phase: time 0.001307/0.6621, allocations: 1.519 MB / 1.171 GB, free: 2.562 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0005809/0.6627, allocations: 432.5 kB / 1.171 GB, free: 2.414 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.6627, allocations: 1.219 kB / 1.171 GB, free: 2.414 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0002457/0.663, allocations: 222 kB / 1.171 GB, free: 2.34 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001289/0.6643, allocations: 495.2 kB / 1.172 GB, free: 2.203 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005417/0.6697, allocations: 5.41 MB / 1.177 GB, free: 15.05 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002918/0.67, allocations: 387.1 kB / 1.177 GB, free: 14.93 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.0005086/0.6705, allocations: 165.1 kB / 1.177 GB, free: 14.88 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002627/0.6707, allocations: 251.2 kB / 1.178 GB, free: 14.7 MB / 1.026 GB Notification: Performance of SimCode: time 6.81e-07/0.6707, allocations: 0 / 1.178 GB, free: 14.7 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03475/0.7055, allocations: 22.71 MB / 1.2 GB, free: 6.297 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.75/7.456, allocations: 4.719 kB / 1.2 GB, free: 6.297 MB / 1.026 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_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_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.fmu > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable volSim.T in file Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.csv. Warning: Get data of variable volSim.T from file Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.csv failed! Error: Could not read variable volExa.T in file Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.csv. Warning: Get data of variable volExa.T from file Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.csv failed! Error: Could not read variable relErr.y in file Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.csv. Warning: Get data of variable relErr.y from file Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.492466462776065]