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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 111.2 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001765/0.001765, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 225.6 MB / 249.4 MB, free: 3.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.952/2.952, allocations: 496.2 MB / 0.7819 GB, free: 12.46 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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=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: Performance of FrontEnd - loaded program: time 0.002084/0.002084, allocations: 63.89 kB / 1.136 GB, free: 12.46 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.17/1.172, allocations: 173.7 MB / 1.305 GB, free: 33.43 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.3085/1.48, allocations: 222.6 MB / 1.523 GB, free: 9.746 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01358/1.494, allocations: 5.772 MB / 1.528 GB, free: 3.965 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001888/1.496, allocations: 43.75 kB / 1.528 GB, free: 3.922 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.002157/1.498, allocations: 0.6097 MB / 1.529 GB, free: 3.309 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.006254/1.504, allocations: 1.921 MB / 1.531 GB, free: 1.379 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003852/1.508, allocations: 1.211 MB / 1.532 GB, free: 180 kB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.005244/1.513, allocations: 2.956 MB / 1.535 GB, free: 13.21 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001548/1.515, allocations: 0.7766 MB / 1.536 GB, free: 12.41 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003165/1.518, allocations: 1.312 MB / 1.537 GB, free: 11.09 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002627/1.521, allocations: 1.001 MB / 1.538 GB, free: 10.1 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0002142/1.521, allocations: 104 kB / 1.538 GB, free: 9.996 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003316/1.524, allocations: 1.504 MB / 1.54 GB, free: 8.488 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0005688/1.525, allocations: 474.6 kB / 1.54 GB, free: 8.023 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0008766/1.526, allocations: 0.6572 MB / 1.541 GB, free: 7.363 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.003658/1.529, allocations: 2.137 MB / 1.543 GB, free: 5.219 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/1.529, allocations: 0 / 1.543 GB, free: 5.219 MB / 1.217 GB Notification: Performance of FrontEnd: time 3.447e-06/1.529, allocations: 4 kB / 1.543 GB, free: 5.215 MB / 1.217 GB Notification: Performance of Transformations before backend: time 2.303e-05/1.529, allocations: 0 / 1.543 GB, free: 5.215 MB / 1.217 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.002808/1.532, allocations: 1.545 MB / 1.544 GB, free: 3.613 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/1.532, allocations: 8.031 kB / 1.544 GB, free: 3.605 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002076/1.534, allocations: 330.9 kB / 1.545 GB, free: 3.281 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001498/1.536, allocations: 0.8599 MB / 1.545 GB, free: 2.379 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.384e-05/1.536, allocations: 69.98 kB / 1.546 GB, free: 2.312 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001509/1.536, allocations: 84 kB / 1.546 GB, free: 2.23 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001694/1.538, allocations: 0.9131 MB / 1.547 GB, free: 1.312 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.629e-05/1.538, allocations: 0 / 1.547 GB, free: 1.312 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.415e-05/1.538, allocations: 43.92 kB / 1.547 GB, free: 1.27 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.325e-05/1.538, allocations: 33.94 kB / 1.547 GB, free: 1.234 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001514/1.539, allocations: 0.8315 MB / 1.547 GB, free: 412 kB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00618/1.546, allocations: 3.672 MB / 1.551 GB, free: 12.47 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008232/1.546, allocations: 472.8 kB / 1.551 GB, free: 12 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004693/1.547, allocations: 278.5 kB / 1.552 GB, free: 11.73 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002166/1.547, allocations: 113.5 kB / 1.552 GB, free: 11.6 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.154e-05/1.547, allocations: 46.94 kB / 1.552 GB, free: 11.54 MB / 1.232 GB Notification: Performance of pre-optimization done (n=47): time 2.184e-06/1.547, allocations: 0 / 1.552 GB, free: 11.54 MB / 1.232 GB Notification: Performance of matching and sorting (n=49): time 0.003932/1.551, allocations: 1.889 MB / 1.554 GB, free: 9.559 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/1.551, allocations: 59.84 kB / 1.554 GB, free: 9.488 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/1.552, allocations: 0.8058 MB / 1.555 GB, free: 8.676 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 5.764e-05/1.552, allocations: 37.7 kB / 1.555 GB, free: 8.633 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.000416/1.553, allocations: 488.2 kB / 1.555 GB, free: 8.152 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001818/1.553, allocations: 186.4 kB / 1.555 GB, free: 7.969 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002139/1.553, allocations: 114.3 kB / 1.555 GB, free: 7.852 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001542/1.553, allocations: 330 kB / 1.556 GB, free: 7.523 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004386/1.554, allocations: 249.1 kB / 1.556 GB, free: 7.281 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005551/1.554, allocations: 384.6 kB / 1.556 GB, free: 6.855 MB / 1.232 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.003727/1.558, allocations: 1.54 MB / 1.558 GB, free: 5.258 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/1.558, allocations: 4 kB / 1.558 GB, free: 5.254 MB / 1.232 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001386/1.559, allocations: 0.7966 MB / 1.559 GB, free: 4.445 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/1.559, allocations: 8 kB / 1.559 GB, free: 4.438 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/1.559, allocations: 4 kB / 1.559 GB, free: 4.434 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001831/1.56, allocations: 70.08 kB / 1.559 GB, free: 4.359 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006867/1.56, allocations: 147.8 kB / 1.559 GB, free: 4.215 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002912/1.563, allocations: 3.125 MB / 1.562 GB, free: 0.8047 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007858/1.564, allocations: 38.55 kB / 1.562 GB, free: 0.7695 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.304e-05/1.564, allocations: 20 kB / 1.562 GB, free: 0.75 MB / 1.232 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.0005211/1.564, allocations: 307.4 kB / 1.562 GB, free: 452 kB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001525/1.565, allocations: 95.44 kB / 1.562 GB, free: 356 kB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000186/1.565, allocations: 104.8 kB / 1.562 GB, free: 248 kB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/1.565, allocations: 4 kB / 1.562 GB, free: 244 kB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/1.565, allocations: 0 / 1.562 GB, free: 244 kB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001133/1.566, allocations: 0.8426 MB / 1.563 GB, free: 15.31 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002959/1.569, allocations: 1.796 MB / 1.565 GB, free: 13.41 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.772e-06/1.569, allocations: 4 kB / 1.565 GB, free: 13.41 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006197/1.57, allocations: 123.9 kB / 1.565 GB, free: 13.29 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.907e-05/1.57, allocations: 41.23 kB / 1.565 GB, free: 13.25 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.716e-05/1.57, allocations: 16 kB / 1.565 GB, free: 13.23 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0014/1.571, allocations: 1.594 MB / 1.567 GB, free: 11.5 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.436e-06/1.571, allocations: 12 kB / 1.567 GB, free: 11.49 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001637/1.573, allocations: 1.07 MB / 1.568 GB, free: 10.36 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003926/1.573, allocations: 244.4 kB / 1.568 GB, free: 10.1 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/1.573, allocations: 12 kB / 1.568 GB, free: 10.09 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006512/1.574, allocations: 42.55 kB / 1.568 GB, free: 10.05 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/1.574, allocations: 39.89 kB / 1.568 GB, free: 10.01 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.621e-05/1.574, allocations: 28.05 kB / 1.568 GB, free: 9.984 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.000767/1.575, allocations: 0.5654 MB / 1.569 GB, free: 9.426 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.2e-07/1.575, allocations: 0 / 1.569 GB, free: 9.426 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0008884/1.576, allocations: 276 kB / 1.569 GB, free: 9.156 MB / 1.248 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.0004888/1.576, allocations: 198.7 kB / 1.569 GB, free: 8.961 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.001387/1.578, allocations: 0.781 MB / 1.57 GB, free: 8.156 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/1.578, allocations: 8.25 kB / 1.57 GB, free: 8.148 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0006065/1.578, allocations: 390.1 kB / 1.57 GB, free: 7.754 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002504/1.581, allocations: 0.5914 MB / 1.571 GB, free: 7.172 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003114/1.584, allocations: 1.843 MB / 1.573 GB, free: 5.258 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000766/1.585, allocations: 1.088 MB / 1.574 GB, free: 4.137 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.000742/1.585, allocations: 219.7 kB / 1.574 GB, free: 3.918 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000184/1.586, allocations: 67.44 kB / 1.574 GB, free: 3.852 MB / 1.248 GB Notification: Performance of SimCode: time 1.203e-06/1.586, allocations: 4 kB / 1.574 GB, free: 3.848 MB / 1.248 GB Notification: Performance of Templates: time 0.03987/1.625, allocations: 20.53 MB / 1.594 GB, free: 15.58 MB / 1.279 GB " [Timeout remaining time 298] 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.csv","/var/lib/jenkins/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] Reference file matches [Calling sys.exit(0), Time elapsed: 10.794242049567401]