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.0007907/0.0007907, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0007999/0.0007999, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8531/0.8531, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.681/1.681, allocations: 377.8 MB / 0.6228 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 0.9822 GB, free: 2.035 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.414e-05/1.53e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.031 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.6593/0.6594, allocations: 195.7 MB / 1.173 GB, free: 13.03 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.008172/0.6675, allocations: 5.453 MB / 1.179 GB, free: 9.324 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007696/0.6683, allocations: 54.44 kB / 1.179 GB, free: 9.297 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.001286/0.6696, allocations: 0.5672 MB / 1.179 GB, free: 8.984 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.003592/0.6732, allocations: 1.978 MB / 1.181 GB, free: 7.879 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.00219/0.6754, allocations: 1.251 MB / 1.182 GB, free: 7.211 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.002559/0.6779, allocations: 3.053 MB / 1.185 GB, free: 5.777 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007626/0.6787, allocations: 0.7666 MB / 1.186 GB, free: 5.402 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001753/0.6804, allocations: 1.676 MB / 1.188 GB, free: 4.656 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001226/0.6817, allocations: 0.8856 MB / 1.189 GB, free: 4.379 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 0.0001361/0.6818, allocations: 108.2 kB / 1.189 GB, free: 4.379 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001863/0.6837, allocations: 1.201 MB / 1.19 GB, free: 3.941 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.0003464/0.684, allocations: 0.4905 MB / 1.19 GB, free: 3.707 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.0004105/0.6844, allocations: 480.4 kB / 1.191 GB, free: 3.516 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.001844/0.6863, allocations: 2.168 MB / 1.193 GB, free: 2.77 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.6863, allocations: 1.5 kB / 1.193 GB, free: 2.77 MB / 1.026 GB Notification: Performance of FrontEnd: time 5.43e-06/0.6863, allocations: 0 / 1.193 GB, free: 2.77 MB / 1.026 GB Notification: Performance of Transformations before backend: time 1.203e-05/0.6863, allocations: 0 / 1.193 GB, free: 2.77 MB / 1.026 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.001621/0.6879, allocations: 1.448 MB / 1.194 GB, free: 1.852 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.6879, allocations: 9.188 kB / 1.194 GB, free: 1.852 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001058/0.689, allocations: 326.2 kB / 1.195 GB, free: 1.762 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009625/0.69, allocations: 0.8 MB / 1.196 GB, free: 1.289 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.525e-05/0.69, allocations: 69.27 kB / 1.196 GB, free: 1.254 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/0.6901, allocations: 85.81 kB / 1.196 GB, free: 1.227 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001222/0.6914, allocations: 1.363 MB / 1.197 GB, free: 332 kB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/0.6914, allocations: 5.078 kB / 1.197 GB, free: 328 kB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.015e-05/0.6914, allocations: 36.31 kB / 1.197 GB, free: 300 kB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.261e-05/0.6915, allocations: 31.38 kB / 1.197 GB, free: 300 kB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009725/0.6924, allocations: 0.8333 MB / 1.198 GB, free: 20 kB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002994/0.6954, allocations: 2.387 MB / 1.2 GB, free: 14.87 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005199/0.696, allocations: 468 kB / 1.201 GB, free: 14.68 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002898/0.6963, allocations: 284.9 kB / 1.201 GB, free: 14.58 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000117/0.6964, allocations: 21.83 kB / 1.201 GB, free: 14.58 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.6964, allocations: 44.56 kB / 1.201 GB, free: 14.53 MB / 1.042 GB Notification: Performance of pre-optimization done (n=47): time 2.144e-06/0.6964, allocations: 0 / 1.201 GB, free: 14.53 MB / 1.042 GB Notification: Performance of matching and sorting (n=49): time 0.002366/0.6988, allocations: 1.656 MB / 1.203 GB, free: 13.72 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/0.6988, allocations: 65.28 kB / 1.203 GB, free: 13.65 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004981/0.6993, allocations: 0.6549 MB / 1.203 GB, free: 13.32 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 3.659e-05/0.6993, allocations: 38.7 kB / 1.203 GB, free: 13.29 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002279/0.6996, allocations: 0.4946 MB / 1.204 GB, free: 12.84 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/0.6997, allocations: 174.9 kB / 1.204 GB, free: 12.69 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001172/0.6998, allocations: 118.2 kB / 1.204 GB, free: 12.62 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.6999, allocations: 381.3 kB / 1.204 GB, free: 12.25 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002696/0.7002, allocations: 243.7 kB / 1.205 GB, free: 12.14 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003543/0.7005, allocations: 482.9 kB / 1.205 GB, free: 11.74 MB / 1.042 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.001954/0.7025, allocations: 1.46 MB / 1.207 GB, free: 10.95 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.7025, allocations: 4 kB / 1.207 GB, free: 10.95 MB / 1.042 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008081/0.7033, allocations: 0.7744 MB / 1.207 GB, free: 10.54 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.7033, allocations: 6.281 kB / 1.207 GB, free: 10.54 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.7033, allocations: 3 kB / 1.207 GB, free: 10.54 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00012/0.7034, allocations: 78.52 kB / 1.207 GB, free: 10.49 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003381/0.7038, allocations: 150.7 kB / 1.208 GB, free: 10.45 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001554/0.7053, allocations: 2.86 MB / 1.21 GB, free: 7.719 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000327/0.7057, allocations: 32.72 kB / 1.21 GB, free: 7.699 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.631e-05/0.7057, allocations: 23.38 kB / 1.21 GB, free: 7.695 MB / 1.042 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.000285/0.706, allocations: 302 kB / 1.211 GB, free: 7.469 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.401e-05/0.7061, allocations: 79.19 kB / 1.211 GB, free: 7.43 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.32e-05/0.7062, allocations: 95.44 kB / 1.211 GB, free: 7.359 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.7062, allocations: 5.469 kB / 1.211 GB, free: 7.359 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.7062, allocations: 4.031 kB / 1.211 GB, free: 7.355 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006393/0.7068, allocations: 0.8336 MB / 1.212 GB, free: 6.68 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001575/0.7084, allocations: 1.533 MB / 1.213 GB, free: 5.652 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.7084, allocations: 2.906 kB / 1.213 GB, free: 5.652 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002991/0.7087, allocations: 138.2 kB / 1.213 GB, free: 5.613 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.942e-05/0.7087, allocations: 41.64 kB / 1.213 GB, free: 5.59 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.278e-05/0.7088, allocations: 10.03 kB / 1.213 GB, free: 5.586 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007476/0.7095, allocations: 1.477 MB / 1.215 GB, free: 4.199 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.7095, allocations: 6.031 kB / 1.215 GB, free: 4.199 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009303/0.7104, allocations: 1.047 MB / 1.216 GB, free: 3.531 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001983/0.7106, allocations: 149.4 kB / 1.216 GB, free: 3.434 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.76e-05/0.7107, allocations: 9.781 kB / 1.216 GB, free: 3.43 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003008/0.711, allocations: 39.95 kB / 1.216 GB, free: 3.41 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.674e-05/0.7111, allocations: 47.62 kB / 1.216 GB, free: 3.379 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.07e-05/0.7111, allocations: 26.92 kB / 1.216 GB, free: 3.371 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0004636/0.7116, allocations: 455 kB / 1.217 GB, free: 3.109 MB / 1.042 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7116, allocations: 0 / 1.217 GB, free: 3.109 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0005416/0.7121, allocations: 272.9 kB / 1.217 GB, free: 3.09 MB / 1.042 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.0002631/0.7124, allocations: 184.3 kB / 1.217 GB, free: 2.953 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0008054/0.7132, allocations: 0.7887 MB / 1.218 GB, free: 2.449 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.7132, allocations: 6.75 kB / 1.218 GB, free: 2.445 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003278/0.7135, allocations: 394.5 kB / 1.218 GB, free: 2.195 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/0.7147, allocations: 490.3 kB / 1.219 GB, free: 1.961 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001826/0.7165, allocations: 1.794 MB / 1.22 GB, free: 0.7773 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003211/0.7168, allocations: 493.5 kB / 1.221 GB, free: 0.4922 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/0.717, allocations: 76.36 kB / 1.221 GB, free: 480 kB / 1.042 GB Notification: Performance of SimCode: time 6.91e-07/0.717, allocations: 0 / 1.221 GB, free: 480 kB / 1.042 GB Notification: Performance of Templates: time 0.01527/0.7323, allocations: 21 MB / 1.241 GB, free: 15.77 MB / 1.073 GB " [Timeout remaining time 299] 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] "" 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: 9.998832213692367]