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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 211.2 kB / 23 MB, free: 4.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.365/1.365, allocations: 230.6 MB / 256.8 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.012/3.012, allocations: 0.505 GB / 0.8108 GB, free: 22.07 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.Xi.1.|volSte.Xi.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 76.47 kB / 1.178 GB, free: 16.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.2973, allocations: 180.2 MB / 1.354 GB, free: 7.934 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.2363/0.5336, allocations: 225.6 MB / 1.574 GB, free: 5.516 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.009074/0.5427, allocations: 5.774 MB / 1.58 GB, free: 15.73 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009129/0.5436, allocations: 55.56 kB / 1.58 GB, free: 15.67 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.001447/0.5451, allocations: 0.6098 MB / 1.581 GB, free: 15.06 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.004351/0.5494, allocations: 1.953 MB / 1.583 GB, free: 13.1 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.002873/0.5523, allocations: 1.245 MB / 1.584 GB, free: 11.86 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.003811/0.5561, allocations: 3.038 MB / 1.587 GB, free: 8.82 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001111/0.5572, allocations: 0.7659 MB / 1.588 GB, free: 8.031 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002289/0.5595, allocations: 1.339 MB / 1.589 GB, free: 6.688 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002162/0.5617, allocations: 1.005 MB / 1.59 GB, free: 5.691 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0001808/0.5618, allocations: 108 kB / 1.59 GB, free: 5.586 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002799/0.5646, allocations: 1.528 MB / 1.591 GB, free: 4.055 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.0004865/0.5651, allocations: 474.6 kB / 1.592 GB, free: 3.59 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.00076/0.5659, allocations: 0.6534 MB / 1.592 GB, free: 2.934 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.002853/0.5687, allocations: 2.145 MB / 1.595 GB, free: 0.7812 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.5687, allocations: 0 / 1.595 GB, free: 0.7812 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.392e-06/0.5687, allocations: 0 / 1.595 GB, free: 0.7812 MB / 1.279 GB Notification: Performance of Transformations before backend: time 1.583e-05/0.5688, allocations: 0 / 1.595 GB, free: 0.7812 MB / 1.279 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.002423/0.5712, allocations: 1.471 MB / 1.596 GB, free: 15.27 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.5712, allocations: 8.031 kB / 1.596 GB, free: 15.27 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001854/0.5731, allocations: 326.9 kB / 1.596 GB, free: 14.95 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001472/0.5745, allocations: 0.7915 MB / 1.597 GB, free: 14.13 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.546e-05/0.5746, allocations: 66 kB / 1.597 GB, free: 14.07 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001223/0.5747, allocations: 84 kB / 1.597 GB, free: 13.98 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001533/0.5763, allocations: 0.9131 MB / 1.598 GB, free: 13.06 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/0.5763, allocations: 0 / 1.598 GB, free: 13.06 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.538e-05/0.5764, allocations: 40 kB / 1.598 GB, free: 13.02 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.064e-05/0.5764, allocations: 33.94 kB / 1.598 GB, free: 12.99 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001387/0.5778, allocations: 0.8354 MB / 1.599 GB, free: 12.16 MB / 1.295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005474/0.5833, allocations: 3.614 MB / 1.603 GB, free: 8.281 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007794/0.584, allocations: 473.1 kB / 1.603 GB, free: 7.812 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004406/0.5845, allocations: 278 kB / 1.603 GB, free: 7.539 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001548/0.5846, allocations: 28.42 kB / 1.603 GB, free: 7.512 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.973e-05/0.5847, allocations: 46.88 kB / 1.603 GB, free: 7.457 MB / 1.295 GB Notification: Performance of pre-optimization done (n=47): time 3.868e-06/0.5847, allocations: 3.984 kB / 1.603 GB, free: 7.453 MB / 1.295 GB Notification: Performance of matching and sorting (n=49): time 0.003416/0.5881, allocations: 1.667 MB / 1.605 GB, free: 5.742 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.811e-05/0.5881, allocations: 55.84 kB / 1.605 GB, free: 5.676 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009844/0.5891, allocations: 0.8097 MB / 1.606 GB, free: 4.855 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 5.24e-05/0.5892, allocations: 37.7 kB / 1.606 GB, free: 4.812 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003784/0.5896, allocations: 488.2 kB / 1.606 GB, free: 4.332 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001688/0.5897, allocations: 178.5 kB / 1.607 GB, free: 4.156 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001973/0.5899, allocations: 122.2 kB / 1.607 GB, free: 4.031 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.5901, allocations: 326 kB / 1.607 GB, free: 3.707 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004223/0.5905, allocations: 253.1 kB / 1.607 GB, free: 3.461 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005412/0.591, allocations: 380.6 kB / 1.608 GB, free: 3.039 MB / 1.295 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.003532/0.5946, allocations: 1.462 MB / 1.609 GB, free: 1.531 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.5946, allocations: 0 / 1.609 GB, free: 1.531 MB / 1.295 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001339/0.5959, allocations: 0.7955 MB / 1.61 GB, free: 0.7227 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.5959, allocations: 8 kB / 1.61 GB, free: 0.7148 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.5959, allocations: 4 kB / 1.61 GB, free: 0.7109 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001594/0.5961, allocations: 73.61 kB / 1.61 GB, free: 0.6328 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006449/0.5967, allocations: 147.8 kB / 1.61 GB, free: 500 kB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5893/1.186, allocations: 2.907 MB / 1.613 GB, free: 256.2 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009069/1.187, allocations: 31.09 kB / 1.613 GB, free: 256.2 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.311e-05/1.187, allocations: 25.2 kB / 1.613 GB, free: 256.2 MB / 1.295 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.0004711/1.187, allocations: 301.6 kB / 1.613 GB, free: 256.1 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001463/1.188, allocations: 99.16 kB / 1.613 GB, free: 256.1 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001689/1.188, allocations: 97.75 kB / 1.613 GB, free: 256.1 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/1.188, allocations: 10.25 kB / 1.613 GB, free: 256.1 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/1.188, allocations: 0.6094 kB / 1.613 GB, free: 256.1 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001014/1.189, allocations: 0.8402 MB / 1.614 GB, free: 255.6 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002976/1.192, allocations: 1.759 MB / 1.616 GB, free: 255.2 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/1.192, allocations: 3.438 kB / 1.616 GB, free: 255.2 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006195/1.192, allocations: 133.5 kB / 1.616 GB, free: 255.2 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001039/1.193, allocations: 36.75 kB / 1.616 GB, free: 255.2 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.702e-05/1.193, allocations: 19.02 kB / 1.616 GB, free: 255.2 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009862/1.194, allocations: 1.494 MB / 1.618 GB, free: 253.8 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.259e-06/1.194, allocations: 8.531 kB / 1.618 GB, free: 253.8 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001501/1.195, allocations: 1.069 MB / 1.619 GB, free: 253.3 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004083/1.195, allocations: 164.9 kB / 1.619 GB, free: 253.2 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/1.196, allocations: 12.22 kB / 1.619 GB, free: 253.2 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006252/1.196, allocations: 31.38 kB / 1.619 GB, free: 253.2 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/1.196, allocations: 51.2 kB / 1.619 GB, free: 253.2 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.271e-05/1.196, allocations: 28.72 kB / 1.619 GB, free: 253.2 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0007848/1.197, allocations: 0.5663 MB / 1.619 GB, free: 253 MB / 1.295 GB Notification: Performance of sort global known variables: time 8e-08/1.197, allocations: 0 / 1.619 GB, free: 253 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.0009796/1.198, allocations: 275 kB / 1.62 GB, free: 252.9 MB / 1.295 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.0003192/1.198, allocations: 170.6 kB / 1.62 GB, free: 252.8 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.001414/1.2, allocations: 0.7798 MB / 1.621 GB, free: 252.5 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 6.712e-06/1.2, allocations: 5.344 kB / 1.621 GB, free: 252.5 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0006237/1.2, allocations: 397.1 kB / 1.621 GB, free: 252.2 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00261/1.203, allocations: 0.6075 MB / 1.622 GB, free: 252.1 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002916/1.206, allocations: 1.894 MB / 1.623 GB, free: 251.1 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005783/1.207, allocations: 1.087 MB / 1.624 GB, free: 250.4 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000227/1.207, allocations: 75.53 kB / 1.625 GB, free: 250.4 MB / 1.295 GB Notification: Performance of SimCode: time 9.02e-07/1.207, allocations: 0 / 1.625 GB, free: 250.4 MB / 1.295 GB Notification: Performance of Templates: time 0.03391/1.241, allocations: 22.14 MB / 1.646 GB, free: 243.3 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] "" 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] [Calling sys.exit(0), Time elapsed: 14.341209110018099]