Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001437/0.001437, allocations: 116.1 kB / 17.16 MB, free: 6.023 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.001572/0.001572, allocations: 205.5 kB / 20.13 MB, free: 3.078 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.398/1.398, allocations: 230.6 MB / 253.5 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.843/2.843, allocations: 0.5003 GB / 0.8026 GB, free: 6.887 MB / 0.6387 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="Buildings_latest_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.001878/0.001878, allocations: 63.91 kB / 1.165 GB, free: 0.5312 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8207/0.8225, allocations: 179 MB / 1.34 GB, free: 16.3 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.2585/1.081, allocations: 225 MB / 1.56 GB, free: 7.016 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.01042/1.091, allocations: 5.754 MB / 1.566 GB, free: 1.25 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001496/1.093, allocations: 55.5 kB / 1.566 GB, free: 1.195 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.00193/1.095, allocations: 0.6137 MB / 1.566 GB, free: 0.5781 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.005163/1.1, allocations: 1.921 MB / 1.568 GB, free: 14.65 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.002984/1.103, allocations: 1.191 MB / 1.569 GB, free: 13.46 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.003943/1.107, allocations: 2.955 MB / 1.572 GB, free: 10.51 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001223/1.108, allocations: 0.8627 MB / 1.573 GB, free: 9.625 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00233/1.11, allocations: 1.335 MB / 1.574 GB, free: 8.285 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002045/1.113, allocations: 0.9874 MB / 1.575 GB, free: 7.305 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0001739/1.113, allocations: 108 kB / 1.575 GB, free: 7.199 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002736/1.115, allocations: 1.508 MB / 1.577 GB, free: 5.688 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0005075/1.116, allocations: 474.6 kB / 1.577 GB, free: 5.223 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.0007386/1.117, allocations: 0.6456 MB / 1.578 GB, free: 4.574 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.002949/1.12, allocations: 2.149 MB / 1.58 GB, free: 2.418 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/1.12, allocations: 0 / 1.58 GB, free: 2.418 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.132e-06/1.12, allocations: 0 / 1.58 GB, free: 2.418 MB / 1.248 GB Notification: Performance of Transformations before backend: time 1.406e-05/1.12, allocations: 0 / 1.58 GB, free: 2.418 MB / 1.248 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.002465/1.122, allocations: 1.538 MB / 1.581 GB, free: 0.8281 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/1.122, allocations: 12.03 kB / 1.581 GB, free: 0.8164 MB / 1.248 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.699e-05/1.122, allocations: 22 kB / 1.582 GB, free: 0.793 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001788/1.122, allocations: 139.3 kB / 1.582 GB, free: 0.6484 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001979/1.124, allocations: 330.8 kB / 1.582 GB, free: 332 kB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001398/1.126, allocations: 0.8678 MB / 1.583 GB, free: 15.41 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.346e-05/1.126, allocations: 62 kB / 1.583 GB, free: 15.35 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/1.126, allocations: 87.91 kB / 1.583 GB, free: 15.27 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001621/1.128, allocations: 0.9131 MB / 1.584 GB, free: 14.35 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.32e-05/1.128, allocations: 0 / 1.584 GB, free: 14.35 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-05/1.128, allocations: 43.88 kB / 1.584 GB, free: 14.31 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.922e-05/1.128, allocations: 30 kB / 1.584 GB, free: 14.28 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001503/1.129, allocations: 0.8393 MB / 1.585 GB, free: 13.44 MB / 1.264 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005485/1.135, allocations: 3.669 MB / 1.588 GB, free: 9.508 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008329/1.136, allocations: 472.6 kB / 1.589 GB, free: 9.043 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004766/1.136, allocations: 282 kB / 1.589 GB, free: 8.762 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001892/1.136, allocations: 109.5 kB / 1.589 GB, free: 8.637 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.34e-05/1.136, allocations: 42.94 kB / 1.589 GB, free: 8.586 MB / 1.264 GB Notification: Performance of pre-optimization done (n=47): time 2.344e-06/1.136, allocations: 3.938 kB / 1.589 GB, free: 8.582 MB / 1.264 GB Notification: Performance of matching and sorting (n=49): time 0.003715/1.14, allocations: 1.885 MB / 1.591 GB, free: 6.602 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.614e-05/1.14, allocations: 55.84 kB / 1.591 GB, free: 6.535 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/1.141, allocations: 0.8136 MB / 1.592 GB, free: 5.715 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 5.321e-05/1.141, allocations: 37.7 kB / 1.592 GB, free: 5.672 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003889/1.141, allocations: 492.2 kB / 1.592 GB, free: 5.188 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001704/1.142, allocations: 178.5 kB / 1.593 GB, free: 5.012 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002018/1.142, allocations: 122.2 kB / 1.593 GB, free: 4.887 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001475/1.142, allocations: 326 kB / 1.593 GB, free: 4.562 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004514/1.142, allocations: 245.2 kB / 1.593 GB, free: 4.32 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005693/1.143, allocations: 384.6 kB / 1.594 GB, free: 3.898 MB / 1.264 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.003807/1.147, allocations: 1.535 MB / 1.595 GB, free: 2.305 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/1.147, allocations: 3.938 kB / 1.595 GB, free: 2.301 MB / 1.264 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001384/1.148, allocations: 0.7927 MB / 1.596 GB, free: 1.492 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/1.148, allocations: 8.406 kB / 1.596 GB, free: 1.484 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/1.148, allocations: 4 kB / 1.596 GB, free: 1.48 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000168/1.148, allocations: 73.67 kB / 1.596 GB, free: 1.402 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006717/1.149, allocations: 143.8 kB / 1.596 GB, free: 1.262 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00279/1.152, allocations: 3.122 MB / 1.599 GB, free: 13.85 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007568/1.153, allocations: 29.81 kB / 1.599 GB, free: 13.82 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.94e-05/1.153, allocations: 20 kB / 1.599 GB, free: 13.8 MB / 1.279 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.0004571/1.153, allocations: 315.3 kB / 1.599 GB, free: 13.49 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001583/1.153, allocations: 95.44 kB / 1.6 GB, free: 13.39 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001916/1.153, allocations: 100.7 kB / 1.6 GB, free: 13.29 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/1.153, allocations: 4 kB / 1.6 GB, free: 13.29 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/1.153, allocations: 4 kB / 1.6 GB, free: 13.29 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001107/1.155, allocations: 0.8388 MB / 1.6 GB, free: 12.36 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002851/1.157, allocations: 1.795 MB / 1.602 GB, free: 10.46 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/1.157, allocations: 4 kB / 1.602 GB, free: 10.46 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006068/1.158, allocations: 132.2 kB / 1.602 GB, free: 10.33 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.96e-05/1.158, allocations: 40.84 kB / 1.602 GB, free: 10.29 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.132e-05/1.158, allocations: 19.98 kB / 1.602 GB, free: 10.27 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001358/1.16, allocations: 1.59 MB / 1.604 GB, free: 8.543 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/1.16, allocations: 7.938 kB / 1.604 GB, free: 8.535 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001615/1.161, allocations: 1.074 MB / 1.605 GB, free: 7.406 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000368/1.162, allocations: 236.5 kB / 1.605 GB, free: 7.156 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/1.162, allocations: 19.94 kB / 1.605 GB, free: 7.137 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006552/1.162, allocations: 26.22 kB / 1.605 GB, free: 7.113 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/1.162, allocations: 47.95 kB / 1.605 GB, free: 7.066 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.423e-05/1.162, allocations: 31.97 kB / 1.605 GB, free: 7.035 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0007745/1.163, allocations: 0.5614 MB / 1.606 GB, free: 6.48 MB / 1.279 GB Notification: Performance of sort global known variables: time 7e-08/1.163, allocations: 0 / 1.606 GB, free: 6.48 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.0008507/1.164, allocations: 276 kB / 1.606 GB, free: 6.211 MB / 1.279 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.002182/1.166, allocations: 1.688 MB / 1.608 GB, free: 4.449 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.001353/1.168, allocations: 0.7812 MB / 1.609 GB, free: 3.645 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.168, allocations: 4 kB / 1.609 GB, free: 3.641 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0006008/1.168, allocations: 394.2 kB / 1.609 GB, free: 3.242 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002527/1.171, allocations: 0.6001 MB / 1.61 GB, free: 2.652 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009923/1.181, allocations: 7.043 MB / 1.616 GB, free: 11.31 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007763/1.181, allocations: 1.084 MB / 1.617 GB, free: 10.2 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0007724/1.182, allocations: 223.6 kB / 1.618 GB, free: 9.977 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004889/1.183, allocations: 347.3 kB / 1.618 GB, free: 9.637 MB / 1.295 GB Notification: Performance of SimCode: time 7.51e-07/1.183, allocations: 4 kB / 1.618 GB, free: 9.633 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06612/1.249, allocations: 27.65 MB / 1.645 GB, free: 14.43 MB / 1.326 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.86/14.11, allocations: 11.44 kB / 1.645 GB, free: 14.43 MB / 1.326 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.293584653001744]