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.00216/0.00216, allocations: 80.36 kB / 19.18 MB, free: 2.527 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.002776/0.002776, allocations: 168.9 kB / 22.46 MB, free: 5.355 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.556/1.556, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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 3.042/3.042, allocations: 377.8 MB / 0.6221 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 176] 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 2.024e-06/2.024e-06, allocations: 0 / 0.9814 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.551e-05/3.753e-05, allocations: 2.281 kB / 0.9815 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 1.135/1.135, allocations: 195.7 MB / 1.173 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0168/1.152, allocations: 5.439 MB / 1.178 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004048/1.156, allocations: 57.88 kB / 1.178 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003228/1.159, allocations: 0.5654 MB / 1.179 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.009607/1.169, allocations: 1.974 MB / 1.18 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004999/1.174, allocations: 1.244 MB / 1.182 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006854/1.18, allocations: 3.058 MB / 1.185 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002768/1.183, allocations: 0.77 MB / 1.185 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006564/1.19, allocations: 1.678 MB / 1.187 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003969/1.194, allocations: 0.8855 MB / 1.188 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007263/1.194, allocations: 108 kB / 1.188 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005443/1.2, allocations: 1.191 MB / 1.189 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.00148/1.201, allocations: 0.4928 MB / 1.19 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002503/1.204, allocations: 482.2 kB / 1.19 GB, free: 1.859 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007893/1.212, allocations: 2.165 MB / 1.192 GB, free: 1.129 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.063e-05/1.212, allocations: 5.312 kB / 1.192 GB, free: 1.125 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.174e-06/1.212, allocations: 0 / 1.192 GB, free: 1.125 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001243/1.212, allocations: 0 / 1.192 GB, free: 1.125 MB / 0.9981 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.005256/1.217, allocations: 1.463 MB / 1.194 GB, free: 208 kB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/1.217, allocations: 7.969 kB / 1.194 GB, free: 208 kB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002563/1.22, allocations: 330.8 kB / 1.194 GB, free: 112 kB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002107/1.222, allocations: 0.7831 MB / 1.195 GB, free: 15.68 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.067e-05/1.222, allocations: 65.84 kB / 1.195 GB, free: 15.64 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000171/1.222, allocations: 85.44 kB / 1.195 GB, free: 15.62 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002569/1.225, allocations: 1.365 MB / 1.196 GB, free: 14.71 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.998e-05/1.225, allocations: 2.625 kB / 1.196 GB, free: 14.71 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001146/1.225, allocations: 39.98 kB / 1.196 GB, free: 14.68 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.413e-05/1.225, allocations: 32.25 kB / 1.196 GB, free: 14.68 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001835/1.227, allocations: 0.8327 MB / 1.197 GB, free: 14.41 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006391/1.233, allocations: 2.388 MB / 1.199 GB, free: 13.3 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009251/1.234, allocations: 467 kB / 1.2 GB, free: 13.11 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005121/1.235, allocations: 280.4 kB / 1.2 GB, free: 13.02 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001802/1.235, allocations: 25.89 kB / 1.2 GB, free: 13.01 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.893e-05/1.235, allocations: 42.56 kB / 1.2 GB, free: 12.97 MB / 1.014 GB Notification: Performance of pre-optimization done (n=47): time 2.776e-06/1.235, allocations: 0 / 1.2 GB, free: 12.97 MB / 1.014 GB Notification: Performance of matching and sorting (n=49): time 0.004434/1.239, allocations: 1.662 MB / 1.202 GB, free: 12.16 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.677e-05/1.239, allocations: 60.72 kB / 1.202 GB, free: 12.09 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00104/1.24, allocations: 0.6526 MB / 1.203 GB, free: 11.8 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.691e-05/1.24, allocations: 38.52 kB / 1.203 GB, free: 11.76 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000524/1.241, allocations: 0.491 MB / 1.203 GB, free: 11.36 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002425/1.241, allocations: 178.4 kB / 1.203 GB, free: 11.22 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002671/1.241, allocations: 118.3 kB / 1.203 GB, free: 11.16 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002746/1.242, allocations: 381.3 kB / 1.204 GB, free: 10.82 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004735/1.242, allocations: 241.1 kB / 1.204 GB, free: 10.74 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007516/1.243, allocations: 486.5 kB / 1.204 GB, free: 10.39 MB / 1.014 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.004121/1.247, allocations: 1.46 MB / 1.206 GB, free: 9.832 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/1.247, allocations: 2.188 kB / 1.206 GB, free: 9.832 MB / 1.014 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001595/1.249, allocations: 0.7803 MB / 1.207 GB, free: 9.52 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/1.249, allocations: 5.156 kB / 1.207 GB, free: 9.52 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/1.249, allocations: 5.469 kB / 1.207 GB, free: 9.52 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002082/1.249, allocations: 71 kB / 1.207 GB, free: 9.488 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007405/1.25, allocations: 148.2 kB / 1.207 GB, free: 9.484 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003361/1.253, allocations: 2.858 MB / 1.21 GB, free: 6.895 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/1.254, allocations: 28.14 kB / 1.21 GB, free: 6.883 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.981e-05/1.254, allocations: 30.19 kB / 1.21 GB, free: 6.875 MB / 1.014 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.0007065/1.255, allocations: 299 kB / 1.21 GB, free: 6.676 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001865/1.255, allocations: 82.97 kB / 1.21 GB, free: 6.633 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001866/1.255, allocations: 91.64 kB / 1.21 GB, free: 6.574 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/1.255, allocations: 6.469 kB / 1.21 GB, free: 6.574 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.239e-05/1.255, allocations: 3.938 kB / 1.21 GB, free: 6.57 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001307/1.257, allocations: 0.8434 MB / 1.211 GB, free: 5.906 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003271/1.26, allocations: 1.527 MB / 1.212 GB, free: 4.891 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.573e-06/1.26, allocations: 2.531 kB / 1.212 GB, free: 4.891 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006601/1.261, allocations: 131.6 kB / 1.213 GB, free: 4.855 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001522/1.261, allocations: 42.94 kB / 1.213 GB, free: 4.832 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.115e-05/1.261, allocations: 13.78 kB / 1.213 GB, free: 4.824 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001567/1.262, allocations: 1.47 MB / 1.214 GB, free: 3.445 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/1.262, allocations: 3.469 kB / 1.214 GB, free: 3.445 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001951/1.264, allocations: 1.06 MB / 1.215 GB, free: 2.766 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004966/1.265, allocations: 150.7 kB / 1.215 GB, free: 2.668 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/1.265, allocations: 16.28 kB / 1.215 GB, free: 2.66 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007383/1.266, allocations: 32.69 kB / 1.215 GB, free: 2.645 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/1.266, allocations: 41.98 kB / 1.215 GB, free: 2.617 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.084e-05/1.266, allocations: 37.8 kB / 1.215 GB, free: 2.602 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006909/1.266, allocations: 449.4 kB / 1.216 GB, free: 2.344 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/1.266, allocations: 0 / 1.216 GB, free: 2.344 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001119/1.268, allocations: 272.8 kB / 1.216 GB, free: 2.324 MB / 1.014 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.0004494/1.268, allocations: 177.1 kB / 1.216 GB, free: 2.191 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001578/1.27, allocations: 0.7839 MB / 1.217 GB, free: 1.691 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/1.27, allocations: 0 / 1.217 GB, free: 1.691 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006817/1.27, allocations: 401.6 kB / 1.217 GB, free: 1.438 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002635/1.273, allocations: 0.4936 MB / 1.218 GB, free: 1.184 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00354/1.277, allocations: 1.733 MB / 1.22 GB, free: 52 kB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006506/1.277, allocations: 0.4897 MB / 1.22 GB, free: 15.76 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0009014/1.278, allocations: 190.8 kB / 1.22 GB, free: 15.67 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002038/1.278, allocations: 65.19 kB / 1.22 GB, free: 15.66 MB / 1.029 GB Notification: Performance of SimCode: time 1.353e-06/1.278, allocations: 0 / 1.22 GB, free: 15.66 MB / 1.029 GB Notification: Performance of Templates: time 0.03657/1.315, allocations: 17.65 MB / 1.237 GB, free: 6.836 MB / 1.029 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] Reference file matches [Calling sys.exit(0), Time elapsed: 10.629139557480812]