Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.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.001816/0.001816, 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.002298/0.002298, allocations: 170.8 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.544/1.544, allocations: 177.1 MB / 202.8 MB, free: 9.184 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.171/3.171, allocations: 377.8 MB / 0.6221 GB, free: 12.61 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.MixingVolumeMFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volMFactor.T|vol1.T|vol1.Xi.1.|volMFactor.Xi.1.|vol.T",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volMFactor.T|vol1.T|vol1.Xi.1.|volMFactor.Xi.1.|vol.T",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 0.9814 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.93e-05/3.121e-05, allocations: 6.281 kB / 0.9814 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 1.119/1.119, allocations: 185.7 MB / 1.163 GB, free: 45.2 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01601/1.135, allocations: 9.288 MB / 1.172 GB, free: 45.07 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002985/1.138, allocations: 83.23 kB / 1.172 GB, free: 45.07 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.003272/1.141, allocations: 0.75 MB / 1.173 GB, free: 45.05 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01043/1.152, allocations: 2.994 MB / 1.176 GB, free: 44.81 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004567/1.156, allocations: 1.461 MB / 1.177 GB, free: 44.74 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.006964/1.163, allocations: 4.191 MB / 1.181 GB, free: 44.04 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002409/1.166, allocations: 1.001 MB / 1.182 GB, free: 43.91 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006069/1.172, allocations: 2.34 MB / 1.184 GB, free: 43.69 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003835/1.176, allocations: 1.152 MB / 1.185 GB, free: 43.57 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0004185/1.176, allocations: 145.3 kB / 1.186 GB, free: 43.57 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00618/1.182, allocations: 1.975 MB / 1.188 GB, free: 43.36 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001249/1.183, allocations: 0.6576 MB / 1.188 GB, free: 43.27 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001677/1.185, allocations: 0.6151 MB / 1.189 GB, free: 43.21 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.008794/1.194, allocations: 3.037 MB / 1.192 GB, free: 42.96 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 9.227e-06/1.194, allocations: 0 / 1.192 GB, free: 42.96 MB / 1.076 GB Notification: Performance of FrontEnd: time 3.446e-06/1.194, allocations: 1.906 kB / 1.192 GB, free: 42.96 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.394e-05/1.194, allocations: 3.094 kB / 1.192 GB, free: 42.96 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.005182/1.199, allocations: 1.853 MB / 1.194 GB, free: 42.06 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.483e-05/1.199, allocations: 9.828 kB / 1.194 GB, free: 42.06 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003946/1.203, allocations: 0.4902 MB / 1.194 GB, free: 41.97 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002619/1.206, allocations: 1.057 MB / 1.195 GB, free: 41.64 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001011/1.206, allocations: 83.17 kB / 1.195 GB, free: 41.64 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002571/1.206, allocations: 110.7 kB / 1.195 GB, free: 41.64 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003012/1.209, allocations: 1.612 MB / 1.197 GB, free: 40.99 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.889e-05/1.209, allocations: 11.42 kB / 1.197 GB, free: 40.98 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001297/1.209, allocations: 44.81 kB / 1.197 GB, free: 40.98 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.771e-05/1.209, allocations: 41.48 kB / 1.197 GB, free: 40.98 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002431/1.212, allocations: 1.063 MB / 1.198 GB, free: 40.96 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007982/1.22, allocations: 2.691 MB / 1.201 GB, free: 40.53 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001417/1.221, allocations: 0.766 MB / 1.201 GB, free: 40.35 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007746/1.222, allocations: 455.6 kB / 1.202 GB, free: 40.18 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003754/1.222, allocations: 65.11 kB / 1.202 GB, free: 40.18 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.795e-05/1.222, allocations: 47.14 kB / 1.202 GB, free: 40.13 MB / 1.076 GB Notification: Performance of pre-optimization done (n=83): time 3.246e-06/1.222, allocations: 0 / 1.202 GB, free: 40.13 MB / 1.076 GB Notification: Performance of matching and sorting (n=89): time 0.007096/1.23, allocations: 2.618 MB / 1.204 GB, free: 38.92 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/1.23, allocations: 60.91 kB / 1.205 GB, free: 38.86 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001271/1.231, allocations: 0.7486 MB / 1.205 GB, free: 38.55 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001179/1.231, allocations: 48.81 kB / 1.205 GB, free: 38.5 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004257/1.231, allocations: 0.5619 MB / 1.206 GB, free: 38.06 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003412/1.232, allocations: 320 kB / 1.206 GB, free: 37.81 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002837/1.232, allocations: 158.1 kB / 1.206 GB, free: 37.73 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001116/1.232, allocations: 342.4 kB / 1.207 GB, free: 37.41 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005867/1.233, allocations: 338.8 kB / 1.207 GB, free: 37.29 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007838/1.234, allocations: 0.5827 MB / 1.208 GB, free: 36.91 MB / 1.076 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start (bou.p = volMFactor.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol1.dynBal.medium.p = vol1.dynBal.p_start (bou.p = vol1.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.007077/1.241, allocations: 2.806 MB / 1.21 GB, free: 35.91 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-05/1.241, allocations: 1.562 kB / 1.21 GB, free: 35.91 MB / 1.076 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002975/1.244, allocations: 0.9972 MB / 1.211 GB, free: 35.51 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.455e-05/1.244, allocations: 7.359 kB / 1.211 GB, free: 35.51 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.176e-05/1.244, allocations: 4.125 kB / 1.211 GB, free: 35.51 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.474e-05/1.244, allocations: 6.781 kB / 1.211 GB, free: 35.51 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008882/1.245, allocations: 181.2 kB / 1.211 GB, free: 35.51 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.803e-05/1.245, allocations: 8.594 kB / 1.211 GB, free: 35.51 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001301/1.246, allocations: 31.53 kB / 1.211 GB, free: 35.49 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/1.246, allocations: 34.52 kB / 1.211 GB, free: 35.48 MB / 1.076 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (108): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008961/1.247, allocations: 386.2 kB / 1.212 GB, free: 35.25 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002453/1.247, allocations: 110.5 kB / 1.212 GB, free: 35.2 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000268/1.247, allocations: 131.6 kB / 1.212 GB, free: 35.1 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/1.247, allocations: 8.906 kB / 1.212 GB, free: 35.1 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.66e-05/1.247, allocations: 2.953 kB / 1.212 GB, free: 35.1 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001784/1.249, allocations: 1.092 MB / 1.213 GB, free: 34.45 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005778/1.255, allocations: 2.688 MB / 1.216 GB, free: 33.14 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.739e-05/1.255, allocations: 10.56 kB / 1.216 GB, free: 33.14 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008513/1.256, allocations: 167.6 kB / 1.216 GB, free: 33.13 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003984/1.256, allocations: 98.67 kB / 1.216 GB, free: 33.1 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.221e-05/1.256, allocations: 29.52 kB / 1.216 GB, free: 33.09 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002327/1.259, allocations: 2.828 MB / 1.219 GB, free: 30.46 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.547e-05/1.259, allocations: 17.56 kB / 1.219 GB, free: 30.46 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003097/1.262, allocations: 1.704 MB / 1.221 GB, free: 29.46 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007773/1.263, allocations: 207.5 kB / 1.221 GB, free: 29.36 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001554/1.263, allocations: 35.72 kB / 1.221 GB, free: 29.34 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/1.264, allocations: 40.56 kB / 1.221 GB, free: 29.33 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002099/1.264, allocations: 89.22 kB / 1.221 GB, free: 29.31 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001041/1.264, allocations: 49.56 kB / 1.221 GB, free: 29.3 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0008295/1.265, allocations: 0.5079 MB / 1.221 GB, free: 29.09 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/1.265, allocations: 0 / 1.221 GB, free: 29.09 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001811/1.267, allocations: 370.6 kB / 1.222 GB, free: 29.06 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 6 (vol.dynBal.medium.Xi[1],vol.dynBal.U,volMFactor.dynBal.medium.Xi[1],volMFactor.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.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 (85): * Single equations (assignments): 83 * 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): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006372/1.267, allocations: 229.3 kB / 1.222 GB, free: 28.94 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001693/1.269, allocations: 0.8153 MB / 1.223 GB, free: 28.69 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/1.269, allocations: 2.438 kB / 1.223 GB, free: 28.69 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001049/1.27, allocations: 0.6536 MB / 1.223 GB, free: 28.35 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004086/1.274, allocations: 0.7344 MB / 1.224 GB, free: 28.17 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005341/1.279, allocations: 2.617 MB / 1.227 GB, free: 26.61 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001274/1.281, allocations: 0.6611 MB / 1.227 GB, free: 26.42 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.00163/1.282, allocations: 302.7 kB / 1.228 GB, free: 26.35 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003359/1.283, allocations: 86.72 kB / 1.228 GB, free: 26.34 MB / 1.076 GB Notification: Performance of SimCode: time 1.463e-06/1.283, allocations: 1 kB / 1.228 GB, free: 26.34 MB / 1.076 GB Notification: Performance of Templates: time 0.0479/1.331, allocations: 24.65 MB / 1.252 GB, free: 23.61 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.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: 11.342844996601343]