Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="Buildings_10_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.00113/0.00113, 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.001226/0.001226, allocations: 194.5 kB / 16.53 MB, free: 6.664 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.314/1.314, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.419/2.419, allocations: 437 MB / 0.7104 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 67.89 kB / 0.8694 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5593/0.5607, allocations: 151.6 MB / 1.017 GB, free: 2.5 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.1745/0.7353, allocations: 181.9 MB / 1.195 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.009319/0.7446, allocations: 5.367 MB / 1.2 GB, free: 6.543 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001436/0.7461, allocations: 35.81 kB / 1.2 GB, free: 6.508 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001334/0.7475, allocations: 433.4 kB / 1.201 GB, free: 6.082 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003923/0.7514, allocations: 1.672 MB / 1.202 GB, free: 4.402 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001804/0.7533, allocations: 0.7981 MB / 1.203 GB, free: 3.609 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002625/0.7559, allocations: 2.197 MB / 1.205 GB, free: 1.402 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009232/0.7568, allocations: 0.6774 MB / 1.206 GB, free: 0.7148 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001143/0.758, allocations: 0.7433 MB / 1.207 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001561/0.7595, allocations: 0.6794 MB / 1.207 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001587/0.7597, allocations: 76 kB / 1.207 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002232/0.762, allocations: 1.391 MB / 1.209 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003279/0.7623, allocations: 319.2 kB / 1.209 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0005619/0.7629, allocations: 469.8 kB / 1.21 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002035/0.7649, allocations: 1.648 MB / 1.211 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.7649, allocations: 0 / 1.211 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.352e-06/0.7649, allocations: 0 / 1.211 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.037e-05/0.7649, allocations: 0 / 1.211 GB, free: 11.4 MB / 0.9669 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.001541/0.7665, allocations: 1.184 MB / 1.212 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.7665, allocations: 12.03 kB / 1.212 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001091/0.7666, allocations: 102.5 kB / 1.212 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001701/0.7684, allocations: 266.8 kB / 1.213 GB, free: 9.785 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008774/0.7692, allocations: 0.6748 MB / 1.213 GB, free: 9.066 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.499e-05/0.7693, allocations: 49.3 kB / 1.213 GB, free: 9.02 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.884e-05/0.7694, allocations: 63.98 kB / 1.213 GB, free: 8.957 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008797/0.7703, allocations: 0.5843 MB / 1.214 GB, free: 8.363 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.7703, allocations: 0 / 1.214 GB, free: 8.363 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.411e-05/0.7704, allocations: 28 kB / 1.214 GB, free: 8.336 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.131e-05/0.7704, allocations: 25.25 kB / 1.214 GB, free: 8.312 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007778/0.7712, allocations: 0.497 MB / 1.215 GB, free: 7.816 MB / 0.9669 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.00269/0.7739, allocations: 2.404 MB / 1.217 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007161/0.7746, allocations: 424.8 kB / 1.217 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003058/0.7749, allocations: 228.7 kB / 1.217 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001569/0.7751, allocations: 101.1 kB / 1.218 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.7751, allocations: 34.56 kB / 1.218 GB, free: 4.41 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=43): time 1.452e-06/0.7751, allocations: 0 / 1.218 GB, free: 4.41 MB / 0.9669 GB Notification: Performance of matching and sorting (n=48): time 0.002484/0.7776, allocations: 1.447 MB / 1.219 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.7777, allocations: 55.84 kB / 1.219 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005342/0.7782, allocations: 0.5383 MB / 1.22 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.811e-05/0.7782, allocations: 33.7 kB / 1.22 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002122/0.7785, allocations: 336.6 kB / 1.22 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.000135/0.7786, allocations: 169.5 kB / 1.22 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001217/0.7787, allocations: 86.25 kB / 1.22 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.7789, allocations: 374.7 kB / 1.221 GB, free: 1.293 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002781/0.7792, allocations: 177 kB / 1.221 GB, free: 1.121 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003315/0.7795, allocations: 260.8 kB / 1.221 GB, free: 0.8398 MB / 0.9669 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.003101/0.7826, allocations: 1.45 MB / 1.222 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.7826, allocations: 0 / 1.222 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007652/0.7834, allocations: 0.5265 MB / 1.223 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.7834, allocations: 7.938 kB / 1.223 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.7834, allocations: 4 kB / 1.223 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.7834, allocations: 160 / 1.223 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003843/0.7838, allocations: 103.8 kB / 1.223 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.819e-06/0.7838, allocations: 4 kB / 1.223 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005392/0.7844, allocations: 19.84 kB / 1.223 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.093e-05/0.7844, allocations: 19.98 kB / 1.223 GB, free: 14.65 MB / 0.9825 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.0002718/0.7847, allocations: 247 kB / 1.223 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.7848, allocations: 67.25 kB / 1.223 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001369/0.785, allocations: 78.48 kB / 1.223 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.785, allocations: 8 kB / 1.223 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.785, allocations: 7.938 kB / 1.223 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006419/0.7856, allocations: 0.5144 MB / 1.224 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002104/0.7878, allocations: 1.589 MB / 1.226 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.7878, allocations: 4 kB / 1.226 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004971/0.7883, allocations: 119.8 kB / 1.226 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.855e-06/0.7883, allocations: 8 kB / 1.226 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.153e-05/0.7883, allocations: 12 kB / 1.226 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.882e-06/0.7883, allocations: 8.5 kB / 1.226 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.754e-06/0.7884, allocations: 15.88 kB / 1.226 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001059/0.7894, allocations: 0.8984 MB / 1.227 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002264/0.7897, allocations: 196.3 kB / 1.227 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.705e-05/0.7897, allocations: 16 kB / 1.227 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004986/0.7903, allocations: 23.89 kB / 1.227 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.249e-05/0.7903, allocations: 51.77 kB / 1.227 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.436e-05/0.7904, allocations: 24 kB / 1.227 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003968/0.7908, allocations: 390.8 kB / 1.227 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7908, allocations: 4 kB / 1.227 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005773/0.7914, allocations: 200 kB / 1.227 GB, free: 9.949 MB / 0.9825 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.001543/0.7929, allocations: 1.519 MB / 1.229 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007743/0.7937, allocations: 481.2 kB / 1.229 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.7937, allocations: 0 / 1.229 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003267/0.7941, allocations: 235.9 kB / 1.23 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002004/0.7961, allocations: 496.9 kB / 1.23 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006781/0.8029, allocations: 5.622 MB / 1.236 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005643/0.8034, allocations: 0.9772 MB / 1.236 GB, free: 340 kB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0006553/0.8041, allocations: 161.9 kB / 1.237 GB, free: 176 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004033/0.8045, allocations: 247.4 kB / 1.237 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of SimCode: time 6.41e-07/0.8045, allocations: 0 / 1.237 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.304/2.109, allocations: 20.25 MB / 1.257 GB, free: 233.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.845/9.954, allocations: 12.42 kB / 1.257 GB, free: 233.4 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches