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.001446/0.001446, allocations: 103.6 kB / 18.95 MB, free: 2.66 MB / 14.72 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.001636/0.001636, allocations: 212.8 kB / 22.25 MB, free: 5.262 MB / 14.72 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 1.34/1.34, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.929/2.929, allocations: 0.49 GB / 0.7951 GB, free: 35.38 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 68.09 kB / 1.154 GB, free: 25.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.2993, allocations: 176.1 MB / 1.326 GB, free: 1.48 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.1918/0.4911, allocations: 160.7 MB / 1.483 GB, free: 184 kB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.008346/0.4995, allocations: 5.07 MB / 1.488 GB, free: 11.1 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008811/0.5004, allocations: 43.62 kB / 1.488 GB, free: 11.06 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001144/0.5015, allocations: 433.4 kB / 1.488 GB, free: 10.63 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003996/0.5055, allocations: 1.75 MB / 1.49 GB, free: 8.879 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.00188/0.5074, allocations: 0.8223 MB / 1.491 GB, free: 8.059 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002784/0.5102, allocations: 2.295 MB / 1.493 GB, free: 5.758 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007894/0.511, allocations: 0.5374 MB / 1.493 GB, free: 5.207 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001718/0.5127, allocations: 1 MB / 1.494 GB, free: 4.203 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001634/0.5143, allocations: 0.7347 MB / 1.495 GB, free: 3.48 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.000108/0.5144, allocations: 76 kB / 1.495 GB, free: 3.406 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002186/0.5166, allocations: 1.149 MB / 1.496 GB, free: 2.254 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003734/0.517, allocations: 331 kB / 1.497 GB, free: 1.93 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0004803/0.5175, allocations: 398.3 kB / 1.497 GB, free: 1.539 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002281/0.5197, allocations: 1.624 MB / 1.499 GB, free: 15.91 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.5197, allocations: 0 / 1.499 GB, free: 15.91 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.041e-06/0.5197, allocations: 0 / 1.499 GB, free: 15.91 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.08e-05/0.5198, allocations: 0 / 1.499 GB, free: 15.91 MB / 1.201 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.001848/0.5216, allocations: 1.138 MB / 1.5 GB, free: 14.73 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.5216, allocations: 8.031 kB / 1.5 GB, free: 14.73 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001246/0.5218, allocations: 102.5 kB / 1.5 GB, free: 14.62 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001763/0.5235, allocations: 283.1 kB / 1.5 GB, free: 14.34 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001207/0.5247, allocations: 0.6461 MB / 1.501 GB, free: 13.66 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.276e-05/0.5248, allocations: 41.31 kB / 1.501 GB, free: 13.62 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.5249, allocations: 60 kB / 1.501 GB, free: 13.56 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001105/0.526, allocations: 0.7851 MB / 1.502 GB, free: 12.73 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.3e-05/0.526, allocations: 11.92 kB / 1.502 GB, free: 12.71 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.615e-05/0.5261, allocations: 24 kB / 1.502 GB, free: 12.69 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.307e-05/0.5261, allocations: 21.31 kB / 1.502 GB, free: 12.67 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008833/0.527, allocations: 0.497 MB / 1.502 GB, free: 12.17 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002816/0.5298, allocations: 1.574 MB / 1.504 GB, free: 10.55 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008008/0.5306, allocations: 418.8 kB / 1.504 GB, free: 10.13 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003354/0.5309, allocations: 204.8 kB / 1.504 GB, free: 9.93 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001359/0.5311, allocations: 27.92 kB / 1.504 GB, free: 9.902 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.5311, allocations: 38.56 kB / 1.504 GB, free: 9.855 MB / 1.201 GB Notification: Performance of pre-optimization done (n=43): time 1.824e-06/0.5311, allocations: 0 / 1.504 GB, free: 9.855 MB / 1.201 GB Notification: Performance of matching and sorting (n=48): time 0.002733/0.5339, allocations: 1.381 MB / 1.506 GB, free: 8.441 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.5339, allocations: 55.84 kB / 1.506 GB, free: 8.375 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006458/0.5345, allocations: 0.5498 MB / 1.506 GB, free: 7.812 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 4.763e-05/0.5346, allocations: 37.69 kB / 1.506 GB, free: 7.77 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002519/0.5348, allocations: 325.2 kB / 1.507 GB, free: 7.449 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001601/0.535, allocations: 178.4 kB / 1.507 GB, free: 7.273 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001484/0.5351, allocations: 90.14 kB / 1.507 GB, free: 7.18 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001861/0.5353, allocations: 382.7 kB / 1.507 GB, free: 6.797 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003061/0.5356, allocations: 172.9 kB / 1.507 GB, free: 6.629 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004348/0.5361, allocations: 359 kB / 1.508 GB, free: 6.23 MB / 1.201 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.003318/0.5394, allocations: 1.288 MB / 1.509 GB, free: 4.926 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.5394, allocations: 4 kB / 1.509 GB, free: 4.922 MB / 1.201 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008557/0.5402, allocations: 0.523 MB / 1.51 GB, free: 4.391 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.5403, allocations: 17.95 kB / 1.51 GB, free: 4.375 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.5403, allocations: 0 / 1.51 GB, free: 4.375 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.5403, allocations: 4 kB / 1.51 GB, free: 4.371 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004172/0.5407, allocations: 91.91 kB / 1.51 GB, free: 4.281 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.5407, allocations: 8.156 kB / 1.51 GB, free: 4.273 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005432/0.5413, allocations: 23.88 kB / 1.51 GB, free: 4.25 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.899e-05/0.5413, allocations: 16 kB / 1.51 GB, free: 4.234 MB / 1.201 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.0003148/0.5416, allocations: 257.5 kB / 1.51 GB, free: 3.973 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.5417, allocations: 67.58 kB / 1.51 GB, free: 3.906 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001536/0.5419, allocations: 78.45 kB / 1.51 GB, free: 3.828 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.5419, allocations: 4 kB / 1.51 GB, free: 3.824 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.5419, allocations: 4 kB / 1.51 GB, free: 3.82 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007371/0.5426, allocations: 0.5144 MB / 1.511 GB, free: 3.277 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002309/0.5449, allocations: 1.444 MB / 1.512 GB, free: 1.723 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.5449, allocations: 4.047 kB / 1.512 GB, free: 1.719 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005357/0.5455, allocations: 115.8 kB / 1.512 GB, free: 1.605 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.829e-06/0.5455, allocations: 11.98 kB / 1.512 GB, free: 1.594 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.508e-05/0.5455, allocations: 15.94 kB / 1.512 GB, free: 1.578 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.019e-05/0.5455, allocations: 11.94 kB / 1.512 GB, free: 1.566 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.025e-06/0.5455, allocations: 11.94 kB / 1.512 GB, free: 1.555 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001234/0.5468, allocations: 0.8988 MB / 1.513 GB, free: 0.5742 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000296/0.5471, allocations: 127.6 kB / 1.513 GB, free: 460 kB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.381e-05/0.5472, allocations: 23.98 kB / 1.513 GB, free: 436 kB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000512/0.5477, allocations: 13.22 kB / 1.513 GB, free: 424 kB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.947e-05/0.5478, allocations: 51.75 kB / 1.513 GB, free: 372 kB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.956e-05/0.5478, allocations: 31.92 kB / 1.513 GB, free: 340 kB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0004473/0.5483, allocations: 390.8 kB / 1.514 GB, free: 15.95 MB / 1.217 GB Notification: Performance of sort global known variables: time 1e-07/0.5483, allocations: 4 kB / 1.514 GB, free: 15.95 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.000614/0.5489, allocations: 199.9 kB / 1.514 GB, free: 15.75 MB / 1.217 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.001692/0.5506, allocations: 1.517 MB / 1.515 GB, free: 14.16 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0007535/0.5513, allocations: 429.2 kB / 1.516 GB, free: 13.74 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.5513, allocations: 0 / 1.516 GB, free: 13.74 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0003674/0.5517, allocations: 224.7 kB / 1.516 GB, free: 13.52 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001938/0.5536, allocations: 490.4 kB / 1.516 GB, free: 13.05 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00719/0.5608, allocations: 5.506 MB / 1.522 GB, free: 7.297 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003954/0.5612, allocations: 379 kB / 1.522 GB, free: 6.902 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0005275/0.5617, allocations: 173.8 kB / 1.522 GB, free: 6.73 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003717/0.5621, allocations: 247.4 kB / 1.523 GB, free: 6.488 MB / 1.217 GB Notification: Performance of SimCode: time 7.12e-07/0.5621, allocations: 0 / 1.523 GB, free: 6.488 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05646/0.6186, allocations: 22.86 MB / 1.545 GB, free: 160 kB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.46, allocations: 5.578 kB / 1.545 GB, free: 160 kB / 1.232 GB " [Timeout remaining time 288] (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/jenkins1/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: 17.494299546990078]