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.001187/0.001187, allocations: 106.8 kB / 16.41 MB, free: 6.508 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.001185/0.001185, allocations: 187 kB / 17.34 MB, free: 5.742 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.355/1.355, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.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.546/2.546, allocations: 437 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 63.91 kB / 1.019 GB, free: 9.359 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9208/0.9223, allocations: 151.6 MB / 1.167 GB, free: 3.957 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.2465/1.169, allocations: 221.1 MB / 1.383 GB, free: 6.035 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01202/1.181, allocations: 5.731 MB / 1.389 GB, free: 296 kB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001802/1.183, allocations: 39.75 kB / 1.389 GB, free: 256 kB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002032/1.185, allocations: 0.6021 MB / 1.389 GB, free: 15.64 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.005636/1.191, allocations: 1.914 MB / 1.391 GB, free: 13.72 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.003574/1.194, allocations: 1.189 MB / 1.392 GB, free: 12.54 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.004553/1.199, allocations: 2.957 MB / 1.395 GB, free: 9.574 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001853/1.201, allocations: 1.038 MB / 1.396 GB, free: 8.516 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002452/1.203, allocations: 1.113 MB / 1.397 GB, free: 7.398 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002624/1.206, allocations: 0.9525 MB / 1.398 GB, free: 6.457 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0004126/1.206, allocations: 108 kB / 1.399 GB, free: 6.352 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003476/1.21, allocations: 1.43 MB / 1.4 GB, free: 4.918 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0007728/1.21, allocations: 466.8 kB / 1.4 GB, free: 4.461 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001476/1.212, allocations: 0.6534 MB / 1.401 GB, free: 3.805 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.004238/1.216, allocations: 2.131 MB / 1.403 GB, free: 1.668 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/1.216, allocations: 0 / 1.403 GB, free: 1.668 MB / 1.123 GB Notification: Performance of FrontEnd: time 3.016e-06/1.216, allocations: 0 / 1.403 GB, free: 1.668 MB / 1.123 GB Notification: Performance of Transformations before backend: time 7.136e-05/1.216, allocations: 0 / 1.403 GB, free: 1.668 MB / 1.123 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.003409/1.22, allocations: 1.503 MB / 1.405 GB, free: 112 kB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/1.22, allocations: 12.92 kB / 1.405 GB, free: 100 kB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002229/1.222, allocations: 318.3 kB / 1.405 GB, free: 15.79 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001894/1.224, allocations: 0.863 MB / 1.406 GB, free: 14.88 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.488e-05/1.224, allocations: 70 kB / 1.406 GB, free: 14.81 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001537/1.224, allocations: 84 kB / 1.406 GB, free: 14.73 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001687/1.226, allocations: 0.9053 MB / 1.407 GB, free: 13.82 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.504e-05/1.226, allocations: 0 / 1.407 GB, free: 13.82 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/1.226, allocations: 43.98 kB / 1.407 GB, free: 13.78 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.612e-05/1.226, allocations: 33.94 kB / 1.407 GB, free: 13.74 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001529/1.228, allocations: 0.8431 MB / 1.408 GB, free: 12.9 MB / 1.139 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.006374/1.234, allocations: 3.505 MB / 1.411 GB, free: 9.168 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008319/1.235, allocations: 488.4 kB / 1.412 GB, free: 8.684 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004774/1.235, allocations: 298 kB / 1.412 GB, free: 8.391 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002067/1.236, allocations: 105.5 kB / 1.412 GB, free: 8.27 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.09e-05/1.236, allocations: 50.92 kB / 1.412 GB, free: 8.211 MB / 1.139 GB Notification: Performance of pre-optimization done (n=47): time 2.375e-06/1.236, allocations: 0 / 1.412 GB, free: 8.211 MB / 1.139 GB Notification: Performance of matching and sorting (n=49): time 0.003955/1.24, allocations: 1.872 MB / 1.414 GB, free: 6.242 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.183e-05/1.24, allocations: 59.84 kB / 1.414 GB, free: 6.172 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001114/1.241, allocations: 0.8058 MB / 1.415 GB, free: 5.359 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 6.924e-05/1.241, allocations: 37.7 kB / 1.415 GB, free: 5.316 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004079/1.241, allocations: 479.2 kB / 1.415 GB, free: 4.844 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001817/1.241, allocations: 173.6 kB / 1.415 GB, free: 4.672 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002109/1.242, allocations: 118.2 kB / 1.415 GB, free: 4.551 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001376/1.242, allocations: 330 kB / 1.416 GB, free: 4.223 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004412/1.242, allocations: 245.2 kB / 1.416 GB, free: 3.98 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005601/1.243, allocations: 380.7 kB / 1.416 GB, free: 3.562 MB / 1.139 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.00368/1.247, allocations: 1.543 MB / 1.418 GB, free: 1.961 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-06/1.247, allocations: 4 kB / 1.418 GB, free: 1.957 MB / 1.139 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001458/1.248, allocations: 0.7921 MB / 1.419 GB, free: 1.148 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/1.248, allocations: 8 kB / 1.419 GB, free: 1.141 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/1.248, allocations: 4 kB / 1.419 GB, free: 1.137 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001872/1.248, allocations: 74.08 kB / 1.419 GB, free: 1.059 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006797/1.249, allocations: 151.8 kB / 1.419 GB, free: 0.9102 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00279/1.252, allocations: 3.129 MB / 1.422 GB, free: 13.5 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009301/1.253, allocations: 30.67 kB / 1.422 GB, free: 13.47 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.708e-05/1.253, allocations: 20 kB / 1.422 GB, free: 13.45 MB / 1.154 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.0006174/1.253, allocations: 309.5 kB / 1.422 GB, free: 13.14 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002427/1.254, allocations: 94.88 kB / 1.422 GB, free: 13.05 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002405/1.254, allocations: 100.9 kB / 1.422 GB, free: 12.94 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.573e-06/1.254, allocations: 11.98 kB / 1.422 GB, free: 12.93 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/1.254, allocations: 0 / 1.422 GB, free: 12.93 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001161/1.255, allocations: 0.8387 MB / 1.423 GB, free: 12 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003463/1.259, allocations: 1.788 MB / 1.425 GB, free: 10.11 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.245e-06/1.259, allocations: 4 kB / 1.425 GB, free: 10.11 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006356/1.259, allocations: 123.8 kB / 1.425 GB, free: 9.988 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001181/1.259, allocations: 40.83 kB / 1.425 GB, free: 9.945 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.332e-05/1.259, allocations: 16.34 kB / 1.425 GB, free: 9.93 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001321/1.261, allocations: 1.602 MB / 1.427 GB, free: 8.191 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/1.261, allocations: 0 / 1.427 GB, free: 8.191 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001599/1.262, allocations: 1.069 MB / 1.428 GB, free: 7.066 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005822/1.263, allocations: 236.1 kB / 1.428 GB, free: 6.816 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001656/1.263, allocations: 16 kB / 1.428 GB, free: 6.801 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007564/1.264, allocations: 33.94 kB / 1.428 GB, free: 6.77 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/1.264, allocations: 43.81 kB / 1.428 GB, free: 6.727 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.478e-05/1.264, allocations: 27.98 kB / 1.428 GB, free: 6.699 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0008544/1.265, allocations: 0.5693 MB / 1.429 GB, free: 6.137 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.412e-06/1.265, allocations: 0 / 1.429 GB, free: 6.137 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001042/1.266, allocations: 271.9 kB / 1.429 GB, free: 5.871 MB / 1.154 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.0005095/1.267, allocations: 196 kB / 1.429 GB, free: 5.676 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0014/1.268, allocations: 0.8046 MB / 1.43 GB, free: 4.848 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/1.268, allocations: 0 / 1.43 GB, free: 4.848 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0005786/1.269, allocations: 410.3 kB / 1.43 GB, free: 4.434 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002645/1.271, allocations: 0.6055 MB / 1.431 GB, free: 3.844 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003082/1.274, allocations: 1.854 MB / 1.433 GB, free: 1.906 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007707/1.275, allocations: 1.08 MB / 1.434 GB, free: 0.7969 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002398/1.275, allocations: 79.42 kB / 1.434 GB, free: 0.7188 MB / 1.154 GB Notification: Performance of SimCode: time 6.01e-07/1.275, allocations: 0 / 1.434 GB, free: 0.7188 MB / 1.154 GB Notification: Performance of Templates: time 0.03052/1.306, allocations: 22.01 MB / 1.455 GB, free: 10.83 MB / 1.186 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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]