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/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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008396/0.0008398, allocations: 92.62 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.0009584/0.0009588, allocations: 176.8 kB / 16.92 MB, free: 6.652 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.41/1.41, allocations: 223.3 MB / 241 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.735/2.735, allocations: 462.7 MB / 0.7371 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003961/0.0003965, allocations: 11.72 kB / 0.9034 GB, free: 36.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3216, allocations: 159.6 MB / 1.059 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.9224/1.244, allocations: 216 MB / 1.27 GB, free: 17.39 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009512/1.254, allocations: 5.742 MB / 1.276 GB, free: 17.29 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0018/1.256, allocations: 35.19 kB / 1.276 GB, free: 17.29 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001621/1.257, allocations: 0.5007 MB / 1.276 GB, free: 17.28 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005292/1.262, allocations: 1.741 MB / 1.278 GB, free: 17.19 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003409/1.266, allocations: 1.088 MB / 1.279 GB, free: 17.15 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007003/1.273, allocations: 4.093 MB / 1.283 GB, free: 17.14 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001901/1.275, allocations: 0.8488 MB / 1.284 GB, free: 17 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002957/1.278, allocations: 0.8884 MB / 1.285 GB, free: 16.99 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003609/1.281, allocations: 0.9335 MB / 1.286 GB, free: 16.98 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002954/1.282, allocations: 43.05 kB / 1.286 GB, free: 16.98 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004665/1.286, allocations: 1.622 MB / 1.287 GB, free: 16.96 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008051/1.287, allocations: 391.6 kB / 1.288 GB, free: 16.95 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001258/1.289, allocations: 0.5927 MB / 1.288 GB, free: 16.92 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002647/1.291, allocations: 1.566 MB / 1.29 GB, free: 16.82 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/1.291, allocations: 1.344 kB / 1.29 GB, free: 16.82 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.823e-06/1.291, allocations: 4 kB / 1.29 GB, free: 16.81 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.013e-05/1.291, allocations: 0 / 1.29 GB, free: 16.81 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.002562/1.294, allocations: 1.274 MB / 1.291 GB, free: 16.06 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/1.294, allocations: 14.25 kB / 1.291 GB, free: 16.06 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002236/1.296, allocations: 323.1 kB / 1.291 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001444/1.298, allocations: 0.8089 MB / 1.292 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.268e-05/1.298, allocations: 63.06 kB / 1.292 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001442/1.298, allocations: 87.5 kB / 1.292 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001813/1.3, allocations: 0.9243 MB / 1.293 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.579e-05/1.3, allocations: 2.875 kB / 1.293 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.61e-05/1.3, allocations: 40.12 kB / 1.293 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.268e-05/1.3, allocations: 34.41 kB / 1.293 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001539/1.301, allocations: 0.8453 MB / 1.294 GB, free: 15.59 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.005803/1.307, allocations: 3.543 MB / 1.298 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008103/1.308, allocations: 0.4944 MB / 1.298 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004589/1.308, allocations: 301.2 kB / 1.298 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000186/1.309, allocations: 104.6 kB / 1.298 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/1.309, allocations: 44.03 kB / 1.298 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=47): time 2.565e-06/1.309, allocations: 6.906 kB / 1.298 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of matching and sorting (n=49): time 0.004053/1.313, allocations: 1.899 MB / 1.3 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.089e-05/1.313, allocations: 56.84 kB / 1.3 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/1.314, allocations: 0.811 MB / 1.301 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.495e-05/1.314, allocations: 37.48 kB / 1.301 GB, free: 13.17 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003245/1.314, allocations: 471.6 kB / 1.302 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001696/1.315, allocations: 181 kB / 1.302 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.482e-05/1.315, allocations: 55.27 kB / 1.302 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.767e-05/1.315, allocations: 329.2 kB / 1.302 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004338/1.315, allocations: 250.6 kB / 1.302 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005302/1.316, allocations: 385.9 kB / 1.303 GB, free: 12.39 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.003775/1.32, allocations: 1.576 MB / 1.304 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.732e-06/1.32, allocations: 1.25 kB / 1.304 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001535/1.321, allocations: 0.8042 MB / 1.305 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/1.321, allocations: 6.312 kB / 1.305 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/1.321, allocations: 2.281 kB / 1.305 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001761/1.321, allocations: 73.67 kB / 1.305 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006993/1.322, allocations: 157.6 kB / 1.305 GB, free: 12 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001843/1.324, allocations: 2.891 MB / 1.308 GB, free: 9.484 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001178/1.325, allocations: 68.69 kB / 1.308 GB, free: 9.473 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.908e-05/1.325, allocations: 23.94 kB / 1.308 GB, free: 9.473 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 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.0006064/1.326, allocations: 301 kB / 1.309 GB, free: 9.355 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001553/1.326, allocations: 99.72 kB / 1.309 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001808/1.326, allocations: 99.39 kB / 1.309 GB, free: 9.289 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/1.326, allocations: 11.92 kB / 1.309 GB, free: 9.285 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/1.326, allocations: 4 kB / 1.309 GB, free: 9.281 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009655/1.327, allocations: 0.8407 MB / 1.31 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002852/1.33, allocations: 1.805 MB / 1.311 GB, free: 8.398 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.585e-06/1.33, allocations: 8.781 kB / 1.311 GB, free: 8.395 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006403/1.331, allocations: 137.3 kB / 1.311 GB, free: 8.395 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.636e-05/1.331, allocations: 35.39 kB / 1.312 GB, free: 8.387 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.989e-05/1.331, allocations: 16.8 kB / 1.312 GB, free: 8.387 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009122/1.332, allocations: 1.477 MB / 1.313 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/1.332, allocations: 7.031 kB / 1.313 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001555/1.333, allocations: 1.09 MB / 1.314 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004906/1.334, allocations: 238.3 kB / 1.314 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001175/1.334, allocations: 17.09 kB / 1.314 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000809/1.335, allocations: 75.69 kB / 1.314 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/1.335, allocations: 48.69 kB / 1.314 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.579e-05/1.335, allocations: 30.28 kB / 1.314 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006773/1.336, allocations: 0.5645 MB / 1.315 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.002e-06/1.336, allocations: 0 / 1.315 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001041/1.337, allocations: 274.1 kB / 1.315 GB, free: 6.547 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.0004655/1.337, allocations: 194.7 kB / 1.315 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001224/1.338, allocations: 0.8074 MB / 1.316 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/1.338, allocations: 3.312 kB / 1.316 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005244/1.339, allocations: 412.9 kB / 1.317 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003085/1.342, allocations: 0.5731 MB / 1.317 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002913/1.345, allocations: 2.312 MB / 1.319 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005148/1.345, allocations: 1.084 MB / 1.321 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002743/1.346, allocations: 74.14 kB / 1.321 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of SimCode: time 8.21e-07/1.346, allocations: 0 / 1.321 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of Templates: time 0.02898/1.375, allocations: 21.8 MB / 1.342 GB, free: 12.75 MB / 1.014 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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]