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: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volSim.T|volExa.T|relErr.y",fileNamePrefix="Buildings_latest_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_latest_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.001351/0.001351, allocations: 100.7 kB / 16.35 MB, free: 5.875 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.001353/0.001353, allocations: 195.5 kB / 17.3 MB, free: 5.516 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.308/1.308, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.436/2.436, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 68.59 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2614, allocations: 153 MB / 1.027 GB, free: 2.031 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.6399/0.9013, allocations: 181.9 MB / 1.204 GB, free: 1.781 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.007815/0.9092, allocations: 5.363 MB / 1.21 GB, free: 13.42 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008121/0.91, allocations: 35.19 kB / 1.21 GB, free: 13.41 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001063/0.9112, allocations: 432 kB / 1.21 GB, free: 13.05 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.003516/0.9147, allocations: 1.675 MB / 1.212 GB, free: 11.75 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001732/0.9164, allocations: 0.8015 MB / 1.212 GB, free: 11.13 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002289/0.9187, allocations: 2.199 MB / 1.215 GB, free: 9.863 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007584/0.9195, allocations: 0.6806 MB / 1.215 GB, free: 9.426 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009206/0.9204, allocations: 0.742 MB / 1.216 GB, free: 8.988 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001352/0.9218, allocations: 0.6835 MB / 1.217 GB, free: 8.598 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.692e-05/0.9219, allocations: 75.56 kB / 1.217 GB, free: 8.598 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002342/0.9242, allocations: 1.4 MB / 1.218 GB, free: 7.832 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002887/0.9245, allocations: 319.3 kB / 1.218 GB, free: 7.617 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004399/0.925, allocations: 476.5 kB / 1.219 GB, free: 7.316 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001846/0.9268, allocations: 1.66 MB / 1.22 GB, free: 6.254 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.9269, allocations: 0 / 1.22 GB, free: 6.254 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.312e-06/0.9269, allocations: 0 / 1.22 GB, free: 6.254 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.018e-05/0.9269, allocations: 0 / 1.22 GB, free: 6.254 MB / 0.92 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.001684/0.9286, allocations: 1.18 MB / 1.222 GB, free: 5.32 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.9286, allocations: 10.09 kB / 1.222 GB, free: 5.32 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001825/0.9304, allocations: 277 kB / 1.222 GB, free: 5.195 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001149/0.9316, allocations: 0.7008 MB / 1.223 GB, free: 4.633 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.581e-05/0.9316, allocations: 50.38 kB / 1.223 GB, free: 4.609 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.873e-05/0.9317, allocations: 57.78 kB / 1.223 GB, free: 4.59 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009664/0.9327, allocations: 0.5824 MB / 1.223 GB, free: 4.074 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/0.9327, allocations: 3.906 kB / 1.223 GB, free: 4.07 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.343e-05/0.9328, allocations: 31.98 kB / 1.223 GB, free: 4.039 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.949e-05/0.9329, allocations: 21.31 kB / 1.223 GB, free: 4.02 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008657/0.9337, allocations: 0.502 MB / 1.224 GB, free: 3.52 MB / 0.92 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.003157/0.9369, allocations: 2.372 MB / 1.226 GB, free: 0.957 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007711/0.9377, allocations: 435.5 kB / 1.227 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003316/0.938, allocations: 216.8 kB / 1.227 GB, free: 316 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001692/0.9382, allocations: 97.09 kB / 1.227 GB, free: 200 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.9382, allocations: 42.56 kB / 1.227 GB, free: 148 kB / 0.92 GB Notification: Performance of pre-optimization done (n=43): time 1.704e-06/0.9382, allocations: 0 / 1.227 GB, free: 148 kB / 0.92 GB Notification: Performance of matching and sorting (n=48): time 0.002732/0.941, allocations: 1.436 MB / 1.228 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/0.941, allocations: 63.84 kB / 1.228 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005588/0.9416, allocations: 0.5383 MB / 1.229 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.31e-05/0.9416, allocations: 37.7 kB / 1.229 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002123/0.9419, allocations: 328.6 kB / 1.229 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001298/0.942, allocations: 169.5 kB / 1.229 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/0.9421, allocations: 86.25 kB / 1.229 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.9423, allocations: 374.7 kB / 1.23 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002949/0.9426, allocations: 177 kB / 1.23 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003707/0.943, allocations: 266.3 kB / 1.23 GB, free: 12.58 MB / 0.9356 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.00328/0.9463, allocations: 1.448 MB / 1.232 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.9463, allocations: 0 / 1.232 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008063/0.9471, allocations: 0.5265 MB / 1.232 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.9471, allocations: 10.5 kB / 1.232 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.9471, allocations: 0 / 1.232 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.9471, allocations: 4 kB / 1.232 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004237/0.9476, allocations: 95.84 kB / 1.232 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.9476, allocations: 4 kB / 1.232 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005655/0.9482, allocations: 19.89 kB / 1.232 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.467e-05/0.9482, allocations: 16 kB / 1.232 GB, free: 10.4 MB / 0.9356 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.0002906/0.9485, allocations: 270.8 kB / 1.233 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.9486, allocations: 63.25 kB / 1.233 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001514/0.9488, allocations: 82.45 kB / 1.233 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.9488, allocations: 4 kB / 1.233 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.9488, allocations: 3.938 kB / 1.233 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006959/0.9495, allocations: 0.5106 MB / 1.233 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002222/0.9517, allocations: 1.589 MB / 1.235 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/0.9518, allocations: 4.625 kB / 1.235 GB, free: 7.73 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005484/0.9523, allocations: 119.8 kB / 1.235 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.125e-06/0.9523, allocations: 8 kB / 1.235 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.532e-05/0.9524, allocations: 19.98 kB / 1.235 GB, free: 7.586 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.073e-06/0.9524, allocations: 8 kB / 1.235 GB, free: 7.578 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/0.9524, allocations: 7.938 kB / 1.235 GB, free: 7.57 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/0.9535, allocations: 0.9019 MB / 1.236 GB, free: 6.594 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002818/0.9538, allocations: 200.3 kB / 1.236 GB, free: 6.379 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.685e-05/0.9539, allocations: 15.98 kB / 1.236 GB, free: 6.363 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005246/0.9544, allocations: 21.33 kB / 1.236 GB, free: 6.344 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.764e-05/0.9545, allocations: 47.83 kB / 1.236 GB, free: 6.297 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.122e-05/0.9546, allocations: 31.86 kB / 1.236 GB, free: 6.266 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004078/0.955, allocations: 398.8 kB / 1.236 GB, free: 5.879 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.955, allocations: 0 / 1.236 GB, free: 5.879 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000631/0.9556, allocations: 196 kB / 1.237 GB, free: 5.688 MB / 0.9356 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.0004097/0.956, allocations: 195.2 kB / 1.237 GB, free: 5.496 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007574/0.9568, allocations: 441.2 kB / 1.237 GB, free: 5.062 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.9568, allocations: 0 / 1.237 GB, free: 5.062 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003559/0.9572, allocations: 236.4 kB / 1.237 GB, free: 4.832 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001928/0.9591, allocations: 493.4 kB / 1.238 GB, free: 4.359 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002117/0.9612, allocations: 1.555 MB / 1.239 GB, free: 2.715 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005128/0.9618, allocations: 0.9772 MB / 1.24 GB, free: 1.711 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0004733/0.9622, allocations: 161.9 kB / 1.241 GB, free: 1.551 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001486/0.9624, allocations: 59.42 kB / 1.241 GB, free: 1.492 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/0.9624, allocations: 0 / 1.241 GB, free: 1.492 MB / 0.9356 GB Notification: Performance of Templates: time 0.02238/0.9848, allocations: 14.79 MB / 1.255 GB, free: 2.895 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.makefile (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 & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > 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