Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008816/0.0008813, allocations: 97.64 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004958/0.004958, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 223.3 MB / 240.3 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.551/2.551, allocations: 462.6 MB / 0.7364 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004571/0.0004571, allocations: 10.25 kB / 0.9029 GB, free: 36.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2681/0.2686, allocations: 159.6 MB / 1.059 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.1758/0.4444, allocations: 177.3 MB / 1.232 GB, free: 2.898 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00775/0.4522, allocations: 5.37 MB / 1.237 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008087/0.453, allocations: 27.81 kB / 1.237 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009791/0.454, allocations: 374.1 kB / 1.238 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003411/0.4574, allocations: 1.576 MB / 1.239 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001671/0.4591, allocations: 0.7232 MB / 1.24 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003148/0.4623, allocations: 2.98 MB / 1.243 GB, free: 7.836 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008605/0.4631, allocations: 0.5738 MB / 1.243 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001045/0.4642, allocations: 0.6104 MB / 1.244 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001875/0.4661, allocations: 0.6717 MB / 1.244 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001023/0.4662, allocations: 28 kB / 1.245 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002464/0.4687, allocations: 1.609 MB / 1.246 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003135/0.469, allocations: 275.1 kB / 1.246 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004936/0.4695, allocations: 427.6 kB / 1.247 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002056/0.4715, allocations: 1.682 MB / 1.248 GB, free: 1.949 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.4716, allocations: 0 / 1.248 GB, free: 1.949 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.242e-06/0.4716, allocations: 0 / 1.248 GB, free: 1.949 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.112e-05/0.4716, allocations: 0 / 1.248 GB, free: 1.949 MB / 0.9981 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.001563/0.4732, allocations: 1.016 MB / 1.249 GB, free: 0.8828 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.4732, allocations: 15.97 kB / 1.249 GB, free: 0.8672 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001359/0.4733, allocations: 102.5 kB / 1.249 GB, free: 0.7578 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001806/0.4752, allocations: 270.8 kB / 1.25 GB, free: 0.4922 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.434/0.9092, allocations: 0.6732 MB / 1.25 GB, free: 193.1 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.6e-05/0.9093, allocations: 45.19 kB / 1.25 GB, free: 193.1 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/0.9094, allocations: 59.77 kB / 1.251 GB, free: 193.1 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001119/0.9105, allocations: 0.5807 MB / 1.251 GB, free: 193.1 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.9105, allocations: 5.844 kB / 1.251 GB, free: 193.1 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.467e-05/0.9106, allocations: 24.36 kB / 1.251 GB, free: 193.1 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.751e-05/0.9106, allocations: 26.42 kB / 1.251 GB, free: 193.1 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008671/0.9115, allocations: 0.5017 MB / 1.252 GB, free: 193.1 MB / 0.9981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002678/0.9142, allocations: 2.388 MB / 1.254 GB, free: 192 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007498/0.915, allocations: 428.8 kB / 1.254 GB, free: 192 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003179/0.9153, allocations: 215.8 kB / 1.255 GB, free: 192 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001494/0.9154, allocations: 103.6 kB / 1.255 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.746e-05/0.9155, allocations: 42.56 kB / 1.255 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=43): time 2.003e-06/0.9155, allocations: 0 / 1.255 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=48): time 0.00242/0.9179, allocations: 1.449 MB / 1.256 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.391e-05/0.9179, allocations: 59.91 kB / 1.256 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004703/0.9184, allocations: 0.5357 MB / 1.257 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.717e-05/0.9185, allocations: 34.77 kB / 1.257 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/0.9186, allocations: 328.5 kB / 1.257 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.9187, allocations: 168.6 kB / 1.257 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.27e-05/0.9188, allocations: 44.8 kB / 1.257 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.922e-05/0.9189, allocations: 375 kB / 1.258 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002553/0.9191, allocations: 175.8 kB / 1.258 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000291/0.9194, allocations: 261.4 kB / 1.258 GB, free: 190.6 MB / 0.9981 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.003009/0.9224, allocations: 1.446 MB / 1.259 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.9225, allocations: 2.812 kB / 1.259 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007189/0.9232, allocations: 0.5273 MB / 1.26 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.9232, allocations: 10.91 kB / 1.26 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.9232, allocations: 0 / 1.26 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.9232, allocations: 2.875 kB / 1.26 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003852/0.9236, allocations: 97.62 kB / 1.26 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.9236, allocations: 9.844 kB / 1.26 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006327/0.9243, allocations: 41.97 kB / 1.26 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.394e-05/0.9243, allocations: 16.56 kB / 1.26 GB, free: 190.2 MB / 0.9981 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: 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.0002386/0.9246, allocations: 251.2 kB / 1.26 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.009e-05/0.9247, allocations: 72.41 kB / 1.26 GB, free: 190 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001501/0.9248, allocations: 80.44 kB / 1.261 GB, free: 190 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.9248, allocations: 13.17 kB / 1.261 GB, free: 190 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.9248, allocations: 2.594 kB / 1.261 GB, free: 190 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005968/0.9254, allocations: 0.5103 MB / 1.261 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002001/0.9275, allocations: 1.578 MB / 1.263 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.9275, allocations: 9.594 kB / 1.263 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004924/0.928, allocations: 115.1 kB / 1.263 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.928, allocations: 11.5 kB / 1.263 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.185e-05/0.928, allocations: 17.62 kB / 1.263 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.162e-06/0.928, allocations: 7.203 kB / 1.263 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.928, allocations: 9.719 kB / 1.263 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009673/0.929, allocations: 0.899 MB / 1.264 GB, free: 189 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002027/0.9292, allocations: 197.1 kB / 1.264 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.995e-05/0.9293, allocations: 19.36 kB / 1.264 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005794/0.9299, allocations: 43.78 kB / 1.264 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.935e-05/0.93, allocations: 50.36 kB / 1.264 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.46e-05/0.93, allocations: 23.19 kB / 1.264 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003823/0.9304, allocations: 393.6 kB / 1.264 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.5e-07/0.9304, allocations: 2.781 kB / 1.264 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000575/0.931, allocations: 192.8 kB / 1.264 GB, free: 188.8 MB / 0.9981 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.001353/0.9324, allocations: 1.537 MB / 1.266 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007153/0.9331, allocations: 430 kB / 1.266 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.9331, allocations: 1.125 kB / 1.266 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003619/0.9335, allocations: 241.5 kB / 1.267 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002603/0.9361, allocations: 467.2 kB / 1.267 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007434/0.9435, allocations: 5.95 MB / 1.273 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000642/0.9442, allocations: 0.9826 MB / 1.274 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007303/0.9449, allocations: 163 kB / 1.274 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003561/0.9453, allocations: 248.4 kB / 1.274 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of SimCode: time 3.51e-07/0.9453, allocations: 0 / 1.274 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03141/0.9767, allocations: 19.29 MB / 1.293 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001438/0.9769, allocations: 278.5 kB / 1.293 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.088/3.065, allocations: 0 / 1.293 GB, free: 177.3 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches