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.001182/0.001182, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.001281/0.001281, allocations: 218.4 kB / 23.04 MB, free: 5.074 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.326/1.326, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 179] 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.883/2.883, allocations: 0.49 GB / 0.7959 GB, free: 33.39 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.0018/0.0018, allocations: 62.61 kB / 1.155 GB, free: 25.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.2919, allocations: 176.1 MB / 1.327 GB, free: 1.961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState): time 0.235/0.5269, allocations: 226.4 MB / 1.548 GB, free: 14.72 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.01885/0.5458, allocations: 13.9 MB / 1.561 GB, free: 0.7852 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00186/0.5476, allocations: 87.25 kB / 1.561 GB, free: 0.6992 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.00203/0.5497, allocations: 0.8386 MB / 1.562 GB, free: 15.86 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.005496/0.5552, allocations: 2.28 MB / 1.564 GB, free: 13.57 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.003037/0.5582, allocations: 1.236 MB / 1.566 GB, free: 12.34 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.003816/0.562, allocations: 2.95 MB / 1.569 GB, free: 9.383 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001196/0.5632, allocations: 0.9139 MB / 1.569 GB, free: 8.445 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005415/0.5686, allocations: 2.742 MB / 1.572 GB, free: 5.699 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001975/0.5706, allocations: 1.076 MB / 1.573 GB, free: 4.637 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0001597/0.5708, allocations: 100 kB / 1.573 GB, free: 4.539 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002923/0.5737, allocations: 1.683 MB / 1.575 GB, free: 2.852 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0004338/0.5741, allocations: 450.4 kB / 1.575 GB, free: 2.41 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.0007038/0.5748, allocations: 0.6763 MB / 1.576 GB, free: 1.73 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.00271/0.5775, allocations: 2.086 MB / 1.578 GB, free: 15.64 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.5775, allocations: 4 kB / 1.578 GB, free: 15.63 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.213e-06/0.5775, allocations: 0 / 1.578 GB, free: 15.63 MB / 1.279 GB Notification: Performance of Transformations before backend: time 1.417e-05/0.5776, allocations: 4 kB / 1.578 GB, free: 15.63 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: 225 * Number of variables: 225 Notification: Performance of Generate backend data structure: time 0.002411/0.58, allocations: 1.6 MB / 1.58 GB, free: 13.99 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.58, allocations: 8.031 kB / 1.58 GB, free: 13.98 MB / 1.279 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.497e-05/0.58, allocations: 29.94 kB / 1.58 GB, free: 13.95 MB / 1.279 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001515/0.5802, allocations: 139.6 kB / 1.58 GB, free: 13.81 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002061/0.5823, allocations: 442.6 kB / 1.58 GB, free: 13.38 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001461/0.5837, allocations: 0.8732 MB / 1.581 GB, free: 12.46 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.471e-05/0.5838, allocations: 66 kB / 1.581 GB, free: 12.4 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001259/0.5839, allocations: 91.94 kB / 1.581 GB, free: 12.31 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002016/0.5859, allocations: 1.234 MB / 1.582 GB, free: 10.96 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.609e-05/0.5859, allocations: 7.938 kB / 1.582 GB, free: 10.95 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.575e-05/0.586, allocations: 36 kB / 1.582 GB, free: 10.91 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.472e-05/0.5861, allocations: 37.3 kB / 1.583 GB, free: 10.88 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001872/0.588, allocations: 0.8752 MB / 1.583 GB, free: 10 MB / 1.279 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.006979/0.5949, allocations: 6.182 MB / 1.589 GB, free: 3.48 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004147/0.5953, allocations: 255.7 kB / 1.59 GB, free: 3.176 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001948/0.5955, allocations: 141 kB / 1.59 GB, free: 3.02 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001272/0.5957, allocations: 27.98 kB / 1.59 GB, free: 2.992 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.5957, allocations: 38.55 kB / 1.59 GB, free: 2.945 MB / 1.279 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007129/0.5964, allocations: 131.4 kB / 1.59 GB, free: 2.816 MB / 1.279 GB Notification: Performance of pre-optimization done (n=20): time 1.974e-06/0.5964, allocations: 4 kB / 1.59 GB, free: 2.812 MB / 1.279 GB Notification: Performance of matching and sorting (n=20): time 0.001175/0.5976, allocations: 481 kB / 1.59 GB, free: 2.336 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.5977, allocations: 187.9 kB / 1.591 GB, free: 2.109 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001826/0.5995, allocations: 1.311 MB / 1.592 GB, free: 0.7812 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 3.575e-05/0.5996, allocations: 29.7 kB / 1.592 GB, free: 0.7461 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004823/0.6, allocations: 0.6334 MB / 1.593 GB, free: 108 kB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 7.251e-05/0.6001, allocations: 83.3 kB / 1.593 GB, free: 24 kB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002215/0.6003, allocations: 146.2 kB / 1.593 GB, free: 15.88 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.6005, allocations: 326 kB / 1.593 GB, free: 15.55 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006338/0.6011, allocations: 237.1 kB / 1.593 GB, free: 15.32 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008776/0.602, allocations: 0.5528 MB / 1.594 GB, free: 14.62 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001079/0.6031, allocations: 0.694 MB / 1.595 GB, free: 13.78 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.825e-06/0.6031, allocations: 8 kB / 1.595 GB, free: 13.77 MB / 1.295 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001806/0.6049, allocations: 0.8577 MB / 1.595 GB, free: 12.91 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.6049, allocations: 8.125 kB / 1.595 GB, free: 12.9 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.6049, allocations: 16 kB / 1.595 GB, free: 12.89 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.708e-05/0.6049, allocations: 12 kB / 1.595 GB, free: 12.88 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000666/0.6056, allocations: 171.7 kB / 1.596 GB, free: 12.71 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.071e-05/0.6056, allocations: 23.88 kB / 1.596 GB, free: 12.68 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001119/0.6067, allocations: 124.3 kB / 1.596 GB, free: 12.56 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.167e-05/0.6068, allocations: 39.98 kB / 1.596 GB, free: 12.52 MB / 1.295 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.0003672/0.6072, allocations: 297.5 kB / 1.596 GB, free: 12.22 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002345/0.6074, allocations: 127.2 kB / 1.596 GB, free: 12.1 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004598/0.6079, allocations: 288.3 kB / 1.596 GB, free: 11.8 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.6079, allocations: 4 kB / 1.596 GB, free: 11.8 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.6079, allocations: 3.938 kB / 1.596 GB, free: 11.8 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.6079, allocations: 7.938 kB / 1.596 GB, free: 11.79 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002061/0.6099, allocations: 1.654 MB / 1.598 GB, free: 10.04 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.61, allocations: 4 kB / 1.598 GB, free: 10.04 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001993/0.6101, allocations: 35.92 kB / 1.598 GB, free: 10 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.6102, allocations: 4 kB / 1.598 GB, free: 9.996 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.6102, allocations: 8 kB / 1.598 GB, free: 9.988 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.6102, allocations: 7.984 kB / 1.598 GB, free: 9.98 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.6102, allocations: 8.328 kB / 1.598 GB, free: 9.973 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005345/0.6107, allocations: 0.4975 MB / 1.599 GB, free: 9.422 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003104/0.611, allocations: 171.1 kB / 1.599 GB, free: 9.254 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001399/0.6112, allocations: 11.98 kB / 1.599 GB, free: 9.242 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000669/0.6118, allocations: 47.95 kB / 1.599 GB, free: 9.195 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.807e-05/0.6119, allocations: 19.91 kB / 1.599 GB, free: 9.176 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.062e-05/0.6119, allocations: 12 kB / 1.599 GB, free: 9.164 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001457/0.6134, allocations: 0.912 MB / 1.6 GB, free: 8.25 MB / 1.295 GB Notification: Performance of sort global known variables: time 9e-08/0.6134, allocations: 3.938 kB / 1.6 GB, free: 8.246 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.0007957/0.6141, allocations: 287.5 kB / 1.6 GB, free: 7.965 MB / 1.295 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.001009/0.6152, allocations: 1.121 MB / 1.601 GB, free: 6.781 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.0009771/0.6161, allocations: 455 kB / 1.602 GB, free: 6.34 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.6161, allocations: 0 / 1.602 GB, free: 6.34 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0001453/0.6163, allocations: 97.25 kB / 1.602 GB, free: 6.246 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002385/0.6187, allocations: 0.5802 MB / 1.602 GB, free: 5.68 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5177/1.136, allocations: 8.133 MB / 1.61 GB, free: 280.6 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000583/1.137, allocations: 1.115 MB / 1.611 GB, free: 279.9 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0007857/1.138, allocations: 239.4 kB / 1.611 GB, free: 279.9 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000428/1.138, allocations: 415.4 kB / 1.612 GB, free: 279.9 MB / 1.295 GB Notification: Performance of SimCode: time 7.62e-07/1.138, allocations: 0 / 1.612 GB, free: 279.9 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05607/1.194, allocations: 28.13 MB / 1.639 GB, free: 271.5 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/13.32, allocations: 18.73 kB / 1.639 GB, free: 271.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: 19.44070673099486]