Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.251/2.251, allocations: 390.5 MB / 398 MB, free: 10.93 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 175.8 kB / 491.2 MB, free: 1.582 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.887/1.887, allocations: 221.5 MB / 0.7868 GB, free: 13.28 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009951/0.0009954, allocations: 102.3 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.386e-05/2.358e-05, allocations: 8 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4116/0.4116, allocations: 143 MB / 1.212 GB, free: 39.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.437/6.848, allocations: 1.92 GB / 3.132 GB, free: 410 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000266/6.849, allocations: 88.83 kB / 3.132 GB, free: 409.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.599/8.447, allocations: 463.6 MB / 3.585 GB, free: 297.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.685e-06/8.447, allocations: 2.844 kB / 3.585 GB, free: 297.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001278/8.448, allocations: 31.5 kB / 3.585 GB, free: 297.3 MB / 1.151 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.003815/8.451, allocations: 1.246 MB / 3.586 GB, free: 296.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/8.451, allocations: 7.812 kB / 3.586 GB, free: 296.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002321/8.454, allocations: 308 kB / 3.586 GB, free: 296.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001903/8.456, allocations: 0.8605 MB / 3.587 GB, free: 296.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.43e-05/8.456, allocations: 26.88 kB / 3.587 GB, free: 296.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/8.456, allocations: 52 kB / 3.587 GB, free: 296.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00132/8.457, allocations: 0.7171 MB / 3.588 GB, free: 296.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001362/8.459, allocations: 0.8277 MB / 3.589 GB, free: 296.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.687e-05/8.459, allocations: 3.953 kB / 3.589 GB, free: 296.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.99e-05/8.459, allocations: 6.484 kB / 3.589 GB, free: 296.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-05/8.459, allocations: 30 kB / 3.589 GB, free: 296.3 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.004922/8.464, allocations: 3.272 MB / 3.592 GB, free: 295.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006151/8.464, allocations: 433.2 kB / 3.592 GB, free: 295 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003107/8.465, allocations: 252.2 kB / 3.593 GB, free: 295 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002098/8.465, allocations: 105.5 kB / 3.593 GB, free: 294.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/8.465, allocations: 40.5 kB / 3.593 GB, free: 294.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=47): time 3.076e-06/8.465, allocations: 2.25 kB / 3.593 GB, free: 294.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=49): time 0.002751/8.468, allocations: 1.305 MB / 3.594 GB, free: 294.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/8.468, allocations: 55.81 kB / 3.594 GB, free: 294.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007016/8.468, allocations: 0.528 MB / 3.595 GB, free: 294.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.458e-05/8.468, allocations: 29.52 kB / 3.595 GB, free: 294.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003701/8.469, allocations: 489.8 kB / 3.595 GB, free: 294 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001442/8.469, allocations: 171.8 kB / 3.595 GB, free: 294 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.608e-05/8.469, allocations: 0 / 3.595 GB, free: 294 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001494/8.469, allocations: 386.8 kB / 3.596 GB, free: 293.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002869/8.469, allocations: 206.1 kB / 3.596 GB, free: 293.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003708/8.47, allocations: 343.6 kB / 3.596 GB, free: 293.5 MB / 1.151 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.002501/8.472, allocations: 0.9073 MB / 3.597 GB, free: 293.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/8.472, allocations: 3.25 kB / 3.597 GB, free: 293.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001099/8.473, allocations: 0.6711 MB / 3.598 GB, free: 293.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/8.474, allocations: 9.938 kB / 3.598 GB, free: 293.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/8.474, allocations: 3.5 kB / 3.598 GB, free: 293.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002004/8.474, allocations: 63.19 kB / 3.598 GB, free: 293.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005706/8.474, allocations: 130.5 kB / 3.598 GB, free: 293.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0019/8.476, allocations: 2.653 MB / 3.601 GB, free: 290.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001047/8.477, allocations: 60.03 kB / 3.601 GB, free: 290.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-05/8.477, allocations: 30.88 kB / 3.601 GB, free: 290.9 MB / 1.151 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001996/8.478, allocations: 116.5 kB / 3.601 GB, free: 290.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/8.478, allocations: 80.08 kB / 3.601 GB, free: 290.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002352/8.478, allocations: 84.33 kB / 3.601 GB, free: 290.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/8.478, allocations: 8.844 kB / 3.601 GB, free: 290.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/8.478, allocations: 0 / 3.601 GB, free: 290.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007412/8.479, allocations: 0.7543 MB / 3.602 GB, free: 290.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002391/8.481, allocations: 1.552 MB / 3.603 GB, free: 289.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/8.481, allocations: 7.594 kB / 3.603 GB, free: 289.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005037/8.482, allocations: 110 kB / 3.603 GB, free: 289.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001151/8.482, allocations: 40.94 kB / 3.603 GB, free: 289.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.308e-05/8.482, allocations: 7.812 kB / 3.603 GB, free: 289.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008527/8.483, allocations: 1.37 MB / 3.605 GB, free: 288.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/8.483, allocations: 3.812 kB / 3.605 GB, free: 288.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001197/8.484, allocations: 1.069 MB / 3.606 GB, free: 288.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004038/8.484, allocations: 216.4 kB / 3.606 GB, free: 288 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.2e-05/8.484, allocations: 7.594 kB / 3.606 GB, free: 288 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007337/8.485, allocations: 47.42 kB / 3.606 GB, free: 288 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/8.485, allocations: 48.62 kB / 3.606 GB, free: 288 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.372e-05/8.485, allocations: 32.8 kB / 3.606 GB, free: 288 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004908/8.486, allocations: 403.2 kB / 3.606 GB, free: 287.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/8.486, allocations: 0 / 3.606 GB, free: 287.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001549/8.487, allocations: 351.5 kB / 3.607 GB, free: 287.9 MB / 1.151 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002364/8.49, allocations: 1.428 MB / 3.608 GB, free: 287.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001199/8.491, allocations: 0.6903 MB / 3.609 GB, free: 287.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/8.491, allocations: 10.23 kB / 3.609 GB, free: 287.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004064/8.491, allocations: 352.3 kB / 3.609 GB, free: 287.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002261/8.494, allocations: 449.1 kB / 3.61 GB, free: 287.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002738/8.496, allocations: 1.337 MB / 3.611 GB, free: 286.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005892/8.497, allocations: 1.115 MB / 3.612 GB, free: 286.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0008832/8.498, allocations: 194.8 kB / 3.612 GB, free: 286.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001599/8.498, allocations: 58.97 kB / 3.612 GB, free: 286.1 MB / 1.151 GB Notification: Performance of SimCode: time 8.42e-07/8.498, allocations: 0 / 3.612 GB, free: 286.1 MB / 1.151 GB Notification: Performance of Templates: time 0.03557/8.534, allocations: 21.66 MB / 3.633 GB, free: 285.1 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.csv","../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches