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.0009086/0.0009079, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 184.2 kB / 16.92 MB, free: 6.926 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.415/1.415, allocations: 223.3 MB / 241 MB, free: 5.254 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.464/2.464, allocations: 390.9 MB / 0.667 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003829/0.0003828, allocations: 16 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7619/0.7623, allocations: 142.4 MB / 0.9557 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.2319/0.9942, allocations: 216 MB / 1.167 GB, free: 6.664 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00942/1.004, allocations: 5.741 MB / 1.172 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001341/1.005, allocations: 31.75 kB / 1.172 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001476/1.007, allocations: 0.5013 MB / 1.173 GB, free: 388 kB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.004683/1.011, allocations: 1.743 MB / 1.174 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003044/1.014, allocations: 1.083 MB / 1.175 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.005042/1.019, allocations: 4.092 MB / 1.179 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001495/1.021, allocations: 0.8431 MB / 1.18 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002051/1.023, allocations: 0.8789 MB / 1.181 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002672/1.026, allocations: 0.9351 MB / 1.182 GB, free: 6.773 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001771/1.026, allocations: 40 kB / 1.182 GB, free: 6.734 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003231/1.029, allocations: 1.613 MB / 1.184 GB, free: 5.117 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0005005/1.03, allocations: 390.8 kB / 1.184 GB, free: 4.734 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0008516/1.03, allocations: 0.5964 MB / 1.185 GB, free: 4.129 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002143/1.033, allocations: 1.574 MB / 1.186 GB, free: 2.551 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/1.033, allocations: 0 / 1.186 GB, free: 2.551 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.984e-06/1.033, allocations: 0 / 1.186 GB, free: 2.551 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.542e-05/1.033, allocations: 0 / 1.186 GB, free: 2.551 MB / 0.9356 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.00229/1.035, allocations: 1.27 MB / 1.187 GB, free: 1.227 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/1.035, allocations: 8.031 kB / 1.187 GB, free: 1.219 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002098/1.037, allocations: 326.2 kB / 1.188 GB, free: 0.8984 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001285/1.038, allocations: 0.8162 MB / 1.189 GB, free: 40 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.781e-05/1.039, allocations: 70.06 kB / 1.189 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001326/1.039, allocations: 84 kB / 1.189 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001671/1.04, allocations: 0.9208 MB / 1.19 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.357e-05/1.04, allocations: 7.844 kB / 1.19 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/1.04, allocations: 36 kB / 1.19 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.193e-05/1.041, allocations: 41.94 kB / 1.19 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001486/1.042, allocations: 0.847 MB / 1.19 GB, free: 14.03 MB / 0.9512 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.005612/1.048, allocations: 3.536 MB / 1.194 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008321/1.049, allocations: 0.4981 MB / 1.194 GB, free: 9.766 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004765/1.049, allocations: 302 kB / 1.195 GB, free: 9.469 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001987/1.049, allocations: 105.5 kB / 1.195 GB, free: 9.348 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.926e-05/1.049, allocations: 54.84 kB / 1.195 GB, free: 9.285 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=47): time 2.094e-06/1.049, allocations: 0 / 1.195 GB, free: 9.285 MB / 0.9512 GB Notification: Performance of matching and sorting (n=49): time 0.003978/1.053, allocations: 1.903 MB / 1.197 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/1.053, allocations: 55.84 kB / 1.197 GB, free: 7.219 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/1.054, allocations: 0.8097 MB / 1.198 GB, free: 6.398 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 7.642e-05/1.054, allocations: 37.7 kB / 1.198 GB, free: 6.355 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003579/1.055, allocations: 475.3 kB / 1.198 GB, free: 5.887 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001539/1.055, allocations: 173.5 kB / 1.198 GB, free: 5.715 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.056e-05/1.055, allocations: 53.7 kB / 1.198 GB, free: 5.656 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001252/1.055, allocations: 330 kB / 1.199 GB, free: 5.328 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004402/1.056, allocations: 249.2 kB / 1.199 GB, free: 5.086 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005512/1.056, allocations: 388.7 kB / 1.199 GB, free: 4.656 MB / 0.9512 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.003829/1.06, allocations: 1.574 MB / 1.201 GB, free: 3.023 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/1.06, allocations: 0 / 1.201 GB, free: 3.023 MB / 0.9512 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001481/1.062, allocations: 0.7962 MB / 1.202 GB, free: 2.211 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/1.062, allocations: 8 kB / 1.202 GB, free: 2.203 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/1.062, allocations: 3.938 kB / 1.202 GB, free: 2.199 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001702/1.062, allocations: 78.08 kB / 1.202 GB, free: 2.117 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006945/1.063, allocations: 155.8 kB / 1.202 GB, free: 1.965 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002488/1.065, allocations: 2.889 MB / 1.205 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001086/1.066, allocations: 69.53 kB / 1.205 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.652e-05/1.066, allocations: 24 kB / 1.205 GB, free: 14.72 MB / 0.9669 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 (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.000575/1.067, allocations: 299.6 kB / 1.205 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001709/1.067, allocations: 90.88 kB / 1.205 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002121/1.067, allocations: 104.7 kB / 1.205 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.836e-06/1.067, allocations: 11.94 kB / 1.205 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/1.067, allocations: 0 / 1.205 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001097/1.068, allocations: 0.8466 MB / 1.206 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003004/1.071, allocations: 1.802 MB / 1.208 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/1.071, allocations: 7.938 kB / 1.208 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006373/1.072, allocations: 139.8 kB / 1.208 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001084/1.072, allocations: 44.83 kB / 1.208 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.238e-05/1.072, allocations: 12.09 kB / 1.208 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00129/1.073, allocations: 1.483 MB / 1.209 GB, free: 9.551 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.092e-06/1.073, allocations: 7.984 kB / 1.209 GB, free: 9.543 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001692/1.075, allocations: 1.084 MB / 1.21 GB, free: 8.402 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004895/1.076, allocations: 243.8 kB / 1.211 GB, free: 8.145 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/1.076, allocations: 12 kB / 1.211 GB, free: 8.133 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007971/1.077, allocations: 67.89 kB / 1.211 GB, free: 8.07 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/1.077, allocations: 51.69 kB / 1.211 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.656e-05/1.077, allocations: 27.98 kB / 1.211 GB, free: 7.992 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0007776/1.078, allocations: 0.5615 MB / 1.211 GB, free: 7.438 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.7e-07/1.078, allocations: 0 / 1.211 GB, free: 7.438 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000939/1.079, allocations: 276 kB / 1.212 GB, free: 7.168 MB / 0.9669 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.0005011/1.079, allocations: 204.9 kB / 1.212 GB, free: 6.969 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001381/1.08, allocations: 0.8001 MB / 1.213 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/1.08, allocations: 0 / 1.213 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000588/1.081, allocations: 412.5 kB / 1.213 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003142/1.084, allocations: 0.5778 MB / 1.214 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003298/1.087, allocations: 2.306 MB / 1.216 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007321/1.088, allocations: 1.088 MB / 1.217 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002581/1.089, allocations: 75.42 kB / 1.217 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of SimCode: time 9.42e-07/1.089, allocations: 0 / 1.217 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of Templates: time 0.03368/1.122, allocations: 21.8 MB / 1.238 GB, free: 11.89 MB / 0.9981 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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]