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.001822/0.001822, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002182/0.002182, allocations: 217.9 kB / 23.03 MB, free: 4.922 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.566/1.566, allocations: 230.6 MB / 256.8 MB, free: 7.789 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 3.014/3.014, allocations: 476.8 MB / 0.7715 GB, free: 3.836 MB / 0.6231 GB " [Timeout remaining time 176] 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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="cs",version="2.0",platforms={"static"}) [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.002104/0.002104, allocations: 66.25 kB / 1.118 GB, free: 39.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3336, allocations: 170 MB / 1.284 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.2735/0.6072, allocations: 195.7 MB / 1.475 GB, free: 6.113 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01242/0.6196, allocations: 5.439 MB / 1.481 GB, free: 0.6641 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00212/0.6217, allocations: 59.5 kB / 1.481 GB, free: 0.6055 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.002389/0.6241, allocations: 0.5513 MB / 1.481 GB, free: 52 kB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.006542/0.6306, allocations: 1.933 MB / 1.483 GB, free: 14.11 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.004114/0.6347, allocations: 1.221 MB / 1.484 GB, free: 12.89 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.005246/0.64, allocations: 3.032 MB / 1.487 GB, free: 9.859 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001802/0.6418, allocations: 0.7698 MB / 1.488 GB, free: 9.066 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003088/0.6449, allocations: 1.152 MB / 1.489 GB, free: 7.91 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003443/0.6483, allocations: 1.008 MB / 1.49 GB, free: 6.91 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0004178/0.6487, allocations: 112 kB / 1.49 GB, free: 6.801 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004033/0.6528, allocations: 1.204 MB / 1.491 GB, free: 5.594 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.001079/0.6539, allocations: 478.6 kB / 1.492 GB, free: 5.125 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001405/0.6553, allocations: 0.5408 MB / 1.492 GB, free: 4.582 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.004832/0.6601, allocations: 2.11 MB / 1.494 GB, free: 2.465 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.6601, allocations: 0 / 1.494 GB, free: 2.465 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.044e-06/0.6601, allocations: 0 / 1.494 GB, free: 2.465 MB / 1.186 GB Notification: Performance of Transformations before backend: time 5.187e-05/0.6602, allocations: 0 / 1.494 GB, free: 2.465 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.003929/0.6641, allocations: 1.465 MB / 1.496 GB, free: 0.9609 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 6.823e-05/0.6642, allocations: 16.03 kB / 1.496 GB, free: 0.9453 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.942e-05/0.6642, allocations: 22 kB / 1.496 GB, free: 0.9258 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002168/0.6644, allocations: 139.3 kB / 1.496 GB, free: 0.7812 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00241/0.6668, allocations: 319 kB / 1.496 GB, free: 480 kB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001987/0.6688, allocations: 0.7917 MB / 1.497 GB, free: 15.65 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.316e-05/0.6689, allocations: 66 kB / 1.497 GB, free: 15.58 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001808/0.6691, allocations: 84 kB / 1.497 GB, free: 15.5 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002325/0.6714, allocations: 1.369 MB / 1.499 GB, free: 14.01 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.521e-05/0.6714, allocations: 0 / 1.499 GB, free: 14.01 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001105/0.6715, allocations: 39.94 kB / 1.499 GB, free: 13.97 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.213e-05/0.6716, allocations: 30 kB / 1.499 GB, free: 13.95 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0017/0.6733, allocations: 0.847 MB / 1.499 GB, free: 13.1 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.006192/0.6795, allocations: 2.539 MB / 1.502 GB, free: 10.5 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009349/0.6804, allocations: 472.4 kB / 1.502 GB, free: 10.03 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005083/0.6809, allocations: 279.3 kB / 1.503 GB, free: 9.758 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000192/0.6811, allocations: 28.36 kB / 1.503 GB, free: 9.73 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.853e-05/0.6812, allocations: 50.98 kB / 1.503 GB, free: 9.672 MB / 1.201 GB Notification: Performance of pre-optimization done (n=47): time 2.965e-06/0.6812, allocations: 0 / 1.503 GB, free: 9.672 MB / 1.201 GB Notification: Performance of matching and sorting (n=49): time 0.004272/0.6854, allocations: 1.659 MB / 1.504 GB, free: 7.973 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/0.6855, allocations: 59.84 kB / 1.504 GB, free: 7.902 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001294/0.6868, allocations: 0.8136 MB / 1.505 GB, free: 7.078 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.000169/0.6869, allocations: 37.7 kB / 1.505 GB, free: 7.035 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004839/0.6874, allocations: 480.2 kB / 1.506 GB, free: 6.559 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002558/0.6877, allocations: 182.4 kB / 1.506 GB, free: 6.379 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00023/0.6879, allocations: 114.3 kB / 1.506 GB, free: 6.262 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.000191/0.6881, allocations: 334 kB / 1.506 GB, free: 5.93 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000556/0.6887, allocations: 245.2 kB / 1.507 GB, free: 5.691 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007335/0.6894, allocations: 485.8 kB / 1.507 GB, free: 5.141 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.004121/0.6935, allocations: 1.469 MB / 1.508 GB, free: 3.633 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.135e-06/0.6935, allocations: 3.938 kB / 1.508 GB, free: 3.629 MB / 1.201 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001604/0.6951, allocations: 0.8032 MB / 1.509 GB, free: 2.812 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.6951, allocations: 4 kB / 1.509 GB, free: 2.809 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.6952, allocations: 4 kB / 1.509 GB, free: 2.805 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000199/0.6954, allocations: 65.67 kB / 1.509 GB, free: 2.734 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007243/0.6961, allocations: 151.8 kB / 1.509 GB, free: 2.586 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002981/0.6991, allocations: 2.902 MB / 1.512 GB, free: 15.45 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009851/0.7, allocations: 27.98 kB / 1.512 GB, free: 15.42 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.055e-05/0.7001, allocations: 24 kB / 1.512 GB, free: 15.4 MB / 1.217 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.0005667/0.7007, allocations: 308.2 kB / 1.513 GB, free: 15.09 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000242/0.7009, allocations: 95.8 kB / 1.513 GB, free: 15 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002313/0.7012, allocations: 108.7 kB / 1.513 GB, free: 14.89 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.7012, allocations: 4 kB / 1.513 GB, free: 14.89 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.7012, allocations: 0 / 1.513 GB, free: 14.89 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001232/0.7024, allocations: 0.8387 MB / 1.514 GB, free: 13.96 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003297/0.7057, allocations: 1.627 MB / 1.515 GB, free: 12.24 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.435e-06/0.7057, allocations: 4 kB / 1.515 GB, free: 12.23 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000712/0.7064, allocations: 132.2 kB / 1.515 GB, free: 12.11 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000125/0.7065, allocations: 44.84 kB / 1.515 GB, free: 12.06 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.366e-05/0.7066, allocations: 11.98 kB / 1.515 GB, free: 12.05 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001609/0.7082, allocations: 1.487 MB / 1.517 GB, free: 10.45 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.7082, allocations: 4 kB / 1.517 GB, free: 10.44 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001966/0.7102, allocations: 1.074 MB / 1.518 GB, free: 9.305 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006442/0.7108, allocations: 163.3 kB / 1.518 GB, free: 9.145 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001521/0.711, allocations: 15.92 kB / 1.518 GB, free: 9.129 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007585/0.7117, allocations: 30.42 kB / 1.518 GB, free: 9.102 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001434/0.7119, allocations: 44.06 kB / 1.518 GB, free: 9.059 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.729e-05/0.7119, allocations: 27.98 kB / 1.518 GB, free: 9.031 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0008923/0.7128, allocations: 0.5692 MB / 1.519 GB, free: 8.465 MB / 1.217 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7128, allocations: 0 / 1.519 GB, free: 8.465 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001049/0.7139, allocations: 272 kB / 1.519 GB, free: 8.199 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.002486/0.7164, allocations: 1.683 MB / 1.521 GB, free: 6.449 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001664/0.718, allocations: 0.7839 MB / 1.521 GB, free: 5.637 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 9.228e-06/0.718, allocations: 4 kB / 1.521 GB, free: 5.633 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0006832/0.7187, allocations: 399.7 kB / 1.522 GB, free: 5.23 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003081/0.7218, allocations: 0.6084 MB / 1.522 GB, free: 4.633 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01179/0.7336, allocations: 7.033 MB / 1.529 GB, free: 13.31 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00058/0.7342, allocations: 0.4931 MB / 1.53 GB, free: 12.78 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0008503/0.735, allocations: 219.6 kB / 1.53 GB, free: 12.56 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005288/0.7356, allocations: 343.3 kB / 1.53 GB, free: 12.23 MB / 1.232 GB Notification: Performance of SimCode: time 8.51e-07/0.7356, allocations: 0 / 1.53 GB, free: 12.23 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0715/0.8071, allocations: 29.95 MB / 1.56 GB, free: 15.03 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.36/16.17, allocations: 15.36 kB / 1.56 GB, free: 15.02 MB / 1.264 GB " [Timeout remaining time 284] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) [Timeout 420.0] 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] Reference file matches [Calling sys.exit(0), Time elapsed: 23.62669076200109]