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.001244/0.001244, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001374/0.001374, allocations: 219.2 kB / 22.26 MB, free: 5.125 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.342/1.342, allocations: 230.6 MB / 256 MB, free: 7.996 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.896/2.896, allocations: 0.49 GB / 0.7951 GB, free: 33.45 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.001913/0.001913, allocations: 69.7 kB / 1.154 GB, free: 25.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.301/0.303, allocations: 176.1 MB / 1.326 GB, free: 1.941 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.1991/0.5021, allocations: 185.8 MB / 1.507 GB, free: 7.488 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.007802/0.5099, allocations: 5.406 MB / 1.513 GB, free: 2.074 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000517/0.5104, allocations: 47.62 kB / 1.513 GB, free: 2.027 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001022/0.5114, allocations: 457.3 kB / 1.513 GB, free: 1.578 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.003493/0.5149, allocations: 1.778 MB / 1.515 GB, free: 15.79 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.001859/0.5168, allocations: 0.8481 MB / 1.516 GB, free: 14.95 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.00285/0.5196, allocations: 2.28 MB / 1.518 GB, free: 12.66 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008404/0.5205, allocations: 0.5413 MB / 1.518 GB, free: 12.11 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001709/0.5222, allocations: 0.9927 MB / 1.519 GB, free: 11.11 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00153/0.5237, allocations: 0.7329 MB / 1.52 GB, free: 10.39 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001084/0.5238, allocations: 76 kB / 1.52 GB, free: 10.32 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002599/0.5264, allocations: 1.493 MB / 1.522 GB, free: 8.82 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0003323/0.5267, allocations: 327 kB / 1.522 GB, free: 8.5 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0004792/0.5272, allocations: 485.8 kB / 1.522 GB, free: 8.023 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.002111/0.5293, allocations: 1.663 MB / 1.524 GB, free: 6.355 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.5293, allocations: 0 / 1.524 GB, free: 6.355 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.322e-06/0.5293, allocations: 0 / 1.524 GB, free: 6.355 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.493e-05/0.5294, allocations: 0 / 1.524 GB, free: 6.355 MB / 1.217 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.001681/0.531, allocations: 1.138 MB / 1.525 GB, free: 5.18 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.5311, allocations: 8.031 kB / 1.525 GB, free: 5.172 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001243/0.5312, allocations: 98.52 kB / 1.525 GB, free: 5.066 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001662/0.5329, allocations: 283.1 kB / 1.525 GB, free: 4.789 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001134/0.534, allocations: 0.6422 MB / 1.526 GB, free: 4.117 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.122e-05/0.534, allocations: 45.31 kB / 1.526 GB, free: 4.07 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.224e-05/0.5341, allocations: 59.94 kB / 1.526 GB, free: 4.012 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009726/0.5351, allocations: 0.5843 MB / 1.527 GB, free: 3.426 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/0.5351, allocations: 7.984 kB / 1.527 GB, free: 3.418 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.118e-05/0.5352, allocations: 20 kB / 1.527 GB, free: 3.398 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.42e-05/0.5352, allocations: 21.31 kB / 1.527 GB, free: 3.375 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008508/0.5361, allocations: 0.5048 MB / 1.527 GB, free: 2.867 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003135/0.5392, allocations: 2.488 MB / 1.53 GB, free: 168 kB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007815/0.54, allocations: 426.8 kB / 1.53 GB, free: 15.73 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003174/0.5403, allocations: 204.8 kB / 1.53 GB, free: 15.53 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001416/0.5404, allocations: 27.98 kB / 1.53 GB, free: 15.5 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.5405, allocations: 34.56 kB / 1.53 GB, free: 15.46 MB / 1.232 GB Notification: Performance of pre-optimization done (n=43): time 1.623e-06/0.5405, allocations: 0 / 1.53 GB, free: 15.46 MB / 1.232 GB Notification: Performance of matching and sorting (n=48): time 0.002591/0.5431, allocations: 1.377 MB / 1.532 GB, free: 14.05 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.09e-05/0.5431, allocations: 59.84 kB / 1.532 GB, free: 13.98 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005916/0.5437, allocations: 0.5382 MB / 1.532 GB, free: 13.43 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 4.34e-05/0.5437, allocations: 33.7 kB / 1.532 GB, free: 13.39 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002401/0.544, allocations: 333.1 kB / 1.533 GB, free: 13.07 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001471/0.5441, allocations: 178.4 kB / 1.533 GB, free: 12.89 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/0.5443, allocations: 86.2 kB / 1.533 GB, free: 12.8 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001695/0.5444, allocations: 378.7 kB / 1.533 GB, free: 12.42 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000291/0.5447, allocations: 172.9 kB / 1.533 GB, free: 12.25 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003625/0.5451, allocations: 264.1 kB / 1.534 GB, free: 11.97 MB / 1.232 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.00312/0.5482, allocations: 1.288 MB / 1.535 GB, free: 10.67 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.5482, allocations: 0 / 1.535 GB, free: 10.67 MB / 1.232 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008049/0.549, allocations: 0.5346 MB / 1.536 GB, free: 10.12 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.549, allocations: 4 kB / 1.536 GB, free: 10.12 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/0.549, allocations: 4 kB / 1.536 GB, free: 10.12 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.549, allocations: 4 kB / 1.536 GB, free: 10.11 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004372/0.5495, allocations: 95.84 kB / 1.536 GB, free: 10.02 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.5495, allocations: 8.156 kB / 1.536 GB, free: 10.01 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004969/0.55, allocations: 30.22 kB / 1.536 GB, free: 9.984 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.486e-05/0.55, allocations: 16 kB / 1.536 GB, free: 9.969 MB / 1.232 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.0002879/0.5503, allocations: 245.7 kB / 1.536 GB, free: 9.719 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.5504, allocations: 75.52 kB / 1.536 GB, free: 9.645 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00015/0.5506, allocations: 78.45 kB / 1.536 GB, free: 9.566 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.5506, allocations: 7.938 kB / 1.536 GB, free: 9.559 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.5506, allocations: 0 / 1.536 GB, free: 9.559 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006981/0.5513, allocations: 0.5144 MB / 1.537 GB, free: 9.012 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002251/0.5535, allocations: 1.557 MB / 1.538 GB, free: 7.344 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/0.5535, allocations: 4 kB / 1.538 GB, free: 7.34 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004956/0.554, allocations: 119.8 kB / 1.538 GB, free: 7.223 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.554, allocations: 4 kB / 1.538 GB, free: 7.219 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.44e-05/0.5541, allocations: 20 kB / 1.538 GB, free: 7.199 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.5541, allocations: 4 kB / 1.538 GB, free: 7.195 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.045e-05/0.5541, allocations: 15.88 kB / 1.538 GB, free: 7.18 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001175/0.5553, allocations: 0.8912 MB / 1.539 GB, free: 6.211 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00026/0.5555, allocations: 123.6 kB / 1.539 GB, free: 6.09 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.209e-05/0.5556, allocations: 23.98 kB / 1.539 GB, free: 6.066 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004799/0.5561, allocations: 17.83 kB / 1.539 GB, free: 6.051 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.5562, allocations: 51.89 kB / 1.539 GB, free: 6 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.781e-05/0.5562, allocations: 23.98 kB / 1.539 GB, free: 5.977 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0004473/0.5567, allocations: 406.7 kB / 1.54 GB, free: 5.582 MB / 1.232 GB Notification: Performance of sort global known variables: time 1e-07/0.5567, allocations: 0 / 1.54 GB, free: 5.582 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0005889/0.5573, allocations: 196 kB / 1.54 GB, free: 5.391 MB / 1.232 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.001633/0.5589, allocations: 1.522 MB / 1.541 GB, free: 3.785 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0007273/0.5596, allocations: 425.2 kB / 1.542 GB, free: 3.367 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.5596, allocations: 0 / 1.542 GB, free: 3.367 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0003425/0.56, allocations: 225 kB / 1.542 GB, free: 3.148 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001903/0.5619, allocations: 0.4914 MB / 1.542 GB, free: 2.664 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006914/0.5688, allocations: 5.501 MB / 1.548 GB, free: 12.92 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006017/0.5694, allocations: 0.9773 MB / 1.549 GB, free: 11.92 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0005338/0.5699, allocations: 165.8 kB / 1.549 GB, free: 11.75 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003547/0.5703, allocations: 255.3 kB / 1.549 GB, free: 11.5 MB / 1.248 GB Notification: Performance of SimCode: time 6.72e-07/0.5703, allocations: 0 / 1.549 GB, free: 11.5 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05242/0.6227, allocations: 20.84 MB / 1.57 GB, free: 7.008 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.58, allocations: 5.75 kB / 1.57 GB, free: 7.004 MB / 1.264 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.59198529389687]