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.001214/0.001214, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001355/0.001355, allocations: 216.2 kB / 22.26 MB, free: 5.113 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.341/1.341, allocations: 230.6 MB / 256 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 179] 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.986/2.986, allocations: 0.505 GB / 0.8101 GB, free: 22.04 MB / 0.6231 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="Buildings_latest_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.001951/0.001951, allocations: 63.89 kB / 1.177 GB, free: 17.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.303/0.3049, allocations: 180.2 MB / 1.353 GB, free: 8.414 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.2479/0.5529, allocations: 225.6 MB / 1.573 GB, free: 6.004 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.00959/0.5625, allocations: 5.786 MB / 1.579 GB, free: 216 kB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001162/0.5636, allocations: 51.56 kB / 1.579 GB, free: 164 kB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.001489/0.5651, allocations: 0.6098 MB / 1.579 GB, free: 15.54 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.004304/0.5694, allocations: 1.949 MB / 1.581 GB, free: 13.59 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.002792/0.5722, allocations: 1.249 MB / 1.583 GB, free: 12.34 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.00369/0.5759, allocations: 3.03 MB / 1.586 GB, free: 9.312 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001062/0.577, allocations: 0.7697 MB / 1.586 GB, free: 8.52 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002274/0.5793, allocations: 1.335 MB / 1.588 GB, free: 7.18 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002024/0.5813, allocations: 0.9986 MB / 1.589 GB, free: 6.191 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0001574/0.5814, allocations: 112 kB / 1.589 GB, free: 6.082 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002769/0.5842, allocations: 1.532 MB / 1.59 GB, free: 4.547 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.0004829/0.5847, allocations: 482.5 kB / 1.591 GB, free: 4.074 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.0006919/0.5854, allocations: 0.6495 MB / 1.591 GB, free: 3.422 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.002732/0.5881, allocations: 2.145 MB / 1.593 GB, free: 1.27 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.5881, allocations: 0 / 1.593 GB, free: 1.27 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5881, allocations: 0 / 1.593 GB, free: 1.27 MB / 1.279 GB Notification: Performance of Transformations before backend: time 1.35e-05/0.5881, allocations: 0 / 1.593 GB, free: 1.27 MB / 1.279 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.002348/0.5905, allocations: 1.458 MB / 1.595 GB, free: 15.77 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.5905, allocations: 16.03 kB / 1.595 GB, free: 15.75 MB / 1.295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001787/0.5907, allocations: 139.3 kB / 1.595 GB, free: 15.61 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001823/0.5925, allocations: 326.8 kB / 1.595 GB, free: 15.29 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00142/0.5939, allocations: 0.7876 MB / 1.596 GB, free: 14.48 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.347e-05/0.594, allocations: 66 kB / 1.596 GB, free: 14.42 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/0.5941, allocations: 84 kB / 1.596 GB, free: 14.34 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001526/0.5956, allocations: 0.9092 MB / 1.597 GB, free: 13.42 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.364e-05/0.5957, allocations: 4 kB / 1.597 GB, free: 13.41 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.397e-05/0.5958, allocations: 43.98 kB / 1.597 GB, free: 13.37 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.715e-05/0.5958, allocations: 37.92 kB / 1.597 GB, free: 13.33 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001411/0.5972, allocations: 0.8353 MB / 1.598 GB, free: 12.5 MB / 1.295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005343/0.6026, allocations: 3.615 MB / 1.601 GB, free: 8.625 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007696/0.6033, allocations: 477 kB / 1.602 GB, free: 8.152 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004455/0.6038, allocations: 278 kB / 1.602 GB, free: 7.879 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001487/0.6039, allocations: 24.42 kB / 1.602 GB, free: 7.855 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.982e-05/0.604, allocations: 46.94 kB / 1.602 GB, free: 7.801 MB / 1.295 GB Notification: Performance of pre-optimization done (n=47): time 1.873e-06/0.604, allocations: 0 / 1.602 GB, free: 7.801 MB / 1.295 GB Notification: Performance of matching and sorting (n=49): time 0.003424/0.6074, allocations: 1.667 MB / 1.604 GB, free: 6.09 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.6074, allocations: 59.84 kB / 1.604 GB, free: 6.02 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009898/0.6084, allocations: 0.8097 MB / 1.605 GB, free: 5.199 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 5.14e-05/0.6085, allocations: 37.7 kB / 1.605 GB, free: 5.156 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.000383/0.6089, allocations: 488.2 kB / 1.605 GB, free: 4.676 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001625/0.609, allocations: 182.5 kB / 1.605 GB, free: 4.496 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001906/0.6092, allocations: 122.2 kB / 1.606 GB, free: 4.371 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.6094, allocations: 326 kB / 1.606 GB, free: 4.047 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000447/0.6098, allocations: 249.2 kB / 1.606 GB, free: 3.805 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005472/0.6104, allocations: 384.6 kB / 1.606 GB, free: 3.379 MB / 1.295 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.003629/0.614, allocations: 1.462 MB / 1.608 GB, free: 1.871 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.614, allocations: 0 / 1.608 GB, free: 1.871 MB / 1.295 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001311/0.6153, allocations: 0.7955 MB / 1.609 GB, free: 1.062 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.6153, allocations: 8 kB / 1.609 GB, free: 1.055 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.6153, allocations: 8 kB / 1.609 GB, free: 1.047 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001631/0.6155, allocations: 69.67 kB / 1.609 GB, free: 0.9727 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006609/0.6161, allocations: 143.8 kB / 1.609 GB, free: 0.832 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6179/1.234, allocations: 2.906 MB / 1.612 GB, free: 256.4 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008772/1.235, allocations: 32.73 kB / 1.612 GB, free: 256.4 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.904e-05/1.235, allocations: 22.94 kB / 1.612 GB, free: 256.4 MB / 1.295 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.0004469/1.235, allocations: 312 kB / 1.612 GB, free: 256.3 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000137/1.236, allocations: 97.08 kB / 1.612 GB, free: 256.3 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001608/1.236, allocations: 100.7 kB / 1.612 GB, free: 256.3 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/1.236, allocations: 5.25 kB / 1.612 GB, free: 256.3 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/1.236, allocations: 0.75 kB / 1.612 GB, free: 256.3 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009215/1.237, allocations: 0.8395 MB / 1.613 GB, free: 255.8 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002728/1.239, allocations: 1.754 MB / 1.615 GB, free: 255.5 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/1.239, allocations: 3.25 kB / 1.615 GB, free: 255.5 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005977/1.24, allocations: 130.9 kB / 1.615 GB, free: 255.5 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.45e-05/1.24, allocations: 46.48 kB / 1.615 GB, free: 255.4 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.349e-05/1.24, allocations: 16.8 kB / 1.615 GB, free: 255.4 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008968/1.241, allocations: 1.498 MB / 1.616 GB, free: 254.1 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/1.241, allocations: 5.016 kB / 1.616 GB, free: 254.1 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001424/1.242, allocations: 1.07 MB / 1.617 GB, free: 253.6 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003575/1.243, allocations: 161.7 kB / 1.618 GB, free: 253.6 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/1.243, allocations: 16.64 kB / 1.618 GB, free: 253.6 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006245/1.243, allocations: 30.52 kB / 1.618 GB, free: 253.6 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/1.244, allocations: 51.64 kB / 1.618 GB, free: 253.5 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.19e-05/1.244, allocations: 32.03 kB / 1.618 GB, free: 253.5 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0007107/1.244, allocations: 0.5582 MB / 1.618 GB, free: 253.3 MB / 1.295 GB Notification: Performance of sort global known variables: time 7e-08/1.244, allocations: 0 / 1.618 GB, free: 253.3 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.0008369/1.245, allocations: 277.6 kB / 1.619 GB, free: 253.3 MB / 1.295 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.001839/1.247, allocations: 1.685 MB / 1.62 GB, free: 252.2 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.001266/1.248, allocations: 0.7807 MB / 1.621 GB, free: 251.8 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/1.248, allocations: 2.094 kB / 1.621 GB, free: 251.8 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0005818/1.249, allocations: 404.5 kB / 1.621 GB, free: 251.6 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002361/1.251, allocations: 0.6036 MB / 1.622 GB, free: 251.4 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009372/1.261, allocations: 7.035 MB / 1.629 GB, free: 247.8 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005957/1.261, allocations: 1.085 MB / 1.63 GB, free: 247.1 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0007761/1.262, allocations: 219.2 kB / 1.63 GB, free: 247 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003638/1.262, allocations: 342.9 kB / 1.63 GB, free: 246.8 MB / 1.295 GB Notification: Performance of SimCode: time 6.51e-07/1.262, allocations: 4 kB / 1.63 GB, free: 246.8 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07383/1.336, allocations: 28.08 MB / 1.658 GB, free: 236 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.92/14.25, allocations: 13.28 kB / 1.658 GB, free: 236 MB / 1.295 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.3880047169514]