Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001004/0.001003, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001035/0.001035, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 223.3 MB / 240 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.427/2.427, allocations: 390.9 MB / 0.666 GB, free: 2.496 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004843/0.0004844, allocations: 12 kB / 0.8154 GB, free: 13.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6686/0.6691, allocations: 142.4 MB / 0.9544 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.2144/0.8836, allocations: 201.5 MB / 1.151 GB, free: 5.531 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.008175/0.8918, allocations: 5.404 MB / 1.156 GB, free: 120 kB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000859/0.8927, allocations: 35.75 kB / 1.157 GB, free: 84 kB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001086/0.8938, allocations: 409.5 kB / 1.157 GB, free: 15.68 MB / 0.92 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003286/0.8971, allocations: 1.372 MB / 1.158 GB, free: 14.3 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002448/0.8995, allocations: 0.8504 MB / 1.159 GB, free: 13.45 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003962/0.9035, allocations: 3.447 MB / 1.162 GB, free: 9.996 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001383/0.9049, allocations: 0.7268 MB / 1.163 GB, free: 9.254 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002315/0.9072, allocations: 0.8907 MB / 1.164 GB, free: 8.359 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00158/0.9088, allocations: 0.8756 MB / 1.165 GB, free: 7.48 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.000126/0.909, allocations: 40 kB / 1.165 GB, free: 7.441 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00214/0.9111, allocations: 0.7015 MB / 1.166 GB, free: 6.738 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004356/0.9116, allocations: 382.8 kB / 1.166 GB, free: 6.363 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003565/0.9119, allocations: 269.1 kB / 1.166 GB, free: 6.094 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001672/0.9136, allocations: 1.473 MB / 1.168 GB, free: 4.621 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.9136, allocations: 0 / 1.168 GB, free: 4.621 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.304e-06/0.9136, allocations: 4 kB / 1.168 GB, free: 4.617 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.405e-05/0.9137, allocations: 0 / 1.168 GB, free: 4.617 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: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.002076/0.9157, allocations: 1.285 MB / 1.169 GB, free: 3.277 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.9158, allocations: 8.031 kB / 1.169 GB, free: 3.27 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00195/0.9177, allocations: 322.2 kB / 1.169 GB, free: 2.953 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00137/0.9191, allocations: 0.7856 MB / 1.17 GB, free: 2.125 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.309e-05/0.9192, allocations: 66 kB / 1.17 GB, free: 2.062 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001314/0.9193, allocations: 84 kB / 1.17 GB, free: 1.98 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001796/0.9211, allocations: 0.917 MB / 1.171 GB, free: 1.055 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.57e-05/0.9212, allocations: 0 / 1.171 GB, free: 1.055 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-05/0.9213, allocations: 43.94 kB / 1.171 GB, free: 1.012 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.493e-05/0.9213, allocations: 37.98 kB / 1.171 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001477/0.9228, allocations: 0.8353 MB / 1.172 GB, free: 144 kB / 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.00531/0.9281, allocations: 3.544 MB / 1.175 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000787/0.9289, allocations: 0.4902 MB / 1.176 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000481/0.9294, allocations: 298 kB / 1.176 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001794/0.9296, allocations: 97.53 kB / 1.176 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.9297, allocations: 47 kB / 1.176 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=47): time 1.903e-06/0.9297, allocations: 7.938 kB / 1.176 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of matching and sorting (n=49): time 0.003658/0.9333, allocations: 1.903 MB / 1.178 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/0.9334, allocations: 55.84 kB / 1.178 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001034/0.9344, allocations: 0.8019 MB / 1.179 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.04e-05/0.9345, allocations: 37.7 kB / 1.179 GB, free: 8.484 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003496/0.9348, allocations: 475.3 kB / 1.179 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001529/0.935, allocations: 169.5 kB / 1.18 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.831e-05/0.935, allocations: 16 kB / 1.18 GB, free: 7.832 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.9352, allocations: 334 kB / 1.18 GB, free: 7.5 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004359/0.9356, allocations: 245.2 kB / 1.18 GB, free: 7.262 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005514/0.9362, allocations: 384.7 kB / 1.181 GB, free: 6.836 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002814/0.939, allocations: 1.006 MB / 1.182 GB, free: 5.812 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.939, allocations: 0 / 1.182 GB, free: 5.812 MB / 0.9356 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001388/0.9404, allocations: 0.8002 MB / 1.182 GB, free: 4.996 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.9404, allocations: 4 kB / 1.182 GB, free: 4.992 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.9404, allocations: 4 kB / 1.182 GB, free: 4.988 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001719/0.9406, allocations: 65.95 kB / 1.182 GB, free: 4.918 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000652/0.9413, allocations: 167.7 kB / 1.183 GB, free: 4.754 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002816/0.9441, allocations: 2.885 MB / 1.185 GB, free: 1.609 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008808/0.945, allocations: 65.44 kB / 1.185 GB, free: 1.547 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.084e-05/0.9451, allocations: 28 kB / 1.185 GB, free: 1.52 MB / 0.9356 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 () * 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 (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.0004892/0.9456, allocations: 305.3 kB / 1.186 GB, free: 1.211 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/0.9457, allocations: 90.97 kB / 1.186 GB, free: 1.121 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001982/0.9459, allocations: 104.7 kB / 1.186 GB, free: 1.008 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.9459, allocations: 4 kB / 1.186 GB, free: 1.004 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.9459, allocations: 4 kB / 1.186 GB, free: 1 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001111/0.9471, allocations: 0.8466 MB / 1.187 GB, free: 64 kB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002799/0.9499, allocations: 1.794 MB / 1.189 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.217e-06/0.9499, allocations: 4.062 kB / 1.189 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006046/0.9506, allocations: 139.8 kB / 1.189 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.39e-05/0.9507, allocations: 36.84 kB / 1.189 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.533e-05/0.9507, allocations: 15.98 kB / 1.189 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001312/0.9521, allocations: 1.476 MB / 1.19 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.9521, allocations: 7.938 kB / 1.19 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00153/0.9536, allocations: 1.091 MB / 1.191 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003677/0.954, allocations: 236 kB / 1.191 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/0.9541, allocations: 15.98 kB / 1.191 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007866/0.9549, allocations: 71.61 kB / 1.192 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.528e-05/0.955, allocations: 43.84 kB / 1.192 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.314e-05/0.9551, allocations: 31.98 kB / 1.192 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007975/0.9559, allocations: 0.5536 MB / 1.192 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9559, allocations: 3.938 kB / 1.192 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0008491/0.9568, allocations: 276 kB / 1.192 GB, free: 9.984 MB / 0.9512 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 (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.0003916/0.9572, allocations: 182.4 kB / 1.193 GB, free: 9.805 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001358/0.9585, allocations: 0.8 MB / 1.193 GB, free: 8.98 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.9585, allocations: 0 / 1.193 GB, free: 8.98 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0006522/0.9592, allocations: 416.4 kB / 1.194 GB, free: 8.562 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002512/0.9617, allocations: 0.5846 MB / 1.194 GB, free: 7.984 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002951/0.9647, allocations: 2.164 MB / 1.196 GB, free: 5.746 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006993/0.9654, allocations: 1.084 MB / 1.198 GB, free: 4.633 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0009055/0.9663, allocations: 219.7 kB / 1.198 GB, free: 4.414 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001829/0.9665, allocations: 67.44 kB / 1.198 GB, free: 4.348 MB / 0.9512 GB Notification: Performance of SimCode: time 5.81e-07/0.9665, allocations: 0 / 1.198 GB, free: 4.348 MB / 0.9512 GB Notification: Performance of Templates: time 0.03365/1, allocations: 18.41 MB / 1.216 GB, free: 2.199 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches