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.006563/0.006563, allocations: 100.8 kB / 15.87 MB, free: 6.328 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.001495/0.001495, allocations: 195.5 kB / 16.79 MB, free: 6.254 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.433/1.433, allocations: 222.9 MB / 240.5 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.698/2.698, allocations: 461.8 MB / 0.7348 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 62.66 kB / 0.899 GB, free: 37.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.315, allocations: 157.4 MB / 1.053 GB, free: 8.363 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.9008/1.216, allocations: 218.8 MB / 1.266 GB, free: 17.25 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01087/1.227, allocations: 5.794 MB / 1.272 GB, free: 17.16 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002394/1.229, allocations: 35.19 kB / 1.272 GB, free: 17.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00203/1.231, allocations: 0.5019 MB / 1.273 GB, free: 17.14 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005756/1.237, allocations: 1.739 MB / 1.274 GB, free: 17.06 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003743/1.241, allocations: 1.083 MB / 1.275 GB, free: 17.03 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007315/1.248, allocations: 4.095 MB / 1.279 GB, free: 17.02 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002001/1.25, allocations: 0.8847 MB / 1.28 GB, free: 16.91 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003351/1.254, allocations: 0.9145 MB / 1.281 GB, free: 16.9 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004304/1.258, allocations: 0.9726 MB / 1.282 GB, free: 16.89 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004084/1.258, allocations: 53.47 kB / 1.282 GB, free: 16.89 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005194/1.264, allocations: 1.638 MB / 1.284 GB, free: 16.88 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009869/1.265, allocations: 409.2 kB / 1.284 GB, free: 16.87 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001728/1.266, allocations: 0.5943 MB / 1.285 GB, free: 16.87 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003105/1.269, allocations: 1.591 MB / 1.286 GB, free: 16.77 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/1.27, allocations: 1.156 kB / 1.286 GB, free: 16.77 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.675e-06/1.27, allocations: 0 / 1.286 GB, free: 16.77 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.056e-05/1.27, allocations: 0 / 1.286 GB, free: 16.77 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.003456/1.273, allocations: 1.51 MB / 1.288 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/1.273, allocations: 9 kB / 1.288 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002311/1.275, allocations: 312.8 kB / 1.288 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001526/1.277, allocations: 0.8138 MB / 1.289 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.797e-05/1.277, allocations: 66.03 kB / 1.289 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001401/1.277, allocations: 89.45 kB / 1.289 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00181/1.279, allocations: 0.9194 MB / 1.29 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.632e-05/1.279, allocations: 0 / 1.29 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.174e-05/1.279, allocations: 41.03 kB / 1.29 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.86e-05/1.279, allocations: 33.75 kB / 1.29 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001518/1.281, allocations: 0.8449 MB / 1.291 GB, free: 15.52 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.005671/1.286, allocations: 3.524 MB / 1.294 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008118/1.287, allocations: 499.5 kB / 1.295 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004556/1.288, allocations: 299.1 kB / 1.295 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001816/1.288, allocations: 101 kB / 1.295 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/1.288, allocations: 41.84 kB / 1.295 GB, free: 14 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=47): time 3.026e-06/1.288, allocations: 5.031 kB / 1.295 GB, free: 14 MB / 0.9981 GB Notification: Performance of matching and sorting (n=49): time 0.004/1.292, allocations: 1.878 MB / 1.297 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.013e-05/1.292, allocations: 57.72 kB / 1.297 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/1.293, allocations: 0.8075 MB / 1.298 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.977e-05/1.293, allocations: 37.39 kB / 1.298 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003017/1.293, allocations: 473.2 kB / 1.298 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001485/1.294, allocations: 176.2 kB / 1.298 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001969/1.294, allocations: 120 kB / 1.299 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.509e-05/1.294, allocations: 329.1 kB / 1.299 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004394/1.294, allocations: 246.1 kB / 1.299 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005427/1.295, allocations: 383.7 kB / 1.299 GB, free: 12.32 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.003543/1.298, allocations: 1.539 MB / 1.301 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/1.298, allocations: 0 / 1.301 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001636/1.3, allocations: 0.7963 MB / 1.302 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/1.3, allocations: 6.656 kB / 1.302 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/1.3, allocations: 2.812 kB / 1.302 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001928/1.3, allocations: 66.11 kB / 1.302 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007018/1.301, allocations: 150.7 kB / 1.302 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002016/1.303, allocations: 2.883 MB / 1.305 GB, free: 9.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/1.304, allocations: 63.58 kB / 1.305 GB, free: 9.418 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.017e-05/1.304, allocations: 26.02 kB / 1.305 GB, free: 9.418 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 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.0006201/1.305, allocations: 313.5 kB / 1.305 GB, free: 9.297 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001833/1.305, allocations: 92.44 kB / 1.305 GB, free: 9.25 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001719/1.305, allocations: 102.5 kB / 1.305 GB, free: 9.23 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/1.305, allocations: 4.938 kB / 1.305 GB, free: 9.23 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/1.305, allocations: 7.938 kB / 1.305 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009563/1.306, allocations: 0.835 MB / 1.306 GB, free: 8.766 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002807/1.309, allocations: 1.781 MB / 1.308 GB, free: 8.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.145e-06/1.309, allocations: 3.219 kB / 1.308 GB, free: 8.34 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005972/1.31, allocations: 132 kB / 1.308 GB, free: 8.34 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.55e-05/1.31, allocations: 45.12 kB / 1.308 GB, free: 8.324 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.796e-05/1.31, allocations: 13.91 kB / 1.308 GB, free: 8.324 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009009/1.311, allocations: 1.478 MB / 1.31 GB, free: 7.062 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/1.311, allocations: 6.812 kB / 1.31 GB, free: 7.062 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001588/1.313, allocations: 1.08 MB / 1.311 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005254/1.313, allocations: 242.9 kB / 1.311 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/1.313, allocations: 12.44 kB / 1.311 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007731/1.314, allocations: 62.64 kB / 1.311 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/1.314, allocations: 40.3 kB / 1.311 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.994e-05/1.314, allocations: 29.44 kB / 1.311 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007695/1.315, allocations: 0.5654 MB / 1.312 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.72e-07/1.315, allocations: 4 kB / 1.312 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001042/1.316, allocations: 277.4 kB / 1.312 GB, free: 6.492 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.000477/1.317, allocations: 192.8 kB / 1.312 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001284/1.318, allocations: 0.7988 MB / 1.313 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.984e-06/1.318, allocations: 4.281 kB / 1.313 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005181/1.318, allocations: 405.1 kB / 1.313 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002715/1.321, allocations: 0.5678 MB / 1.314 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003026/1.324, allocations: 2.241 MB / 1.316 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004982/1.325, allocations: 1.083 MB / 1.317 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002539/1.325, allocations: 72.22 kB / 1.317 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of SimCode: time 1.213e-06/1.325, allocations: 0 / 1.317 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of Templates: time 0.0296/1.355, allocations: 21.94 MB / 1.338 GB, free: 13.42 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]