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.0008098/0.0008098, 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.001009/0.001009, 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.8681/0.8681, allocations: 177.1 MB / 202.8 MB, free: 5.539 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.668/1.668, allocations: 377.9 MB / 0.6221 GB, free: 8.641 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.813e-06/1.813e-06, allocations: 0 / 0.981 GB, free: 2.555 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.128e-05/2.309e-05, allocations: 5.234 kB / 0.981 GB, free: 2.551 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.5667/0.5667, allocations: 160.6 MB / 1.138 GB, free: 4.5 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.006514/0.5732, allocations: 5.072 MB / 1.143 GB, free: 1.062 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001004/0.5742, allocations: 50.31 kB / 1.143 GB, free: 1.035 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0009889/0.5752, allocations: 424.2 kB / 1.143 GB, free: 0.8086 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.003258/0.5785, allocations: 1.793 MB / 1.145 GB, free: 15.82 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001607/0.5801, allocations: 0.8413 MB / 1.146 GB, free: 15.36 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.002849/0.5829, allocations: 2.27 MB / 1.148 GB, free: 14.3 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008123/0.5837, allocations: 0.5407 MB / 1.148 GB, free: 14.02 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001934/0.5857, allocations: 1.248 MB / 1.15 GB, free: 13.46 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001366/0.587, allocations: 0.6462 MB / 1.15 GB, free: 13.26 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001112/0.5871, allocations: 76.06 kB / 1.15 GB, free: 13.26 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002235/0.5894, allocations: 1.153 MB / 1.152 GB, free: 12.84 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0003628/0.5897, allocations: 355.5 kB / 1.152 GB, free: 12.67 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0003766/0.5901, allocations: 333.7 kB / 1.152 GB, free: 12.54 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002647/0.5928, allocations: 1.682 MB / 1.154 GB, free: 11.96 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.5928, allocations: 0 / 1.154 GB, free: 11.96 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.743e-06/0.5928, allocations: 4 kB / 1.154 GB, free: 11.95 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.329e-05/0.5928, allocations: 1.188 kB / 1.154 GB, free: 11.95 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.001574/0.5944, allocations: 1.124 MB / 1.155 GB, free: 11.19 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.5944, allocations: 9.969 kB / 1.155 GB, free: 11.19 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001131/0.5945, allocations: 104.7 kB / 1.155 GB, free: 11.11 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/0.5956, allocations: 281 kB / 1.155 GB, free: 11.04 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009071/0.5965, allocations: 0.6318 MB / 1.156 GB, free: 10.66 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.322e-05/0.5965, allocations: 48.67 kB / 1.156 GB, free: 10.63 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.634e-05/0.5966, allocations: 65.69 kB / 1.156 GB, free: 10.61 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000882/0.5975, allocations: 0.7861 MB / 1.157 GB, free: 10.12 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.5975, allocations: 0 / 1.157 GB, free: 10.12 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.192e-05/0.5975, allocations: 27.25 kB / 1.157 GB, free: 10.11 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.112e-05/0.5976, allocations: 26.97 kB / 1.157 GB, free: 10.1 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006282/0.5982, allocations: 0.4954 MB / 1.157 GB, free: 9.934 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002199/0.6004, allocations: 1.584 MB / 1.159 GB, free: 9.105 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005878/0.601, allocations: 408.9 kB / 1.159 GB, free: 8.938 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002393/0.6012, allocations: 209.1 kB / 1.159 GB, free: 8.855 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001237/0.6014, allocations: 24.53 kB / 1.16 GB, free: 8.852 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.339e-05/0.6014, allocations: 46.48 kB / 1.16 GB, free: 8.805 MB / 1.01 GB Notification: Performance of pre-optimization done (n=43): time 3.346e-06/0.6014, allocations: 0 / 1.16 GB, free: 8.805 MB / 1.01 GB Notification: Performance of matching and sorting (n=48): time 0.002121/0.6035, allocations: 1.38 MB / 1.161 GB, free: 8.098 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.6036, allocations: 56.19 kB / 1.161 GB, free: 8.035 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005033/0.6041, allocations: 0.5383 MB / 1.161 GB, free: 7.797 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.603e-05/0.6041, allocations: 38.42 kB / 1.162 GB, free: 7.758 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003248/0.6044, allocations: 336.1 kB / 1.162 GB, free: 7.488 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.000128/0.6045, allocations: 179 kB / 1.162 GB, free: 7.344 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.6047, allocations: 91.03 kB / 1.162 GB, free: 7.293 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.6048, allocations: 378 kB / 1.162 GB, free: 6.949 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002011/0.605, allocations: 174.9 kB / 1.163 GB, free: 6.887 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003138/0.6053, allocations: 361.2 kB / 1.163 GB, free: 6.621 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.002095/0.6074, allocations: 1.294 MB / 1.164 GB, free: 6.145 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.6074, allocations: 1.438 kB / 1.164 GB, free: 6.145 MB / 1.01 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006584/0.608, allocations: 0.5331 MB / 1.165 GB, free: 5.902 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.6081, allocations: 7.125 kB / 1.165 GB, free: 5.902 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.6081, allocations: 3.234 kB / 1.165 GB, free: 5.902 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.6081, allocations: 3.188 kB / 1.165 GB, free: 5.902 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002558/0.6083, allocations: 103.7 kB / 1.165 GB, free: 5.887 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.6084, allocations: 3.578 kB / 1.165 GB, free: 5.887 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003748/0.6087, allocations: 16.75 kB / 1.165 GB, free: 5.879 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.408e-05/0.6088, allocations: 16.95 kB / 1.165 GB, free: 5.875 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.0003437/0.6091, allocations: 252.7 kB / 1.165 GB, free: 5.691 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.018e-05/0.6092, allocations: 69.75 kB / 1.165 GB, free: 5.656 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001172/0.6093, allocations: 80.59 kB / 1.165 GB, free: 5.605 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.6093, allocations: 5.938 kB / 1.165 GB, free: 5.605 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.536e-05/0.6093, allocations: 7.938 kB / 1.165 GB, free: 5.598 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005795/0.6099, allocations: 0.5101 MB / 1.166 GB, free: 5.301 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001875/0.6118, allocations: 1.45 MB / 1.167 GB, free: 4.445 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/0.6118, allocations: 5.375 kB / 1.167 GB, free: 4.445 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003017/0.6121, allocations: 114.8 kB / 1.167 GB, free: 4.434 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.306e-06/0.6121, allocations: 7.906 kB / 1.167 GB, free: 4.434 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.62e-05/0.6121, allocations: 17.2 kB / 1.167 GB, free: 4.426 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.548e-06/0.6122, allocations: 12.5 kB / 1.167 GB, free: 4.422 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.6122, allocations: 5.719 kB / 1.167 GB, free: 4.422 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001203/0.6134, allocations: 0.8984 MB / 1.168 GB, free: 3.855 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002204/0.6136, allocations: 127.7 kB / 1.168 GB, free: 3.785 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.445e-05/0.6136, allocations: 18.8 kB / 1.168 GB, free: 3.777 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002554/0.6139, allocations: 21.12 kB / 1.168 GB, free: 3.77 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.953e-05/0.614, allocations: 48.52 kB / 1.168 GB, free: 3.754 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.981e-05/0.614, allocations: 24.39 kB / 1.168 GB, free: 3.75 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003896/0.6144, allocations: 398.6 kB / 1.169 GB, free: 3.574 MB / 1.01 GB Notification: Performance of sort global known variables: time 3.71e-07/0.6144, allocations: 4 kB / 1.169 GB, free: 3.57 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0005908/0.615, allocations: 194.8 kB / 1.169 GB, free: 3.559 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.001286/0.6163, allocations: 1.519 MB / 1.171 GB, free: 2.43 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0006586/0.6169, allocations: 423.4 kB / 1.171 GB, free: 2.289 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.6169, allocations: 2.219 kB / 1.171 GB, free: 2.289 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0002561/0.6172, allocations: 228.9 kB / 1.171 GB, free: 2.207 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00133/0.6185, allocations: 488.6 kB / 1.172 GB, free: 2.078 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005735/0.6242, allocations: 5.415 MB / 1.177 GB, free: 14.92 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003145/0.6246, allocations: 388.3 kB / 1.177 GB, free: 14.79 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.0006444/0.6252, allocations: 165.3 kB / 1.177 GB, free: 14.75 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002624/0.6255, allocations: 251.9 kB / 1.178 GB, free: 14.57 MB / 1.026 GB Notification: Performance of SimCode: time 1.694e-06/0.6255, allocations: 0 / 1.178 GB, free: 14.57 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03298/0.6584, allocations: 22.71 MB / 1.2 GB, free: 6.129 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.897/7.556, allocations: 7.578 kB / 1.2 GB, free: 6.129 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.465357216075063]