Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001652/0.001652, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002062/0.002062, allocations: 216.4 kB / 22.99 MB, free: 4.945 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.451/1.451, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.724/2.724, allocations: 476 MB / 0.7707 GB, free: 4.707 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002086/0.002086, allocations: 69.31 kB / 1.118 GB, free: 41.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3762/0.3783, allocations: 170 MB / 1.284 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.2701/0.6485, allocations: 195.9 MB / 1.475 GB, free: 7.227 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.0122/0.6607, allocations: 5.439 MB / 1.48 GB, free: 1.773 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00164/0.6623, allocations: 55.56 kB / 1.48 GB, free: 1.719 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.002002/0.6643, allocations: 0.5513 MB / 1.481 GB, free: 1.164 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0056/0.6699, allocations: 1.923 MB / 1.483 GB, free: 15.23 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003482/0.6734, allocations: 1.218 MB / 1.484 GB, free: 14.02 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.004635/0.678, allocations: 3.012 MB / 1.487 GB, free: 11.01 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001418/0.6794, allocations: 0.7619 MB / 1.488 GB, free: 10.22 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002399/0.6818, allocations: 1.144 MB / 1.489 GB, free: 9.074 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002667/0.6845, allocations: 0.9833 MB / 1.49 GB, free: 8.102 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002697/0.6848, allocations: 112 kB / 1.49 GB, free: 7.992 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003052/0.6878, allocations: 1.196 MB / 1.491 GB, free: 6.793 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0006503/0.6885, allocations: 470.6 kB / 1.492 GB, free: 6.332 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0009057/0.6894, allocations: 0.5485 MB / 1.492 GB, free: 5.781 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003601/0.693, allocations: 2.11 MB / 1.494 GB, free: 3.664 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.693, allocations: 0 / 1.494 GB, free: 3.664 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.305e-06/0.693, allocations: 0 / 1.494 GB, free: 3.664 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.009e-05/0.693, allocations: 3.938 kB / 1.494 GB, free: 3.66 MB / 1.186 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.002782/0.6958, allocations: 1.458 MB / 1.496 GB, free: 2.164 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.6958, allocations: 12.02 kB / 1.496 GB, free: 2.152 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00199/0.6978, allocations: 323 kB / 1.496 GB, free: 1.836 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001802/0.6996, allocations: 0.7954 MB / 1.497 GB, free: 1.016 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.763e-05/0.6997, allocations: 62 kB / 1.497 GB, free: 0.957 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001444/0.6998, allocations: 84 kB / 1.497 GB, free: 0.875 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001999/0.7018, allocations: 1.373 MB / 1.498 GB, free: 15.39 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.891e-05/0.7019, allocations: 3.938 kB / 1.498 GB, free: 15.38 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.146e-05/0.702, allocations: 36 kB / 1.498 GB, free: 15.35 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.264e-05/0.702, allocations: 37.94 kB / 1.498 GB, free: 15.31 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001679/0.7037, allocations: 0.8315 MB / 1.499 GB, free: 14.48 MB / 1.201 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.005385/0.7091, allocations: 2.375 MB / 1.501 GB, free: 12.05 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00084/0.7099, allocations: 468.4 kB / 1.502 GB, free: 11.59 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004882/0.7104, allocations: 283.2 kB / 1.502 GB, free: 11.31 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001577/0.7106, allocations: 28.42 kB / 1.502 GB, free: 11.28 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.468e-05/0.7106, allocations: 39 kB / 1.502 GB, free: 11.23 MB / 1.201 GB Notification: Performance of pre-optimization done (n=47): time 2.865e-06/0.7106, allocations: 7.875 kB / 1.502 GB, free: 11.23 MB / 1.201 GB Notification: Performance of matching and sorting (n=49): time 0.003928/0.7145, allocations: 1.648 MB / 1.504 GB, free: 9.539 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.049e-05/0.7146, allocations: 59.84 kB / 1.504 GB, free: 9.469 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009157/0.7155, allocations: 0.6487 MB / 1.504 GB, free: 8.816 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 5.994e-05/0.7156, allocations: 41.7 kB / 1.505 GB, free: 8.77 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.000417/0.716, allocations: 0.4921 MB / 1.505 GB, free: 8.27 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.000182/0.7162, allocations: 178.4 kB / 1.505 GB, free: 8.094 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001992/0.7164, allocations: 122.2 kB / 1.505 GB, free: 7.969 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002189/0.7166, allocations: 378.8 kB / 1.506 GB, free: 7.59 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000469/0.717, allocations: 249.2 kB / 1.506 GB, free: 7.348 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006667/0.7177, allocations: 483.4 kB / 1.506 GB, free: 6.797 MB / 1.201 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.003903/0.7216, allocations: 1.467 MB / 1.508 GB, free: 5.293 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.7216, allocations: 0 / 1.508 GB, free: 5.293 MB / 1.201 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001509/0.7231, allocations: 0.7795 MB / 1.509 GB, free: 4.504 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.7231, allocations: 8.406 kB / 1.509 GB, free: 4.496 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.7232, allocations: 8 kB / 1.509 GB, free: 4.488 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001769/0.7233, allocations: 65.67 kB / 1.509 GB, free: 4.418 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007095/0.724, allocations: 147.8 kB / 1.509 GB, free: 4.273 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00302/0.7271, allocations: 2.868 MB / 1.512 GB, free: 1.195 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008549/0.7279, allocations: 23.98 kB / 1.512 GB, free: 1.172 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-05/0.728, allocations: 28 kB / 1.512 GB, free: 1.145 MB / 1.201 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.0005448/0.7285, allocations: 301.6 kB / 1.512 GB, free: 0.8398 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001591/0.7287, allocations: 87.42 kB / 1.512 GB, free: 0.7539 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001861/0.7289, allocations: 87.34 kB / 1.512 GB, free: 0.6641 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/0.7289, allocations: 8.094 kB / 1.512 GB, free: 0.6562 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.7289, allocations: 8.078 kB / 1.512 GB, free: 0.6484 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00123/0.7301, allocations: 0.8348 MB / 1.513 GB, free: 15.72 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003111/0.7332, allocations: 1.522 MB / 1.514 GB, free: 14.12 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.7332, allocations: 4 kB / 1.514 GB, free: 14.12 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006418/0.7339, allocations: 131.8 kB / 1.514 GB, free: 13.99 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001098/0.734, allocations: 36.84 kB / 1.515 GB, free: 13.95 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.448e-05/0.734, allocations: 24.33 kB / 1.515 GB, free: 13.93 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001523/0.7355, allocations: 1.472 MB / 1.516 GB, free: 12.35 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.218e-06/0.7356, allocations: 11.92 kB / 1.516 GB, free: 12.34 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001752/0.7373, allocations: 1.055 MB / 1.517 GB, free: 11.22 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004569/0.7378, allocations: 139.6 kB / 1.517 GB, free: 11.09 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.7379, allocations: 20 kB / 1.517 GB, free: 11.07 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006779/0.7385, allocations: 34.41 kB / 1.517 GB, free: 11.04 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.7387, allocations: 43.81 kB / 1.517 GB, free: 10.99 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.998e-05/0.7387, allocations: 31.98 kB / 1.517 GB, free: 10.96 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0006756/0.7394, allocations: 451 kB / 1.518 GB, free: 10.53 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7394, allocations: 0 / 1.518 GB, free: 10.53 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0009186/0.7403, allocations: 275.9 kB / 1.518 GB, free: 10.26 MB / 1.217 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.0003407/0.7407, allocations: 175.2 kB / 1.518 GB, free: 10.07 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001508/0.7422, allocations: 0.7845 MB / 1.519 GB, free: 9.258 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.7422, allocations: 4 kB / 1.519 GB, free: 9.254 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0006519/0.7428, allocations: 391.2 kB / 1.519 GB, free: 8.859 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002327/0.7452, allocations: 0.493 MB / 1.52 GB, free: 8.383 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003282/0.7484, allocations: 1.866 MB / 1.522 GB, free: 6.438 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006943/0.7491, allocations: 0.4924 MB / 1.522 GB, free: 5.914 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002357/0.7494, allocations: 63.44 kB / 1.522 GB, free: 5.852 MB / 1.217 GB Notification: Performance of SimCode: time 1.253e-06/0.7494, allocations: 0 / 1.522 GB, free: 5.852 MB / 1.217 GB Notification: Performance of Templates: time 0.03178/0.7812, allocations: 20.97 MB / 1.543 GB, free: 0.9805 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.557327405083925]