Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.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.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.Xi.1.|volSte.Xi.1.",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.Xi.1.|volSte.Xi.1.",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001541/0.001542, allocations: 106.1 kB / 15.98 MB, free: 5.891 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.001533/0.001533, allocations: 196.4 kB / 16.91 MB, free: 5.746 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.436/1.436, allocations: 222.9 MB / 240.6 MB, free: 4.496 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.721/2.721, allocations: 437.1 MB / 0.7107 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002111/0.002111, allocations: 67.89 kB / 0.8694 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6295/0.6316, allocations: 151.6 MB / 1.017 GB, free: 2.668 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.26/0.8917, allocations: 218.3 MB / 1.231 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01055/0.9023, allocations: 5.696 MB / 1.236 GB, free: 1.832 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001587/0.9039, allocations: 39.75 kB / 1.236 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001862/0.9059, allocations: 0.5131 MB / 1.237 GB, free: 1.277 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004931/0.9108, allocations: 1.731 MB / 1.238 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003269/0.9141, allocations: 1.087 MB / 1.24 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004468/0.9186, allocations: 2.942 MB / 1.242 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001759/0.9203, allocations: 1.011 MB / 1.243 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002253/0.9226, allocations: 1.066 MB / 1.244 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0029/0.9255, allocations: 1.013 MB / 1.245 GB, free: 8.406 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003247/0.9259, allocations: 108 kB / 1.246 GB, free: 8.301 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003394/0.9293, allocations: 1.496 MB / 1.247 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007358/0.93, allocations: 466.8 kB / 1.247 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001325/0.9314, allocations: 0.6495 MB / 1.248 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002653/0.934, allocations: 1.622 MB / 1.25 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.934, allocations: 3.938 kB / 1.25 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.094e-06/0.9341, allocations: 0 / 1.25 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.615e-05/0.9341, allocations: 0 / 1.25 GB, free: 4.062 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: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.003202/0.9373, allocations: 1.504 MB / 1.251 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.9374, allocations: 12.03 kB / 1.251 GB, free: 2.496 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002109/0.9395, allocations: 318.2 kB / 1.251 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001397/0.9409, allocations: 0.8085 MB / 1.252 GB, free: 1.332 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.485e-05/0.941, allocations: 73.88 kB / 1.252 GB, free: 1.258 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001479/0.9412, allocations: 84 kB / 1.252 GB, free: 1.176 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001754/0.9429, allocations: 0.9267 MB / 1.253 GB, free: 252 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.475e-05/0.943, allocations: 0 / 1.253 GB, free: 252 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.068e-05/0.943, allocations: 32 kB / 1.253 GB, free: 220 kB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.692e-05/0.9431, allocations: 45.91 kB / 1.253 GB, free: 176 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.489/1.432, allocations: 0.8256 MB / 1.254 GB, free: 237.4 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.00695/1.439, allocations: 3.525 MB / 1.258 GB, free: 235.4 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009415/1.44, allocations: 492.1 kB / 1.258 GB, free: 235.2 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000543/1.441, allocations: 310 kB / 1.258 GB, free: 235.1 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001927/1.441, allocations: 98.78 kB / 1.258 GB, free: 235 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/1.441, allocations: 47.31 kB / 1.259 GB, free: 235 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=47): time 2.414e-06/1.441, allocations: 0.8125 kB / 1.259 GB, free: 235 MB / 0.9981 GB Notification: Performance of matching and sorting (n=49): time 0.004232/1.445, allocations: 1.864 MB / 1.26 GB, free: 233.9 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/1.445, allocations: 60.83 kB / 1.26 GB, free: 233.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001221/1.446, allocations: 0.8083 MB / 1.261 GB, free: 233.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.036e-05/1.446, allocations: 38.77 kB / 1.261 GB, free: 233.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003221/1.447, allocations: 477.5 kB / 1.262 GB, free: 233.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001422/1.447, allocations: 173.3 kB / 1.262 GB, free: 233 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002057/1.447, allocations: 113.7 kB / 1.262 GB, free: 232.9 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.01e-05/1.447, allocations: 332.5 kB / 1.262 GB, free: 232.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004765/1.448, allocations: 247.6 kB / 1.263 GB, free: 232.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005903/1.448, allocations: 384.4 kB / 1.263 GB, free: 232.3 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003996/1.452, allocations: 1.537 MB / 1.264 GB, free: 231.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.553e-06/1.452, allocations: 1.422 kB / 1.264 GB, free: 231.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001688/1.454, allocations: 0.7926 MB / 1.265 GB, free: 231.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.18e-05/1.454, allocations: 8.562 kB / 1.265 GB, free: 231.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/1.454, allocations: 3.781 kB / 1.265 GB, free: 231.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002121/1.454, allocations: 68.64 kB / 1.265 GB, free: 231.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008052/1.455, allocations: 155.3 kB / 1.265 GB, free: 231.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00245/1.458, allocations: 3.125 MB / 1.268 GB, free: 228.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00119/1.459, allocations: 63.95 kB / 1.268 GB, free: 228.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.247e-05/1.459, allocations: 22.19 kB / 1.269 GB, free: 228.3 MB / 0.9981 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (71): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006742/1.46, allocations: 309.7 kB / 1.269 GB, free: 228.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002423/1.46, allocations: 90.77 kB / 1.269 GB, free: 228.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000202/1.46, allocations: 100.2 kB / 1.269 GB, free: 228 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/1.46, allocations: 5 kB / 1.269 GB, free: 228 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/1.46, allocations: 0.7969 kB / 1.269 GB, free: 228 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001215/1.461, allocations: 0.8419 MB / 1.27 GB, free: 227.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003029/1.464, allocations: 1.797 MB / 1.272 GB, free: 226.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/1.464, allocations: 3.312 kB / 1.272 GB, free: 226.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006398/1.465, allocations: 136.2 kB / 1.272 GB, free: 226.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001203/1.465, allocations: 40.33 kB / 1.272 GB, free: 226.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.942e-05/1.465, allocations: 15.94 kB / 1.272 GB, free: 226.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001026/1.466, allocations: 1.597 MB / 1.273 GB, free: 225 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/1.466, allocations: 8.438 kB / 1.273 GB, free: 225 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001575/1.468, allocations: 1.068 MB / 1.274 GB, free: 224.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000458/1.468, allocations: 231.1 kB / 1.275 GB, free: 224.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001167/1.468, allocations: 19.44 kB / 1.275 GB, free: 224.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007607/1.469, allocations: 64.39 kB / 1.275 GB, free: 224.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/1.469, allocations: 48.55 kB / 1.275 GB, free: 224.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.362e-05/1.469, allocations: 32.03 kB / 1.275 GB, free: 224.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008431/1.47, allocations: 0.5585 MB / 1.275 GB, free: 224 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.47, allocations: 0 / 1.275 GB, free: 224 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00107/1.471, allocations: 280.5 kB / 1.276 GB, free: 223.9 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.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 (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004847/1.472, allocations: 203.8 kB / 1.276 GB, free: 223.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001528/1.473, allocations: 0.8605 MB / 1.277 GB, free: 223.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/1.473, allocations: 3 kB / 1.277 GB, free: 223.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005661/1.474, allocations: 413.8 kB / 1.277 GB, free: 223.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00261/1.476, allocations: 0.606 MB / 1.278 GB, free: 223 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00295/1.479, allocations: 2.233 MB / 1.28 GB, free: 221.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006389/1.48, allocations: 1.083 MB / 1.281 GB, free: 220.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002465/1.48, allocations: 75.23 kB / 1.281 GB, free: 220.9 MB / 0.9981 GB Notification: Performance of SimCode: time 8.02e-07/1.48, allocations: 0 / 1.281 GB, free: 220.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.02708/1.507, allocations: 21.94 MB / 1.302 GB, free: 203.5 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,volDyn.ports[1].m_flow,gain.y,volDyn.Xi[1],volSte.Xi[1] Variables in the result:gain.y,time,volDyn.Xi[1],volDyn.ports[1].m_flow,volSte.Xi[1]