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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001837/0.001837, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001827/0.001827, allocations: 194.1 kB / 16.53 MB, free: 6.699 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.452/1.452, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.855/2.855, allocations: 461.9 MB / 0.7346 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 61.86 kB / 0.8992 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.293, allocations: 157.4 MB / 1.053 GB, free: 8.312 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.1861/0.4791, allocations: 181.9 MB / 1.231 GB, free: 1.734 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.008534/0.4877, allocations: 5.37 MB / 1.236 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001082/0.4888, allocations: 35.81 kB / 1.236 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001287/0.4902, allocations: 421.4 kB / 1.236 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003894/0.4941, allocations: 1.684 MB / 1.238 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001883/0.496, allocations: 0.7921 MB / 1.239 GB, free: 9.43 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002715/0.4987, allocations: 2.195 MB / 1.241 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001074/0.4998, allocations: 0.6891 MB / 1.241 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001319/0.5011, allocations: 0.7393 MB / 1.242 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001742/0.5029, allocations: 0.6791 MB / 1.243 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002069/0.5031, allocations: 76 kB / 1.243 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002679/0.5058, allocations: 1.399 MB / 1.244 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004407/0.5062, allocations: 319.2 kB / 1.245 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007611/0.507, allocations: 473.8 kB / 1.245 GB, free: 2.859 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002714/0.5097, allocations: 1.644 MB / 1.247 GB, free: 1.211 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.5097, allocations: 0 / 1.247 GB, free: 1.211 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.864e-06/0.5097, allocations: 0 / 1.247 GB, free: 1.211 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.167e-05/0.5098, allocations: 0 / 1.247 GB, free: 1.211 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.4817/0.9915, allocations: 1.176 MB / 1.248 GB, free: 197 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.323e-05/0.9916, allocations: 10.22 kB / 1.248 GB, free: 197 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003111/0.9919, allocations: 103.6 kB / 1.248 GB, free: 197 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002237/0.9941, allocations: 269.3 kB / 1.248 GB, free: 197 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/0.9952, allocations: 0.6712 MB / 1.249 GB, free: 196.7 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.853e-05/0.9953, allocations: 44.34 kB / 1.249 GB, free: 196.7 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.237e-05/0.9954, allocations: 65.98 kB / 1.249 GB, free: 196.7 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/0.9964, allocations: 0.5843 MB / 1.249 GB, free: 196.6 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.9964, allocations: 0.9688 kB / 1.249 GB, free: 196.6 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.628e-05/0.9965, allocations: 22.61 kB / 1.249 GB, free: 196.6 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.652e-05/0.9965, allocations: 24.03 kB / 1.25 GB, free: 196.6 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000873/0.9974, allocations: 0.5028 MB / 1.25 GB, free: 196.6 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.002729/1, allocations: 2.399 MB / 1.252 GB, free: 195.5 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006935/1.001, allocations: 425.8 kB / 1.253 GB, free: 195.5 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002913/1.001, allocations: 222.2 kB / 1.253 GB, free: 195.5 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000166/1.001, allocations: 107 kB / 1.253 GB, free: 195.4 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/1.001, allocations: 38.22 kB / 1.253 GB, free: 195.4 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=43): time 1.803e-06/1.001, allocations: 0 / 1.253 GB, free: 195.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=48): time 0.002461/1.004, allocations: 1.44 MB / 1.255 GB, free: 195 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/1.004, allocations: 59.81 kB / 1.255 GB, free: 194.9 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004806/1.004, allocations: 0.5438 MB / 1.255 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.62e-05/1.004, allocations: 39.08 kB / 1.255 GB, free: 194.7 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000182/1.005, allocations: 327.2 kB / 1.255 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/1.005, allocations: 171.6 kB / 1.256 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/1.005, allocations: 84.08 kB / 1.256 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.324e-05/1.005, allocations: 372.2 kB / 1.256 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002793/1.005, allocations: 174.9 kB / 1.256 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003207/1.006, allocations: 260.2 kB / 1.256 GB, free: 194.1 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.003051/1.009, allocations: 1.443 MB / 1.258 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.009, allocations: 3.875 kB / 1.258 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007312/1.009, allocations: 0.5285 MB / 1.258 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/1.009, allocations: 10.45 kB / 1.258 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/1.009, allocations: 2.719 kB / 1.258 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/1.009, allocations: 6.094 kB / 1.258 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003797/1.01, allocations: 94.27 kB / 1.258 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.238e-06/1.01, allocations: 3.297 kB / 1.258 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005806/1.01, allocations: 21.55 kB / 1.259 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.347e-05/1.01, allocations: 19.05 kB / 1.259 GB, free: 193.7 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 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.0002455/1.011, allocations: 258.9 kB / 1.259 GB, free: 193.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.418e-05/1.011, allocations: 69.03 kB / 1.259 GB, free: 193.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001343/1.011, allocations: 78.53 kB / 1.259 GB, free: 193.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.718e-06/1.011, allocations: 6.734 kB / 1.259 GB, free: 193.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/1.011, allocations: 0 / 1.259 GB, free: 193.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005939/1.012, allocations: 0.5086 MB / 1.259 GB, free: 193.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001983/1.014, allocations: 1.587 MB / 1.261 GB, free: 192.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/1.014, allocations: 3.75 kB / 1.261 GB, free: 192.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004858/1.014, allocations: 116 kB / 1.261 GB, free: 192.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.184e-06/1.014, allocations: 7.781 kB / 1.261 GB, free: 192.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.377e-05/1.014, allocations: 19.3 kB / 1.261 GB, free: 192.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.454e-06/1.014, allocations: 10.3 kB / 1.261 GB, free: 192.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/1.014, allocations: 8.406 kB / 1.261 GB, free: 192.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00096/1.015, allocations: 0.9043 MB / 1.262 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002044/1.015, allocations: 198.8 kB / 1.262 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.603e-05/1.015, allocations: 22.66 kB / 1.262 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005139/1.016, allocations: 18.44 kB / 1.262 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.606e-05/1.016, allocations: 40.12 kB / 1.262 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.431e-05/1.016, allocations: 26.38 kB / 1.262 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003816/1.016, allocations: 401.6 kB / 1.263 GB, free: 192.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.016, allocations: 0 / 1.263 GB, free: 192.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005629/1.017, allocations: 200.1 kB / 1.263 GB, free: 192.3 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.001535/1.019, allocations: 1.53 MB / 1.264 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001043/1.02, allocations: 480.8 kB / 1.265 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/1.02, allocations: 1.375 kB / 1.265 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004335/1.02, allocations: 234.6 kB / 1.265 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002188/1.022, allocations: 495.4 kB / 1.266 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007526/1.03, allocations: 5.627 MB / 1.271 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006981/1.031, allocations: 0.9728 MB / 1.272 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000842/1.031, allocations: 167 kB / 1.272 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003344/1.032, allocations: 250.3 kB / 1.272 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of SimCode: time 7.12e-07/1.032, allocations: 0 / 1.272 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06436/1.096, allocations: 20.26 MB / 1.292 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.81, allocations: 3.938 kB / 1.292 GB, free: 180.5 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