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.001569/0.001569, allocations: 113.9 kB / 17.16 MB, free: 5.895 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.001617/0.001617, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.41/1.41, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.81/2.81, allocations: 0.49 GB / 0.7923 GB, free: 1.484 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="Buildings_12_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.001952/0.001952, allocations: 63.91 kB / 1.15 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8385/0.8404, allocations: 176.1 MB / 1.321 GB, free: 24.69 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.2471/1.088, allocations: 225 MB / 1.541 GB, free: 8.086 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.009234/1.097, allocations: 5.759 MB / 1.547 GB, free: 2.32 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001281/1.098, allocations: 55.5 kB / 1.547 GB, free: 2.266 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001506/1.1, allocations: 0.6214 MB / 1.548 GB, free: 1.641 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.004256/1.104, allocations: 1.91 MB / 1.549 GB, free: 15.72 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.002678/1.107, allocations: 1.2 MB / 1.551 GB, free: 14.54 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.00333/1.11, allocations: 2.96 MB / 1.553 GB, free: 11.57 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001072/1.111, allocations: 0.8549 MB / 1.554 GB, free: 10.69 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002053/1.113, allocations: 1.331 MB / 1.556 GB, free: 9.355 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001863/1.115, allocations: 0.9923 MB / 1.557 GB, free: 8.371 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0001581/1.115, allocations: 108 kB / 1.557 GB, free: 8.266 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002514/1.118, allocations: 1.512 MB / 1.558 GB, free: 6.75 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0004524/1.118, allocations: 470.6 kB / 1.559 GB, free: 6.289 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0006563/1.119, allocations: 0.6534 MB / 1.559 GB, free: 5.633 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.002567/1.121, allocations: 2.141 MB / 1.561 GB, free: 3.484 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/1.121, allocations: 3.984 kB / 1.561 GB, free: 3.48 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.273e-06/1.121, allocations: 0 / 1.561 GB, free: 3.48 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.873e-05/1.121, allocations: 0 / 1.561 GB, free: 3.48 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.002352/1.124, allocations: 1.537 MB / 1.563 GB, free: 1.887 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/1.124, allocations: 19.92 kB / 1.563 GB, free: 1.867 MB / 1.232 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.598e-05/1.124, allocations: 26 kB / 1.563 GB, free: 1.844 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001702/1.124, allocations: 139.3 kB / 1.563 GB, free: 1.699 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001908/1.126, allocations: 326.8 kB / 1.563 GB, free: 1.379 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001299/1.127, allocations: 0.8638 MB / 1.564 GB, free: 484 kB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.451e-05/1.127, allocations: 66 kB / 1.564 GB, free: 416 kB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001445/1.127, allocations: 84 kB / 1.564 GB, free: 332 kB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001593/1.129, allocations: 0.9093 MB / 1.565 GB, free: 15.41 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.378e-05/1.129, allocations: 3.938 kB / 1.565 GB, free: 15.4 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.811e-05/1.129, allocations: 43.94 kB / 1.565 GB, free: 15.36 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-05/1.129, allocations: 30 kB / 1.565 GB, free: 15.33 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001457/1.13, allocations: 0.8354 MB / 1.566 GB, free: 14.49 MB / 1.248 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005303/1.136, allocations: 3.677 MB / 1.57 GB, free: 10.57 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007927/1.136, allocations: 468.4 kB / 1.57 GB, free: 10.1 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004587/1.137, allocations: 279.3 kB / 1.57 GB, free: 9.828 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001935/1.137, allocations: 105.4 kB / 1.57 GB, free: 9.703 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.121e-05/1.137, allocations: 46.94 kB / 1.571 GB, free: 9.648 MB / 1.248 GB Notification: Performance of pre-optimization done (n=47): time 2.144e-06/1.137, allocations: 0 / 1.571 GB, free: 9.648 MB / 1.248 GB Notification: Performance of matching and sorting (n=49): time 0.00373/1.141, allocations: 1.889 MB / 1.572 GB, free: 7.668 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/1.141, allocations: 55.84 kB / 1.572 GB, free: 7.602 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/1.142, allocations: 0.8097 MB / 1.573 GB, free: 6.785 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 5.647e-05/1.142, allocations: 37.7 kB / 1.573 GB, free: 6.742 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003712/1.142, allocations: 488.2 kB / 1.574 GB, free: 6.258 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001676/1.143, allocations: 182.4 kB / 1.574 GB, free: 6.078 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001948/1.143, allocations: 118.2 kB / 1.574 GB, free: 5.957 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001522/1.143, allocations: 330 kB / 1.574 GB, free: 5.629 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000445/1.143, allocations: 249.2 kB / 1.575 GB, free: 5.387 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005603/1.144, allocations: 384.6 kB / 1.575 GB, free: 4.961 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.003803/1.148, allocations: 1.537 MB / 1.576 GB, free: 3.363 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/1.148, allocations: 3.938 kB / 1.576 GB, free: 3.359 MB / 1.248 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001379/1.149, allocations: 0.7931 MB / 1.577 GB, free: 2.555 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/1.149, allocations: 8 kB / 1.577 GB, free: 2.547 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/1.149, allocations: 4 kB / 1.577 GB, free: 2.543 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001691/1.149, allocations: 65.67 kB / 1.577 GB, free: 2.473 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00067/1.15, allocations: 143.8 kB / 1.577 GB, free: 2.332 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00266/1.153, allocations: 3.125 MB / 1.58 GB, free: 14.92 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008343/1.153, allocations: 27.98 kB / 1.58 GB, free: 14.89 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.194e-05/1.154, allocations: 20 kB / 1.581 GB, free: 14.88 MB / 1.264 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.0004945/1.154, allocations: 309.6 kB / 1.581 GB, free: 14.56 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001701/1.154, allocations: 99.39 kB / 1.581 GB, free: 14.46 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001927/1.154, allocations: 100.7 kB / 1.581 GB, free: 14.37 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/1.154, allocations: 4.094 kB / 1.581 GB, free: 14.36 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/1.154, allocations: 3.984 kB / 1.581 GB, free: 14.36 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00112/1.156, allocations: 0.8427 MB / 1.582 GB, free: 13.43 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002904/1.158, allocations: 1.788 MB / 1.584 GB, free: 11.54 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-06/1.158, allocations: 4 kB / 1.584 GB, free: 11.54 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006342/1.159, allocations: 136.2 kB / 1.584 GB, free: 11.41 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001044/1.159, allocations: 36.84 kB / 1.584 GB, free: 11.37 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.96e-05/1.159, allocations: 15.98 kB / 1.584 GB, free: 11.35 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001371/1.161, allocations: 1.594 MB / 1.585 GB, free: 9.621 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/1.161, allocations: 7.938 kB / 1.585 GB, free: 9.613 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001612/1.162, allocations: 1.078 MB / 1.586 GB, free: 8.477 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003838/1.163, allocations: 240.5 kB / 1.587 GB, free: 8.223 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/1.163, allocations: 19.94 kB / 1.587 GB, free: 8.203 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000666/1.163, allocations: 26.62 kB / 1.587 GB, free: 8.18 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/1.163, allocations: 47.94 kB / 1.587 GB, free: 8.133 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.119e-05/1.164, allocations: 31.92 kB / 1.587 GB, free: 8.102 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0007351/1.164, allocations: 0.5614 MB / 1.587 GB, free: 7.543 MB / 1.264 GB Notification: Performance of sort global known variables: time 8e-08/1.164, allocations: 0 / 1.587 GB, free: 7.543 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0008504/1.165, allocations: 276 kB / 1.588 GB, free: 7.273 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.002125/1.167, allocations: 1.691 MB / 1.589 GB, free: 5.512 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001364/1.169, allocations: 0.7804 MB / 1.59 GB, free: 4.707 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/1.169, allocations: 0 / 1.59 GB, free: 4.707 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0005855/1.169, allocations: 395.8 kB / 1.59 GB, free: 4.309 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002635/1.172, allocations: 0.6028 MB / 1.591 GB, free: 3.723 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01052/1.182, allocations: 7.048 MB / 1.598 GB, free: 12.37 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007462/1.183, allocations: 1.095 MB / 1.599 GB, free: 11.25 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.0007782/1.184, allocations: 215.7 kB / 1.599 GB, free: 11.03 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004744/1.184, allocations: 343.3 kB / 1.599 GB, free: 10.7 MB / 1.279 GB Notification: Performance of SimCode: time 1.263e-06/1.184, allocations: 0 / 1.599 GB, free: 10.7 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06282/1.247, allocations: 27.66 MB / 1.626 GB, free: 15.55 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.43/14.67, allocations: 4.062 kB / 1.626 GB, free: 15.54 MB / 1.311 GB " [Timeout remaining time 285] (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: 20.907473131024744]