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: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volSim.T|volExa.T|relErr.y",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volSim.T|volExa.T|relErr.y",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 105 kB / 16.41 MB, free: 6.504 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.001448/0.001448, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.402/1.402, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.535/2.535, allocations: 437.1 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 63.89 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9828/0.9842, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.2124/1.197, allocations: 181.9 MB / 1.345 GB, free: 13.28 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01125/1.208, allocations: 5.354 MB / 1.35 GB, free: 7.91 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001588/1.21, allocations: 39.75 kB / 1.35 GB, free: 7.871 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001549/1.211, allocations: 449.4 kB / 1.351 GB, free: 7.43 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005168/1.216, allocations: 1.743 MB / 1.352 GB, free: 5.68 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002519/1.219, allocations: 0.8062 MB / 1.353 GB, free: 4.879 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003629/1.223, allocations: 2.201 MB / 1.355 GB, free: 2.668 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001329/1.224, allocations: 0.6851 MB / 1.356 GB, free: 1.969 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001805/1.226, allocations: 0.7801 MB / 1.357 GB, free: 1.188 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002152/1.228, allocations: 0.6842 MB / 1.357 GB, free: 0.5117 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002589/1.228, allocations: 76 kB / 1.357 GB, free: 448 kB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003332/1.232, allocations: 1.403 MB / 1.359 GB, free: 15.03 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.000555/1.232, allocations: 323.1 kB / 1.359 GB, free: 14.71 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001042/1.233, allocations: 473.8 kB / 1.36 GB, free: 14.25 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.003499/1.237, allocations: 1.659 MB / 1.361 GB, free: 12.59 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/1.237, allocations: 0 / 1.361 GB, free: 12.59 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.645e-06/1.237, allocations: 0 / 1.361 GB, free: 12.59 MB / 1.092 GB Notification: Performance of Transformations before backend: time 4.849e-05/1.237, allocations: 4 kB / 1.361 GB, free: 12.58 MB / 1.092 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.002782/1.24, allocations: 1.18 MB / 1.362 GB, free: 11.35 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/1.24, allocations: 8.031 kB / 1.362 GB, free: 11.34 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002057/1.242, allocations: 274.7 kB / 1.363 GB, free: 11.07 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00151/1.243, allocations: 0.7138 MB / 1.363 GB, free: 10.32 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.573e-05/1.243, allocations: 49.25 kB / 1.363 GB, free: 10.27 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001314/1.243, allocations: 60 kB / 1.363 GB, free: 10.21 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001152/1.245, allocations: 0.5804 MB / 1.364 GB, free: 9.621 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.246e-05/1.245, allocations: 4 kB / 1.364 GB, free: 9.617 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.154e-05/1.245, allocations: 20 kB / 1.364 GB, free: 9.598 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.641e-05/1.245, allocations: 25.31 kB / 1.364 GB, free: 9.574 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009872/1.246, allocations: 0.5009 MB / 1.365 GB, free: 9.074 MB / 1.092 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.003862/1.25, allocations: 2.385 MB / 1.367 GB, free: 6.5 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008828/1.25, allocations: 418.9 kB / 1.367 GB, free: 6.082 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003734/1.251, allocations: 223.1 kB / 1.367 GB, free: 5.863 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002039/1.251, allocations: 97.09 kB / 1.368 GB, free: 5.75 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.617e-05/1.251, allocations: 38.56 kB / 1.368 GB, free: 5.703 MB / 1.092 GB Notification: Performance of pre-optimization done (n=43): time 2.134e-06/1.251, allocations: 0 / 1.368 GB, free: 5.703 MB / 1.092 GB Notification: Performance of matching and sorting (n=48): time 0.003244/1.254, allocations: 1.443 MB / 1.369 GB, free: 4.211 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/1.254, allocations: 55.84 kB / 1.369 GB, free: 4.145 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006433/1.255, allocations: 0.5459 MB / 1.37 GB, free: 3.586 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 5.008e-05/1.255, allocations: 37.7 kB / 1.37 GB, free: 3.543 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002371/1.255, allocations: 324.7 kB / 1.37 GB, free: 3.223 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001727/1.256, allocations: 177.5 kB / 1.37 GB, free: 3.047 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001495/1.256, allocations: 90.16 kB / 1.37 GB, free: 2.953 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001483/1.256, allocations: 370.7 kB / 1.371 GB, free: 2.582 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002977/1.256, allocations: 177 kB / 1.371 GB, free: 2.41 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003818/1.257, allocations: 268.8 kB / 1.371 GB, free: 2.125 MB / 1.092 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.003336/1.26, allocations: 1.453 MB / 1.372 GB, free: 0.6211 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/1.26, allocations: 0 / 1.372 GB, free: 0.6211 MB / 1.092 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009116/1.261, allocations: 0.5187 MB / 1.373 GB, free: 96 kB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/1.261, allocations: 8 kB / 1.373 GB, free: 88 kB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/1.261, allocations: 0 / 1.373 GB, free: 88 kB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.21e-05/1.261, allocations: 4.156 kB / 1.373 GB, free: 84 kB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004462/1.261, allocations: 103.8 kB / 1.373 GB, free: 15.98 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.42e-05/1.261, allocations: 4 kB / 1.373 GB, free: 15.98 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006684/1.262, allocations: 16.56 kB / 1.373 GB, free: 15.96 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.066e-05/1.262, allocations: 23.92 kB / 1.373 GB, free: 15.94 MB / 1.107 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.0003784/1.263, allocations: 241.7 kB / 1.373 GB, free: 15.69 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001581/1.263, allocations: 63.25 kB / 1.373 GB, free: 15.63 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000169/1.263, allocations: 82.45 kB / 1.373 GB, free: 15.55 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/1.263, allocations: 8 kB / 1.373 GB, free: 15.54 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/1.263, allocations: 0 / 1.373 GB, free: 15.54 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007503/1.264, allocations: 0.5144 MB / 1.374 GB, free: 15 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002759/1.266, allocations: 1.58 MB / 1.375 GB, free: 13.29 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.184e-05/1.266, allocations: 12 kB / 1.375 GB, free: 13.28 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005375/1.267, allocations: 115.8 kB / 1.376 GB, free: 13.17 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.191e-05/1.267, allocations: 8 kB / 1.376 GB, free: 13.16 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.335e-05/1.267, allocations: 16 kB / 1.376 GB, free: 13.14 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.578e-06/1.267, allocations: 8.531 kB / 1.376 GB, free: 13.14 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.598e-06/1.267, allocations: 11.88 kB / 1.376 GB, free: 13.12 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001349/1.268, allocations: 0.9023 MB / 1.377 GB, free: 12.15 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003734/1.269, allocations: 196.2 kB / 1.377 GB, free: 11.94 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/1.269, allocations: 16 kB / 1.377 GB, free: 11.92 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005572/1.27, allocations: 19.98 kB / 1.377 GB, free: 11.9 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.684e-05/1.27, allocations: 51.77 kB / 1.377 GB, free: 11.85 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.898e-05/1.27, allocations: 20 kB / 1.377 GB, free: 11.83 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0005496/1.27, allocations: 398.8 kB / 1.377 GB, free: 11.45 MB / 1.107 GB Notification: Performance of sort global known variables: time 2.51e-07/1.27, allocations: 3.938 kB / 1.377 GB, free: 11.44 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0007872/1.271, allocations: 208 kB / 1.377 GB, free: 11.24 MB / 1.107 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.0005104/1.272, allocations: 195.4 kB / 1.378 GB, free: 11.05 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0008726/1.272, allocations: 449.2 kB / 1.378 GB, free: 10.61 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 7.894e-06/1.272, allocations: 4 kB / 1.378 GB, free: 10.61 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0003812/1.273, allocations: 232.8 kB / 1.378 GB, free: 10.38 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002132/1.275, allocations: 490.9 kB / 1.379 GB, free: 9.918 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002656/1.278, allocations: 1.591 MB / 1.38 GB, free: 8.23 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006491/1.278, allocations: 0.9694 MB / 1.381 GB, free: 7.234 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001904/1.279, allocations: 59.44 kB / 1.381 GB, free: 7.176 MB / 1.107 GB Notification: Performance of SimCode: time 4.21e-07/1.279, allocations: 0 / 1.381 GB, free: 7.176 MB / 1.107 GB Notification: Performance of Templates: time 0.01978/1.298, allocations: 11.68 MB / 1.393 GB, free: 11.6 MB / 1.123 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.makefile (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 & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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