Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.005001/0.005001, allocations: 97.8 kB / 15.73 MB, free: 5.996 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.00111/0.00111, allocations: 187 kB / 16.67 MB, free: 5.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.366/1.366, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.639/2.639, allocations: 437 MB / 0.7105 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 63.89 kB / 1.019 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.362/0.3634, allocations: 151.6 MB / 1.167 GB, free: 6.871 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.8908/1.254, allocations: 221.1 MB / 1.383 GB, free: 12.2 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01034/1.265, allocations: 5.716 MB / 1.388 GB, free: 7.535 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001642/1.266, allocations: 41.88 kB / 1.388 GB, free: 7.52 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001631/1.268, allocations: 0.5808 MB / 1.389 GB, free: 7.035 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.005251/1.273, allocations: 1.843 MB / 1.391 GB, free: 5.594 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.003099/1.276, allocations: 1.196 MB / 1.392 GB, free: 4.684 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.003778/1.28, allocations: 2.948 MB / 1.395 GB, free: 3 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001633/1.282, allocations: 1.028 MB / 1.396 GB, free: 2.363 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002435/1.284, allocations: 1.064 MB / 1.397 GB, free: 1.742 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002414/1.287, allocations: 0.9409 MB / 1.398 GB, free: 1.199 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002301/1.287, allocations: 112.3 kB / 1.398 GB, free: 1.195 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003729/1.291, allocations: 1.43 MB / 1.399 GB, free: 440 kB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0004822/1.291, allocations: 471.4 kB / 1.4 GB, free: 116 kB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0008119/1.292, allocations: 0.6456 MB / 1.4 GB, free: 15.7 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003576/1.295, allocations: 2.139 MB / 1.402 GB, free: 14.31 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/1.295, allocations: 2.719 kB / 1.402 GB, free: 14.31 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.663e-06/1.295, allocations: 0 / 1.402 GB, free: 14.31 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.081e-05/1.296, allocations: 0 / 1.402 GB, free: 14.31 MB / 1.076 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.002549/1.298, allocations: 1.536 MB / 1.404 GB, free: 13.14 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/1.298, allocations: 9.844 kB / 1.404 GB, free: 13.14 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001961/1.3, allocations: 328 kB / 1.404 GB, free: 12.99 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/1.301, allocations: 0.8717 MB / 1.405 GB, free: 12.32 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.467e-05/1.301, allocations: 65.12 kB / 1.405 GB, free: 12.29 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/1.302, allocations: 79.47 kB / 1.405 GB, free: 12.27 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001505/1.303, allocations: 0.9123 MB / 1.406 GB, free: 11.75 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.626e-05/1.303, allocations: 3.984 kB / 1.406 GB, free: 11.75 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-05/1.303, allocations: 42.38 kB / 1.406 GB, free: 11.72 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-05/1.303, allocations: 33.25 kB / 1.406 GB, free: 11.71 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001347/1.305, allocations: 0.8374 MB / 1.407 GB, free: 11.3 MB / 1.076 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.005102/1.31, allocations: 3.519 MB / 1.41 GB, free: 8.523 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007472/1.31, allocations: 497.1 kB / 1.411 GB, free: 8.262 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004352/1.311, allocations: 298.1 kB / 1.411 GB, free: 8.117 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001891/1.311, allocations: 107 kB / 1.411 GB, free: 8.012 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/1.311, allocations: 40.09 kB / 1.411 GB, free: 7.969 MB / 1.076 GB Notification: Performance of pre-optimization done (n=47): time 2.484e-06/1.311, allocations: 0 / 1.411 GB, free: 7.969 MB / 1.076 GB Notification: Performance of matching and sorting (n=49): time 0.003582/1.315, allocations: 1.9 MB / 1.413 GB, free: 6.695 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/1.315, allocations: 61.91 kB / 1.413 GB, free: 6.629 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008884/1.316, allocations: 0.809 MB / 1.414 GB, free: 6.176 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.839e-05/1.316, allocations: 39.14 kB / 1.414 GB, free: 6.137 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003247/1.316, allocations: 486.2 kB / 1.414 GB, free: 5.715 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001525/1.316, allocations: 181.1 kB / 1.415 GB, free: 5.559 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001865/1.316, allocations: 118 kB / 1.415 GB, free: 5.484 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001078/1.317, allocations: 329 kB / 1.415 GB, free: 5.164 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00042/1.317, allocations: 249 kB / 1.415 GB, free: 5.039 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005325/1.318, allocations: 377 kB / 1.416 GB, free: 4.77 MB / 1.076 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.003688/1.321, allocations: 1.542 MB / 1.417 GB, free: 3.531 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/1.321, allocations: 4 kB / 1.417 GB, free: 3.527 MB / 1.076 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001302/1.323, allocations: 0.793 MB / 1.418 GB, free: 2.719 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/1.323, allocations: 9.719 kB / 1.418 GB, free: 2.711 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/1.323, allocations: 4 kB / 1.418 GB, free: 2.707 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001837/1.323, allocations: 73.61 kB / 1.418 GB, free: 2.629 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006513/1.323, allocations: 151.8 kB / 1.418 GB, free: 2.48 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002593/1.326, allocations: 3.121 MB / 1.421 GB, free: 15.08 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008082/1.327, allocations: 25.5 kB / 1.421 GB, free: 15.06 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-05/1.327, allocations: 27.94 kB / 1.421 GB, free: 15.03 MB / 1.092 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.0004719/1.327, allocations: 313.6 kB / 1.421 GB, free: 14.71 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001488/1.328, allocations: 95.44 kB / 1.422 GB, free: 14.62 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000184/1.328, allocations: 100.7 kB / 1.422 GB, free: 14.52 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/1.328, allocations: 4 kB / 1.422 GB, free: 14.51 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.699e-06/1.328, allocations: 0 / 1.422 GB, free: 14.51 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001116/1.329, allocations: 0.8349 MB / 1.422 GB, free: 13.59 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002694/1.332, allocations: 1.799 MB / 1.424 GB, free: 11.69 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/1.332, allocations: 7.938 kB / 1.424 GB, free: 11.68 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005832/1.332, allocations: 124.3 kB / 1.424 GB, free: 11.56 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.289e-05/1.332, allocations: 44.77 kB / 1.424 GB, free: 11.52 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.638e-05/1.332, allocations: 16 kB / 1.424 GB, free: 11.5 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001244/1.334, allocations: 1.594 MB / 1.426 GB, free: 9.766 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/1.334, allocations: 11.88 kB / 1.426 GB, free: 9.754 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001486/1.335, allocations: 1.066 MB / 1.427 GB, free: 8.629 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003471/1.335, allocations: 236.5 kB / 1.427 GB, free: 8.379 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/1.336, allocations: 16 kB / 1.427 GB, free: 8.363 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006664/1.336, allocations: 41.69 kB / 1.427 GB, free: 8.324 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/1.336, allocations: 47.95 kB / 1.427 GB, free: 8.277 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-05/1.336, allocations: 27.98 kB / 1.427 GB, free: 8.25 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0007624/1.337, allocations: 0.5615 MB / 1.428 GB, free: 7.695 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.2e-07/1.337, allocations: 0 / 1.428 GB, free: 7.695 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0008699/1.338, allocations: 272 kB / 1.428 GB, free: 7.43 MB / 1.092 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.0004439/1.339, allocations: 186.9 kB / 1.428 GB, free: 7.242 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001318/1.34, allocations: 0.8115 MB / 1.429 GB, free: 6.406 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/1.34, allocations: 4 kB / 1.429 GB, free: 6.402 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0006038/1.341, allocations: 399.7 kB / 1.43 GB, free: 6 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002688/1.343, allocations: 0.6054 MB / 1.43 GB, free: 5.41 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003399/1.347, allocations: 1.831 MB / 1.432 GB, free: 3.504 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007531/1.347, allocations: 1.099 MB / 1.433 GB, free: 2.375 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0007564/1.348, allocations: 219.7 kB / 1.433 GB, free: 2.156 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001871/1.348, allocations: 63.44 kB / 1.433 GB, free: 2.094 MB / 1.092 GB Notification: Performance of SimCode: time 9.92e-07/1.348, allocations: 4 kB / 1.433 GB, free: 2.09 MB / 1.092 GB Notification: Performance of Templates: time 0.03369/1.382, allocations: 20.2 MB / 1.453 GB, free: 14.19 MB / 1.123 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches