Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001902/0.001902, allocations: 108.2 kB / 16.46 MB, free: 6.512 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.002299/0.002299, allocations: 208.3 kB / 19.43 MB, free: 3.648 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.691/1.691, allocations: 230.6 MB / 252.8 MB, free: 8.953 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.471/3.471, allocations: 0.49 GB / 0.7916 GB, free: 33.24 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.003277/0.003277, allocations: 63.75 kB / 1.149 GB, free: 26.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4992/0.5025, allocations: 176.1 MB / 1.321 GB, free: 2.773 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.3129/0.8154, allocations: 225 MB / 1.541 GB, free: 0.9219 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.01421/0.8296, allocations: 5.76 MB / 1.547 GB, free: 11.15 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00222/0.8318, allocations: 55.56 kB / 1.547 GB, free: 11.09 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.002091/0.8339, allocations: 0.6058 MB / 1.547 GB, free: 10.48 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.006378/0.8403, allocations: 1.921 MB / 1.549 GB, free: 8.555 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.00433/0.8446, allocations: 1.201 MB / 1.55 GB, free: 7.359 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.005796/0.8504, allocations: 2.954 MB / 1.553 GB, free: 4.398 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002039/0.8524, allocations: 0.8588 MB / 1.554 GB, free: 3.52 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003713/0.8562, allocations: 1.331 MB / 1.555 GB, free: 2.184 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003372/0.8595, allocations: 0.9903 MB / 1.556 GB, free: 1.203 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0005504/0.8601, allocations: 104 kB / 1.556 GB, free: 1.102 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004686/0.8648, allocations: 1.504 MB / 1.558 GB, free: 15.59 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.001255/0.866, allocations: 474.5 kB / 1.558 GB, free: 15.13 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.002586/0.8686, allocations: 0.6573 MB / 1.559 GB, free: 14.47 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.007112/0.8757, allocations: 2.137 MB / 1.561 GB, free: 12.32 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 1.157e-05/0.8757, allocations: 4 kB / 1.561 GB, free: 12.32 MB / 1.264 GB Notification: Performance of FrontEnd: time 2.675e-06/0.8757, allocations: 4 kB / 1.561 GB, free: 12.32 MB / 1.264 GB Notification: Performance of Transformations before backend: time 0.0001094/0.8758, allocations: 0 / 1.561 GB, free: 12.32 MB / 1.264 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.005285/0.8811, allocations: 1.537 MB / 1.563 GB, free: 10.72 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 6.941e-05/0.8812, allocations: 11.98 kB / 1.563 GB, free: 10.71 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00267/0.8839, allocations: 326.9 kB / 1.563 GB, free: 10.39 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002356/0.8862, allocations: 0.8637 MB / 1.564 GB, free: 9.484 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.446e-05/0.8863, allocations: 66 kB / 1.564 GB, free: 9.422 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002385/0.8865, allocations: 87.94 kB / 1.564 GB, free: 9.336 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002373/0.8889, allocations: 0.917 MB / 1.565 GB, free: 8.41 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.793e-05/0.889, allocations: 0 / 1.565 GB, free: 8.41 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001226/0.8891, allocations: 35.98 kB / 1.565 GB, free: 8.375 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.938e-05/0.8891, allocations: 37.94 kB / 1.565 GB, free: 8.336 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00184/0.891, allocations: 0.8353 MB / 1.566 GB, free: 7.504 MB / 1.264 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008138/0.8991, allocations: 3.68 MB / 1.569 GB, free: 3.566 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001098/0.9002, allocations: 472.4 kB / 1.57 GB, free: 3.094 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005273/0.9007, allocations: 274 kB / 1.57 GB, free: 2.824 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003322/0.9011, allocations: 105.5 kB / 1.57 GB, free: 2.699 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.014e-05/0.9011, allocations: 46.94 kB / 1.57 GB, free: 2.645 MB / 1.264 GB Notification: Performance of pre-optimization done (n=47): time 3.096e-06/0.9011, allocations: 0 / 1.57 GB, free: 2.645 MB / 1.264 GB Notification: Performance of matching and sorting (n=49): time 0.005067/0.9062, allocations: 1.889 MB / 1.572 GB, free: 0.6641 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.58e-05/0.9063, allocations: 55.84 kB / 1.572 GB, free: 0.5977 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001445/0.9077, allocations: 0.8059 MB / 1.573 GB, free: 15.78 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0001004/0.9078, allocations: 37.7 kB / 1.573 GB, free: 15.74 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005165/0.9083, allocations: 488.2 kB / 1.573 GB, free: 15.26 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.000278/0.9086, allocations: 182.4 kB / 1.573 GB, free: 15.08 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002558/0.9088, allocations: 126.2 kB / 1.574 GB, free: 14.95 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001911/0.909, allocations: 326 kB / 1.574 GB, free: 14.62 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005018/0.9095, allocations: 245.2 kB / 1.574 GB, free: 14.39 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007607/0.9103, allocations: 380.7 kB / 1.575 GB, free: 13.96 MB / 1.279 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.00441/0.9147, allocations: 1.54 MB / 1.576 GB, free: 12.36 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.9147, allocations: 0 / 1.576 GB, free: 12.36 MB / 1.279 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001839/0.9166, allocations: 0.8007 MB / 1.577 GB, free: 11.55 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 3.218e-05/0.9166, allocations: 8 kB / 1.577 GB, free: 11.54 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.968e-05/0.9166, allocations: 4 kB / 1.577 GB, free: 11.54 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002372/0.9168, allocations: 69.67 kB / 1.577 GB, free: 11.46 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007464/0.9176, allocations: 152 kB / 1.577 GB, free: 11.31 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003581/0.9212, allocations: 3.121 MB / 1.58 GB, free: 7.91 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/0.9223, allocations: 28.14 kB / 1.58 GB, free: 7.883 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-05/0.9223, allocations: 20 kB / 1.58 GB, free: 7.863 MB / 1.279 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.0007472/0.9231, allocations: 305.6 kB / 1.58 GB, free: 7.555 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003493/0.9234, allocations: 103.4 kB / 1.581 GB, free: 7.453 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003098/0.9237, allocations: 100.7 kB / 1.581 GB, free: 7.352 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.9237, allocations: 4 kB / 1.581 GB, free: 7.348 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/0.9238, allocations: 0 / 1.581 GB, free: 7.348 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001399/0.9252, allocations: 0.8387 MB / 1.581 GB, free: 6.418 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003882/0.929, allocations: 1.783 MB / 1.583 GB, free: 4.535 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.828e-06/0.929, allocations: 4 kB / 1.583 GB, free: 4.531 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006397/0.9297, allocations: 131.8 kB / 1.583 GB, free: 4.402 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001213/0.9298, allocations: 40.78 kB / 1.583 GB, free: 4.359 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.617e-05/0.9299, allocations: 19.98 kB / 1.583 GB, free: 4.34 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001703/0.9316, allocations: 1.591 MB / 1.585 GB, free: 2.609 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.169e-05/0.9316, allocations: 11.97 kB / 1.585 GB, free: 2.598 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002148/0.9337, allocations: 1.078 MB / 1.586 GB, free: 1.461 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006374/0.9344, allocations: 236.5 kB / 1.586 GB, free: 1.211 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002537/0.9346, allocations: 16 kB / 1.586 GB, free: 1.195 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008576/0.9355, allocations: 45.11 kB / 1.586 GB, free: 1.152 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001383/0.9356, allocations: 35.95 kB / 1.586 GB, free: 1.117 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.63e-05/0.9357, allocations: 31.98 kB / 1.586 GB, free: 1.086 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001006/0.9367, allocations: 0.5537 MB / 1.587 GB, free: 0.5391 MB / 1.279 GB Notification: Performance of sort global known variables: time 9e-08/0.9367, allocations: 0 / 1.587 GB, free: 0.5391 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.001259/0.938, allocations: 283.9 kB / 1.587 GB, free: 268 kB / 1.279 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.0004901/0.9385, allocations: 180.2 kB / 1.587 GB, free: 76 kB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.001738/0.9402, allocations: 0.788 MB / 1.588 GB, free: 15.26 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 8.927e-06/0.9402, allocations: 4 kB / 1.588 GB, free: 15.25 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0006916/0.9409, allocations: 395.9 kB / 1.588 GB, free: 14.86 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003297/0.9442, allocations: 0.612 MB / 1.589 GB, free: 14.26 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004116/0.9483, allocations: 1.836 MB / 1.591 GB, free: 12.36 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001355/0.9497, allocations: 1.091 MB / 1.592 GB, free: 11.23 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0009963/0.9507, allocations: 219.7 kB / 1.592 GB, free: 11.02 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002478/0.9509, allocations: 67.44 kB / 1.592 GB, free: 10.95 MB / 1.295 GB Notification: Performance of SimCode: time 1.283e-06/0.9509, allocations: 0 / 1.592 GB, free: 10.95 MB / 1.295 GB Notification: Performance of Templates: time 0.911/1.862, allocations: 20.43 MB / 1.612 GB, free: 279.9 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.008945933077484]