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.001485/0.001485, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001666/0.001666, allocations: 215.2 kB / 22.25 MB, free: 5.258 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.367/1.367, allocations: 230.6 MB / 256 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.941/2.941, allocations: 0.49 GB / 0.7951 GB, free: 35.43 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="me",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.001953/0.001953, allocations: 64.72 kB / 1.154 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.3054, allocations: 176.1 MB / 1.326 GB, free: 1.461 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.2308/0.5362, allocations: 196 MB / 1.517 GB, free: 12.7 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.00933/0.5455, allocations: 5.428 MB / 1.523 GB, free: 7.258 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001291/0.5468, allocations: 59.5 kB / 1.523 GB, free: 7.199 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001541/0.5483, allocations: 0.5552 MB / 1.523 GB, free: 6.641 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.004677/0.553, allocations: 1.941 MB / 1.525 GB, free: 4.691 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.00295/0.556, allocations: 1.213 MB / 1.526 GB, free: 3.484 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.003762/0.5597, allocations: 3.047 MB / 1.529 GB, free: 440 kB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00112/0.5609, allocations: 0.7697 MB / 1.53 GB, free: 15.64 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002252/0.5631, allocations: 1.347 MB / 1.531 GB, free: 14.29 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002225/0.5653, allocations: 0.9968 MB / 1.532 GB, free: 13.3 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0001711/0.5655, allocations: 108 kB / 1.532 GB, free: 13.2 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002422/0.5679, allocations: 1.188 MB / 1.534 GB, free: 12 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0005634/0.5685, allocations: 478.6 kB / 1.534 GB, free: 11.54 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0007217/0.5692, allocations: 0.5408 MB / 1.535 GB, free: 10.99 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.00307/0.5723, allocations: 2.114 MB / 1.537 GB, free: 8.871 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.5723, allocations: 3.938 kB / 1.537 GB, free: 8.867 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5723, allocations: 0 / 1.537 GB, free: 8.867 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.729e-05/0.5723, allocations: 0 / 1.537 GB, free: 8.867 MB / 1.232 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.002753/0.5751, allocations: 1.462 MB / 1.538 GB, free: 7.367 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 5.62e-05/0.5751, allocations: 12.03 kB / 1.538 GB, free: 7.355 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002124/0.5753, allocations: 139.3 kB / 1.538 GB, free: 7.211 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002069/0.5774, allocations: 322.9 kB / 1.539 GB, free: 6.895 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001614/0.579, allocations: 0.7954 MB / 1.539 GB, free: 6.07 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.067e-05/0.5791, allocations: 62 kB / 1.539 GB, free: 6.012 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001396/0.5792, allocations: 84 kB / 1.539 GB, free: 5.93 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001988/0.5812, allocations: 1.377 MB / 1.541 GB, free: 4.434 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.439e-05/0.5812, allocations: 0 / 1.541 GB, free: 4.434 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/0.5813, allocations: 39.98 kB / 1.541 GB, free: 4.395 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.641e-05/0.5814, allocations: 33.94 kB / 1.541 GB, free: 4.359 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001452/0.5828, allocations: 0.8353 MB / 1.542 GB, free: 3.527 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005071/0.5879, allocations: 2.539 MB / 1.544 GB, free: 0.9336 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007826/0.5887, allocations: 471.4 kB / 1.545 GB, free: 480 kB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004526/0.5891, allocations: 274 kB / 1.545 GB, free: 200 kB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001601/0.5893, allocations: 28.42 kB / 1.545 GB, free: 168 kB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.5893, allocations: 42.94 kB / 1.545 GB, free: 116 kB / 1.232 GB Notification: Performance of pre-optimization done (n=47): time 2.204e-06/0.5893, allocations: 0 / 1.545 GB, free: 116 kB / 1.232 GB Notification: Performance of matching and sorting (n=49): time 0.003431/0.5927, allocations: 1.671 MB / 1.547 GB, free: 14.41 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/0.5928, allocations: 59.84 kB / 1.547 GB, free: 14.34 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009551/0.5937, allocations: 0.8096 MB / 1.547 GB, free: 13.52 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 5.811e-05/0.5938, allocations: 37.7 kB / 1.547 GB, free: 13.47 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003651/0.5942, allocations: 492.2 kB / 1.548 GB, free: 12.99 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001618/0.5943, allocations: 182.4 kB / 1.548 GB, free: 12.81 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001979/0.5945, allocations: 126.2 kB / 1.548 GB, free: 12.68 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.5947, allocations: 330 kB / 1.549 GB, free: 12.35 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004291/0.5951, allocations: 245.2 kB / 1.549 GB, free: 12.11 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005875/0.5957, allocations: 479.4 kB / 1.549 GB, free: 11.57 MB / 1.248 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.003625/0.5993, allocations: 1.462 MB / 1.551 GB, free: 10.06 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.5993, allocations: 4 kB / 1.551 GB, free: 10.05 MB / 1.248 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001293/0.6006, allocations: 0.7873 MB / 1.551 GB, free: 9.258 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.6006, allocations: 11.98 kB / 1.551 GB, free: 9.246 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.6006, allocations: 7.938 kB / 1.551 GB, free: 9.238 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000161/0.6008, allocations: 65.62 kB / 1.551 GB, free: 9.168 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006777/0.6015, allocations: 152.2 kB / 1.552 GB, free: 9.02 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002567/0.604, allocations: 2.906 MB / 1.554 GB, free: 5.883 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007397/0.6048, allocations: 28.2 kB / 1.554 GB, free: 5.855 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-05/0.6048, allocations: 24 kB / 1.555 GB, free: 5.832 MB / 1.248 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.0004275/0.6053, allocations: 310.8 kB / 1.555 GB, free: 5.52 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/0.6054, allocations: 99.39 kB / 1.555 GB, free: 5.422 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000161/0.6056, allocations: 100.7 kB / 1.555 GB, free: 5.32 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.828e-06/0.6056, allocations: 8 kB / 1.555 GB, free: 5.312 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.6056, allocations: 0 / 1.555 GB, free: 5.312 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001062/0.6066, allocations: 0.8349 MB / 1.556 GB, free: 4.387 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002832/0.6095, allocations: 1.63 MB / 1.557 GB, free: 2.664 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.6095, allocations: 4.094 kB / 1.557 GB, free: 2.66 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006179/0.6101, allocations: 131.8 kB / 1.558 GB, free: 2.531 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.091e-05/0.6102, allocations: 36.83 kB / 1.558 GB, free: 2.492 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.845e-05/0.6102, allocations: 16 kB / 1.558 GB, free: 2.477 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001276/0.6115, allocations: 1.487 MB / 1.559 GB, free: 0.875 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/0.6115, allocations: 4.062 kB / 1.559 GB, free: 0.8711 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001575/0.6131, allocations: 1.078 MB / 1.56 GB, free: 15.74 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004227/0.6135, allocations: 159.3 kB / 1.56 GB, free: 15.58 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001167/0.6136, allocations: 19.94 kB / 1.56 GB, free: 15.56 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006782/0.6143, allocations: 33.98 kB / 1.56 GB, free: 15.53 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.556e-05/0.6144, allocations: 55.88 kB / 1.56 GB, free: 15.48 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.105e-05/0.6145, allocations: 23.98 kB / 1.56 GB, free: 15.45 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0007008/0.6152, allocations: 0.5654 MB / 1.561 GB, free: 14.89 MB / 1.264 GB Notification: Performance of sort global known variables: time 8e-08/0.6152, allocations: 0 / 1.561 GB, free: 14.89 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0008142/0.616, allocations: 275.9 kB / 1.561 GB, free: 14.62 MB / 1.264 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.002054/0.618, allocations: 1.695 MB / 1.563 GB, free: 12.86 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001346/0.6194, allocations: 0.7805 MB / 1.564 GB, free: 12.05 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.6194, allocations: 0 / 1.564 GB, free: 12.05 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0005998/0.62, allocations: 394.3 kB / 1.564 GB, free: 11.65 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002463/0.6224, allocations: 0.6027 MB / 1.565 GB, free: 11.06 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009734/0.6322, allocations: 7.024 MB / 1.571 GB, free: 3.738 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005435/0.6327, allocations: 0.489 MB / 1.572 GB, free: 3.215 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.000765/0.6335, allocations: 219.6 kB / 1.572 GB, free: 2.996 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000479/0.634, allocations: 351.3 kB / 1.572 GB, free: 2.652 MB / 1.264 GB Notification: Performance of SimCode: time 6.11e-07/0.634, allocations: 0 / 1.572 GB, free: 2.652 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09108/0.725, allocations: 30.54 MB / 1.602 GB, free: 4.789 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.5/13.22, allocations: 3.938 kB / 1.602 GB, free: 4.785 MB / 1.295 GB " [Timeout remaining time 287] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.fmu > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) [Timeout 420.0] 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/jenkins1/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: 19.92520520099788]