Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.007323/0.007323, allocations: 96.73 kB / 15.73 MB, free: 6.039 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.001419/0.001419, allocations: 193.9 kB / 16.67 MB, free: 5.969 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.453/1.453, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.864/2.864, allocations: 469.8 MB / 0.7425 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 71.83 kB / 1.065 GB, free: 13 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3204, allocations: 159.1 MB / 1.221 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 1.014/1.335, allocations: 221.6 MB / 1.437 GB, free: 6.984 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.009655/1.345, allocations: 5.74 MB / 1.443 GB, free: 1.773 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001779/1.346, allocations: 39.75 kB / 1.443 GB, free: 1.734 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001704/1.348, allocations: 0.6059 MB / 1.443 GB, free: 1.125 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.004781/1.353, allocations: 1.914 MB / 1.445 GB, free: 15.2 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003064/1.356, allocations: 1.201 MB / 1.446 GB, free: 14.01 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.003962/1.36, allocations: 2.946 MB / 1.449 GB, free: 11.06 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001255/1.361, allocations: 0.8666 MB / 1.45 GB, free: 10.17 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001833/1.363, allocations: 1.113 MB / 1.451 GB, free: 9.055 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002251/1.365, allocations: 0.946 MB / 1.452 GB, free: 8.125 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0002058/1.365, allocations: 112 kB / 1.452 GB, free: 8.016 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00304/1.368, allocations: 1.438 MB / 1.454 GB, free: 6.574 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0005069/1.369, allocations: 474.5 kB / 1.454 GB, free: 6.109 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0007855/1.37, allocations: 0.6496 MB / 1.455 GB, free: 5.457 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.003055/1.373, allocations: 2.137 MB / 1.457 GB, free: 3.312 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/1.373, allocations: 0 / 1.457 GB, free: 3.312 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.403e-06/1.373, allocations: 0 / 1.457 GB, free: 3.312 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.785e-05/1.373, allocations: 0 / 1.457 GB, free: 3.312 MB / 1.139 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.002447/1.375, allocations: 1.541 MB / 1.458 GB, free: 1.715 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/1.375, allocations: 12.03 kB / 1.458 GB, free: 1.703 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002159/1.377, allocations: 326.9 kB / 1.459 GB, free: 1.383 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001717/1.379, allocations: 0.8676 MB / 1.459 GB, free: 484 kB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.052e-05/1.379, allocations: 65.98 kB / 1.46 GB, free: 420 kB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001575/1.379, allocations: 84 kB / 1.46 GB, free: 336 kB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002027/1.381, allocations: 0.913 MB / 1.461 GB, free: 15.41 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.722e-05/1.381, allocations: 4 kB / 1.461 GB, free: 15.41 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/1.382, allocations: 36 kB / 1.461 GB, free: 15.37 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.046e-05/1.382, allocations: 34 kB / 1.461 GB, free: 15.34 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001609/1.383, allocations: 0.8392 MB / 1.461 GB, free: 14.5 MB / 1.154 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.006024/1.389, allocations: 3.518 MB / 1.465 GB, free: 10.76 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008185/1.39, allocations: 469.4 kB / 1.465 GB, free: 10.29 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004735/1.391, allocations: 293.3 kB / 1.466 GB, free: 10 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002074/1.391, allocations: 105.5 kB / 1.466 GB, free: 9.883 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.434e-05/1.391, allocations: 43 kB / 1.466 GB, free: 9.832 MB / 1.154 GB Notification: Performance of pre-optimization done (n=47): time 3.727e-06/1.391, allocations: 0 / 1.466 GB, free: 9.832 MB / 1.154 GB Notification: Performance of matching and sorting (n=49): time 0.003928/1.395, allocations: 1.889 MB / 1.468 GB, free: 7.844 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.028e-05/1.395, allocations: 59.84 kB / 1.468 GB, free: 7.773 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009846/1.396, allocations: 0.8097 MB / 1.468 GB, free: 6.957 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 5.598e-05/1.396, allocations: 37.7 kB / 1.468 GB, free: 6.914 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003515/1.396, allocations: 492.1 kB / 1.469 GB, free: 6.43 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001585/1.396, allocations: 182.4 kB / 1.469 GB, free: 6.25 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001914/1.396, allocations: 114.3 kB / 1.469 GB, free: 6.133 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001191/1.397, allocations: 330 kB / 1.47 GB, free: 5.805 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004314/1.397, allocations: 253.1 kB / 1.47 GB, free: 5.559 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005207/1.398, allocations: 376.7 kB / 1.47 GB, free: 5.141 MB / 1.154 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.003721/1.401, allocations: 1.537 MB / 1.472 GB, free: 3.551 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/1.401, allocations: 4 kB / 1.472 GB, free: 3.547 MB / 1.154 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001434/1.403, allocations: 0.793 MB / 1.472 GB, free: 2.738 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/1.403, allocations: 12 kB / 1.472 GB, free: 2.727 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/1.403, allocations: 4 kB / 1.472 GB, free: 2.723 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001857/1.403, allocations: 65.67 kB / 1.472 GB, free: 2.652 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007147/1.404, allocations: 147.8 kB / 1.473 GB, free: 2.508 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002557/1.406, allocations: 3.128 MB / 1.476 GB, free: 15.11 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009277/1.407, allocations: 33.97 kB / 1.476 GB, free: 15.07 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.645e-05/1.407, allocations: 27.5 kB / 1.476 GB, free: 15.05 MB / 1.17 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.0005835/1.408, allocations: 319.7 kB / 1.476 GB, free: 14.73 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001946/1.408, allocations: 91.44 kB / 1.476 GB, free: 14.64 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001962/1.408, allocations: 100.7 kB / 1.476 GB, free: 14.54 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/1.408, allocations: 4.094 kB / 1.476 GB, free: 14.54 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/1.408, allocations: 4 kB / 1.476 GB, free: 14.53 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001217/1.409, allocations: 0.8349 MB / 1.477 GB, free: 13.61 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003103/1.413, allocations: 1.795 MB / 1.479 GB, free: 11.71 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.261e-06/1.413, allocations: 4 kB / 1.479 GB, free: 11.71 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006127/1.413, allocations: 132.2 kB / 1.479 GB, free: 11.58 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001035/1.413, allocations: 44.77 kB / 1.479 GB, free: 11.54 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.042e-05/1.413, allocations: 15.94 kB / 1.479 GB, free: 11.52 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00128/1.415, allocations: 1.594 MB / 1.481 GB, free: 9.785 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/1.415, allocations: 7.938 kB / 1.481 GB, free: 9.777 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001596/1.416, allocations: 1.062 MB / 1.482 GB, free: 8.656 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004051/1.417, allocations: 244.4 kB / 1.482 GB, free: 8.398 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001131/1.417, allocations: 16 kB / 1.482 GB, free: 8.383 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006712/1.417, allocations: 34.34 kB / 1.482 GB, free: 8.352 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/1.417, allocations: 43.95 kB / 1.482 GB, free: 8.309 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.087e-05/1.418, allocations: 32.86 kB / 1.482 GB, free: 8.277 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0007515/1.418, allocations: 0.5537 MB / 1.482 GB, free: 7.73 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/1.418, allocations: 0 / 1.482 GB, free: 7.73 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0009201/1.419, allocations: 280 kB / 1.483 GB, free: 7.457 MB / 1.17 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.0004834/1.42, allocations: 199.4 kB / 1.483 GB, free: 7.258 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001336/1.421, allocations: 0.7842 MB / 1.484 GB, free: 6.449 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/1.421, allocations: 0 / 1.484 GB, free: 6.449 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0005614/1.422, allocations: 391.7 kB / 1.484 GB, free: 6.055 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002508/1.424, allocations: 0.6 MB / 1.485 GB, free: 5.465 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003467/1.428, allocations: 1.842 MB / 1.486 GB, free: 3.547 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007685/1.428, allocations: 1.088 MB / 1.488 GB, free: 2.43 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0007866/1.429, allocations: 211.7 kB / 1.488 GB, free: 2.219 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000185/1.429, allocations: 75.36 kB / 1.488 GB, free: 2.145 MB / 1.17 GB Notification: Performance of SimCode: time 1.153e-06/1.429, allocations: 0 / 1.488 GB, free: 2.145 MB / 1.17 GB Notification: Performance of Templates: time 0.03604/1.465, allocations: 20.29 MB / 1.508 GB, free: 14.14 MB / 1.201 GB make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.makefile (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches