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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.005261/0.005261, allocations: 101.7 kB / 15.73 MB, free: 6.477 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.001159/0.001159, allocations: 192.4 kB / 16.67 MB, free: 6.391 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.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.498/2.498, allocations: 390.2 MB / 0.6648 GB, free: 260 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 75.41 kB / 0.9509 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3106, allocations: 140.4 MB / 1.088 GB, free: 1.523 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.9684/1.279, allocations: 221.1 MB / 1.304 GB, free: 3.762 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01002/1.289, allocations: 5.736 MB / 1.309 GB, free: 3.66 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002243/1.291, allocations: 43.02 kB / 1.309 GB, free: 3.66 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001891/1.293, allocations: 0.5792 MB / 1.31 GB, free: 3.648 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.006855/1.3, allocations: 1.842 MB / 1.312 GB, free: 3.57 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004113/1.304, allocations: 1.192 MB / 1.313 GB, free: 3.531 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.006333/1.311, allocations: 2.961 MB / 1.316 GB, free: 3.523 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001855/1.313, allocations: 1.025 MB / 1.317 GB, free: 3.414 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002835/1.315, allocations: 1.067 MB / 1.318 GB, free: 3.41 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002665/1.318, allocations: 0.9374 MB / 1.319 GB, free: 3.344 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002609/1.318, allocations: 107.8 kB / 1.319 GB, free: 3.344 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004949/1.323, allocations: 1.433 MB / 1.32 GB, free: 3.332 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0006446/1.324, allocations: 452.9 kB / 1.321 GB, free: 3.289 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001189/1.325, allocations: 0.6582 MB / 1.321 GB, free: 3.117 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004161/1.329, allocations: 2.13 MB / 1.324 GB, free: 2.867 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.822e-06/1.329, allocations: 1.062 kB / 1.324 GB, free: 2.867 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.573e-06/1.329, allocations: 1.094 kB / 1.324 GB, free: 2.867 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.088e-05/1.329, allocations: 0 / 1.324 GB, free: 2.867 MB / 1.014 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.002702/1.332, allocations: 1.507 MB / 1.325 GB, free: 2.09 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/1.332, allocations: 8.5 kB / 1.325 GB, free: 2.09 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002094/1.334, allocations: 316.1 kB / 1.325 GB, free: 2.031 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001567/1.336, allocations: 0.8598 MB / 1.326 GB, free: 1.703 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.367e-05/1.336, allocations: 64.91 kB / 1.326 GB, free: 1.699 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001779/1.336, allocations: 87.08 kB / 1.326 GB, free: 1.699 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001824/1.338, allocations: 0.9109 MB / 1.327 GB, free: 1.641 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.815e-05/1.338, allocations: 0 / 1.327 GB, free: 1.641 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-05/1.338, allocations: 36.12 kB / 1.327 GB, free: 1.641 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.445e-05/1.338, allocations: 35.77 kB / 1.327 GB, free: 1.641 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001484/1.34, allocations: 0.8329 MB / 1.328 GB, free: 1.633 MB / 1.014 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.005328/1.345, allocations: 3.516 MB / 1.331 GB, free: 320 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008087/1.346, allocations: 497.7 kB / 1.332 GB, free: 292 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004488/1.346, allocations: 297.2 kB / 1.332 GB, free: 284 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001959/1.346, allocations: 104.8 kB / 1.332 GB, free: 188 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/1.347, allocations: 49.3 kB / 1.332 GB, free: 148 kB / 1.014 GB Notification: Performance of pre-optimization done (n=47): time 2.284e-06/1.347, allocations: 0.8125 kB / 1.332 GB, free: 148 kB / 1.014 GB Notification: Performance of matching and sorting (n=49): time 0.003928/1.35, allocations: 1.866 MB / 1.334 GB, free: 15.48 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.84e-05/1.351, allocations: 64.03 kB / 1.334 GB, free: 15.41 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/1.352, allocations: 0.8099 MB / 1.335 GB, free: 15.28 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.452e-05/1.352, allocations: 40.58 kB / 1.335 GB, free: 15.25 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003165/1.352, allocations: 473.9 kB / 1.336 GB, free: 15.04 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.00016/1.352, allocations: 172.5 kB / 1.336 GB, free: 14.93 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001771/1.352, allocations: 121.6 kB / 1.336 GB, free: 14.9 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001247/1.352, allocations: 330.8 kB / 1.336 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003938/1.353, allocations: 245.5 kB / 1.336 GB, free: 14.6 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005045/1.353, allocations: 381.3 kB / 1.337 GB, free: 14.46 MB / 1.029 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.003486/1.357, allocations: 1.541 MB / 1.338 GB, free: 14.23 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/1.357, allocations: 2.875 kB / 1.338 GB, free: 14.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001328/1.358, allocations: 0.7887 MB / 1.339 GB, free: 14.08 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/1.358, allocations: 7.953 kB / 1.339 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/1.358, allocations: 10.19 kB / 1.339 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001669/1.358, allocations: 71.94 kB / 1.339 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006765/1.359, allocations: 153.8 kB / 1.339 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002483/1.362, allocations: 3.12 MB / 1.342 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00127/1.363, allocations: 31.86 kB / 1.342 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.934e-05/1.363, allocations: 20.25 kB / 1.342 GB, free: 11.1 MB / 1.029 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.0007533/1.364, allocations: 302.6 kB / 1.343 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000186/1.364, allocations: 92.16 kB / 1.343 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002586/1.364, allocations: 102.4 kB / 1.343 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/1.364, allocations: 5.906 kB / 1.343 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/1.364, allocations: 4.844 kB / 1.343 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001118/1.365, allocations: 0.8379 MB / 1.344 GB, free: 10.19 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003434/1.369, allocations: 1.792 MB / 1.345 GB, free: 9.305 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/1.369, allocations: 4.25 kB / 1.345 GB, free: 9.305 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006078/1.369, allocations: 132.2 kB / 1.346 GB, free: 9.301 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001119/1.37, allocations: 40.12 kB / 1.346 GB, free: 9.285 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.89e-05/1.37, allocations: 20.7 kB / 1.346 GB, free: 9.273 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001285/1.371, allocations: 1.593 MB / 1.347 GB, free: 7.812 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.371, allocations: 3.031 kB / 1.347 GB, free: 7.812 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001669/1.373, allocations: 1.07 MB / 1.348 GB, free: 7.23 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006399/1.373, allocations: 237 kB / 1.348 GB, free: 7.055 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002267/1.373, allocations: 17.83 kB / 1.348 GB, free: 7.047 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008904/1.374, allocations: 33.62 kB / 1.348 GB, free: 7.039 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/1.374, allocations: 38.62 kB / 1.349 GB, free: 7.031 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.538e-05/1.375, allocations: 34.81 kB / 1.349 GB, free: 7.023 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0008549/1.375, allocations: 0.5597 MB / 1.349 GB, free: 6.789 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/1.375, allocations: 0 / 1.349 GB, free: 6.789 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001209/1.377, allocations: 276.4 kB / 1.349 GB, free: 6.77 MB / 1.029 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.000551/1.377, allocations: 200.4 kB / 1.35 GB, free: 6.645 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001492/1.379, allocations: 0.797 MB / 1.35 GB, free: 6.254 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/1.379, allocations: 4.75 kB / 1.35 GB, free: 6.25 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005875/1.379, allocations: 425.9 kB / 1.351 GB, free: 6.039 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003082/1.382, allocations: 0.603 MB / 1.351 GB, free: 5.863 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003345/1.386, allocations: 1.792 MB / 1.353 GB, free: 4.867 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008229/1.387, allocations: 1.089 MB / 1.354 GB, free: 4.117 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0009744/1.388, allocations: 217.9 kB / 1.354 GB, free: 4.062 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002433/1.388, allocations: 69.09 kB / 1.354 GB, free: 4.055 MB / 1.029 GB Notification: Performance of SimCode: time 7.21e-07/1.388, allocations: 0 / 1.354 GB, free: 4.055 MB / 1.029 GB Notification: Performance of Templates: time 0.03605/1.424, allocations: 20.19 MB / 1.374 GB, free: 13.54 MB / 1.045 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