Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.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.001679/0.001679, 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.00199/0.00199, allocations: 219.1 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.422/1.422, allocations: 230.6 MB / 256.8 MB, free: 7.785 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 3.066/3.066, allocations: 0.49 GB / 0.7959 GB, free: 35.5 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.MoistureMixingConservationSteadyState,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState",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.001896/0.001896, allocations: 64.11 kB / 1.155 GB, free: 25.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.3194, allocations: 176.1 MB / 1.327 GB, free: 1.461 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState): time 0.243/0.5624, allocations: 196.7 MB / 1.519 GB, free: 12.08 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.02237/0.5848, allocations: 12.81 MB / 1.531 GB, free: 15.24 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002685/0.5874, allocations: 87.25 kB / 1.531 GB, free: 15.16 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.002691/0.5901, allocations: 0.7919 MB / 1.532 GB, free: 14.36 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.006782/0.5969, allocations: 2.252 MB / 1.534 GB, free: 12.1 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.003791/0.6007, allocations: 1.211 MB / 1.535 GB, free: 10.89 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.004958/0.6057, allocations: 2.947 MB / 1.538 GB, free: 7.941 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001893/0.6076, allocations: 0.9256 MB / 1.539 GB, free: 6.992 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007792/0.6154, allocations: 2.688 MB / 1.542 GB, free: 4.301 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003547/0.6189, allocations: 1.071 MB / 1.543 GB, free: 3.242 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0005334/0.6194, allocations: 100 kB / 1.543 GB, free: 3.145 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003413/0.6228, allocations: 1.332 MB / 1.544 GB, free: 1.809 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0008044/0.6237, allocations: 450.4 kB / 1.545 GB, free: 1.367 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001417/0.6251, allocations: 0.552 MB / 1.545 GB, free: 0.8125 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.004457/0.6295, allocations: 2.055 MB / 1.547 GB, free: 14.75 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 9.177e-06/0.6295, allocations: 4 kB / 1.547 GB, free: 14.75 MB / 1.248 GB Notification: Performance of FrontEnd: time 2.305e-06/0.6295, allocations: 4 kB / 1.547 GB, free: 14.74 MB / 1.248 GB Notification: Performance of Transformations before backend: time 7.124e-05/0.6296, allocations: 0 / 1.547 GB, free: 14.74 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: 225 * Number of variables: 225 Notification: Performance of Generate backend data structure: time 0.003446/0.6331, allocations: 1.598 MB / 1.549 GB, free: 13.11 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/0.6331, allocations: 12.03 kB / 1.549 GB, free: 13.09 MB / 1.248 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.499e-05/0.6332, allocations: 33.98 kB / 1.549 GB, free: 13.06 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002639/0.6334, allocations: 151.5 kB / 1.549 GB, free: 12.91 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002478/0.6359, allocations: 438.7 kB / 1.549 GB, free: 12.48 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002045/0.6379, allocations: 0.8614 MB / 1.55 GB, free: 11.58 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.632e-05/0.638, allocations: 81.92 kB / 1.55 GB, free: 11.5 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000209/0.6382, allocations: 88 kB / 1.55 GB, free: 11.41 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002631/0.6409, allocations: 1.302 MB / 1.552 GB, free: 9.973 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.272e-05/0.6409, allocations: 11.94 kB / 1.552 GB, free: 9.961 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001231/0.641, allocations: 40 kB / 1.552 GB, free: 9.922 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.074e-05/0.6411, allocations: 33.3 kB / 1.552 GB, free: 9.891 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002217/0.6433, allocations: 0.8791 MB / 1.553 GB, free: 9.008 MB / 1.248 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.008687/0.652, allocations: 5.365 MB / 1.558 GB, free: 3.445 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005649/0.6526, allocations: 251.7 kB / 1.558 GB, free: 3.145 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002454/0.6528, allocations: 145 kB / 1.558 GB, free: 2.984 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001779/0.653, allocations: 24 kB / 1.558 GB, free: 2.961 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.301e-05/0.653, allocations: 38.55 kB / 1.558 GB, free: 2.914 MB / 1.248 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001026/0.6541, allocations: 139.3 kB / 1.558 GB, free: 2.777 MB / 1.248 GB Notification: Performance of pre-optimization done (n=20): time 4.478e-06/0.6541, allocations: 0 / 1.558 GB, free: 2.777 MB / 1.248 GB Notification: Performance of matching and sorting (n=20): time 0.001525/0.6556, allocations: 481.1 kB / 1.559 GB, free: 2.301 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001161/0.6557, allocations: 187.9 kB / 1.559 GB, free: 2.074 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002595/0.6583, allocations: 1.315 MB / 1.56 GB, free: 0.7422 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0001214/0.6584, allocations: 33.7 kB / 1.56 GB, free: 0.7031 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.000763/0.6592, allocations: 0.6295 MB / 1.561 GB, free: 68 kB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001534/0.6593, allocations: 79.44 kB / 1.561 GB, free: 15.98 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003139/0.6596, allocations: 138.2 kB / 1.561 GB, free: 15.84 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0002444/0.6599, allocations: 334 kB / 1.562 GB, free: 15.51 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007115/0.6606, allocations: 241.1 kB / 1.562 GB, free: 15.27 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00113/0.6617, allocations: 0.7247 MB / 1.562 GB, free: 14.36 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001321/0.6631, allocations: 0.6956 MB / 1.563 GB, free: 13.52 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.378e-05/0.6631, allocations: 4 kB / 1.563 GB, free: 13.52 MB / 1.264 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002369/0.6654, allocations: 0.8617 MB / 1.564 GB, free: 12.65 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 3.678e-05/0.6655, allocations: 10.19 kB / 1.564 GB, free: 12.64 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.987e-05/0.6655, allocations: 15.94 kB / 1.564 GB, free: 12.63 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.061e-05/0.6656, allocations: 12 kB / 1.564 GB, free: 12.62 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008026/0.6664, allocations: 172 kB / 1.564 GB, free: 12.45 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.704e-05/0.6664, allocations: 27.86 kB / 1.564 GB, free: 12.42 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001596/0.668, allocations: 123.9 kB / 1.564 GB, free: 12.3 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001137/0.6681, allocations: 36.23 kB / 1.564 GB, free: 12.27 MB / 1.264 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (69): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006912/0.6688, allocations: 297.5 kB / 1.565 GB, free: 11.96 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004183/0.6692, allocations: 123.2 kB / 1.565 GB, free: 11.84 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007031/0.6699, allocations: 288.3 kB / 1.565 GB, free: 11.55 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/0.6699, allocations: 7.938 kB / 1.565 GB, free: 11.54 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/0.6699, allocations: 11.94 kB / 1.565 GB, free: 11.53 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.6699, allocations: 3.984 kB / 1.565 GB, free: 11.53 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002908/0.6729, allocations: 1.541 MB / 1.567 GB, free: 9.895 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.313e-06/0.6729, allocations: 4 kB / 1.567 GB, free: 9.891 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000257/0.6731, allocations: 40.3 kB / 1.567 GB, free: 9.852 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.147e-06/0.6731, allocations: 8 kB / 1.567 GB, free: 9.844 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.394e-05/0.6732, allocations: 11.98 kB / 1.567 GB, free: 9.832 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.225e-06/0.6732, allocations: 4 kB / 1.567 GB, free: 9.828 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/0.6732, allocations: 7.938 kB / 1.567 GB, free: 9.82 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007723/0.6739, allocations: 0.4912 MB / 1.567 GB, free: 9.273 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004838/0.6744, allocations: 167.1 kB / 1.567 GB, free: 9.109 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000236/0.6747, allocations: 8 kB / 1.567 GB, free: 9.102 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007887/0.6754, allocations: 47.95 kB / 1.567 GB, free: 9.055 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.95e-05/0.6755, allocations: 19.91 kB / 1.567 GB, free: 9.035 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-05/0.6755, allocations: 12 kB / 1.567 GB, free: 9.023 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001741/0.6773, allocations: 0.9159 MB / 1.568 GB, free: 8.105 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6773, allocations: 4 kB / 1.568 GB, free: 8.102 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001131/0.6784, allocations: 275.6 kB / 1.569 GB, free: 7.832 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001379/0.6798, allocations: 1.131 MB / 1.57 GB, free: 6.641 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001243/0.681, allocations: 455 kB / 1.57 GB, free: 6.199 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.681, allocations: 0 / 1.57 GB, free: 6.199 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0001955/0.6812, allocations: 97.31 kB / 1.57 GB, free: 6.105 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002735/0.684, allocations: 0.5826 MB / 1.571 GB, free: 5.535 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01419/0.6981, allocations: 8.136 MB / 1.579 GB, free: 12.92 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006526/0.6988, allocations: 0.5239 MB / 1.579 GB, free: 12.36 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.0009123/0.6997, allocations: 241.6 kB / 1.579 GB, free: 12.12 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006711/0.7004, allocations: 411.3 kB / 1.58 GB, free: 11.71 MB / 1.279 GB Notification: Performance of SimCode: time 8.92e-07/0.7004, allocations: 0 / 1.58 GB, free: 11.71 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6494/1.35, allocations: 29.96 MB / 1.609 GB, free: 280.5 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.93/14.28, allocations: 9.203 kB / 1.609 GB, free: 280.5 MB / 1.295 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState.fmu > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.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.975721750990488]