Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001251/0.001251, allocations: 118.9 kB / 17.17 MB, free: 5.977 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.001306/0.001306, allocations: 211.3 kB / 20.13 MB, free: 3.035 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.392/1.392, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.779/2.779, 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.MoistureMixingConservationSteadyState,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState,fileNamePrefix="Buildings_latest_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.001842/0.001842, allocations: 63.91 kB / 1.165 GB, free: 500 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8474/0.8493, allocations: 178.9 MB / 1.34 GB, free: 16.3 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState): time 0.2515/1.101, allocations: 225.8 MB / 1.561 GB, free: 6.191 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.01916/1.12, allocations: 13.82 MB / 1.574 GB, free: 8.34 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002447/1.122, allocations: 91.25 kB / 1.574 GB, free: 8.25 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.002163/1.124, allocations: 0.8386 MB / 1.575 GB, free: 7.406 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.00574/1.13, allocations: 2.24 MB / 1.577 GB, free: 5.156 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.003201/1.133, allocations: 1.191 MB / 1.578 GB, free: 3.973 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.003842/1.137, allocations: 2.872 MB / 1.581 GB, free: 1.098 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00136/1.139, allocations: 0.9953 MB / 1.582 GB, free: 84 kB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005696/1.144, allocations: 2.708 MB / 1.585 GB, free: 13.37 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002147/1.146, allocations: 1.065 MB / 1.586 GB, free: 12.32 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0001718/1.147, allocations: 100 kB / 1.586 GB, free: 12.22 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002927/1.15, allocations: 1.656 MB / 1.588 GB, free: 10.56 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0004655/1.15, allocations: 454.4 kB / 1.588 GB, free: 10.12 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.0007407/1.151, allocations: 0.6801 MB / 1.589 GB, free: 9.434 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.002847/1.154, allocations: 2.094 MB / 1.591 GB, free: 7.332 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/1.154, allocations: 0 / 1.591 GB, free: 7.332 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.182e-06/1.154, allocations: 0 / 1.591 GB, free: 7.332 MB / 1.264 GB Notification: Performance of Transformations before backend: time 1.586e-05/1.154, allocations: 0 / 1.591 GB, free: 7.332 MB / 1.264 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.002526/1.156, allocations: 1.668 MB / 1.592 GB, free: 5.609 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/1.156, allocations: 16.02 kB / 1.592 GB, free: 5.594 MB / 1.264 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.961e-05/1.156, allocations: 22 kB / 1.592 GB, free: 5.57 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001628/1.156, allocations: 143.5 kB / 1.593 GB, free: 5.422 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002171/1.159, allocations: 446.6 kB / 1.593 GB, free: 4.984 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001458/1.16, allocations: 0.953 MB / 1.594 GB, free: 3.988 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.022e-05/1.16, allocations: 69.94 kB / 1.594 GB, free: 3.922 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001218/1.16, allocations: 88 kB / 1.594 GB, free: 3.836 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002065/1.162, allocations: 1.235 MB / 1.595 GB, free: 2.48 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.414e-05/1.162, allocations: 7.938 kB / 1.595 GB, free: 2.473 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.803e-05/1.162, allocations: 40 kB / 1.595 GB, free: 2.434 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.57e-05/1.162, allocations: 33.3 kB / 1.595 GB, free: 2.402 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001961/1.164, allocations: 0.883 MB / 1.596 GB, free: 1.52 MB / 1.264 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.007153/1.172, allocations: 6.247 MB / 1.602 GB, free: 10.93 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004565/1.172, allocations: 251.7 kB / 1.603 GB, free: 10.63 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002235/1.172, allocations: 145 kB / 1.603 GB, free: 10.47 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001957/1.172, allocations: 105.1 kB / 1.603 GB, free: 10.35 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/1.172, allocations: 34.56 kB / 1.603 GB, free: 10.3 MB / 1.279 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000779/1.173, allocations: 143.2 kB / 1.603 GB, free: 10.16 MB / 1.279 GB Notification: Performance of pre-optimization done (n=20): time 2.304e-06/1.173, allocations: 0 / 1.603 GB, free: 10.16 MB / 1.279 GB Notification: Performance of matching and sorting (n=20): time 0.001226/1.174, allocations: 485 kB / 1.603 GB, free: 9.684 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001163/1.175, allocations: 187.9 kB / 1.604 GB, free: 9.457 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002036/1.177, allocations: 1.299 MB / 1.605 GB, free: 8.141 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 3.755e-05/1.177, allocations: 41.64 kB / 1.605 GB, free: 8.094 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005318/1.177, allocations: 0.6334 MB / 1.606 GB, free: 7.457 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 7.516e-05/1.177, allocations: 83.31 kB / 1.606 GB, free: 7.375 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002392/1.178, allocations: 142.1 kB / 1.606 GB, free: 7.227 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001416/1.178, allocations: 326 kB / 1.606 GB, free: 6.902 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006728/1.178, allocations: 236.9 kB / 1.606 GB, free: 6.672 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009446/1.179, allocations: 0.5597 MB / 1.607 GB, free: 5.969 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/1.18, allocations: 0.6923 MB / 1.608 GB, free: 5.137 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.553e-06/1.18, allocations: 4 kB / 1.608 GB, free: 5.133 MB / 1.279 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001949/1.182, allocations: 0.8545 MB / 1.608 GB, free: 4.273 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/1.182, allocations: 12 kB / 1.608 GB, free: 4.262 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/1.182, allocations: 8 kB / 1.608 GB, free: 4.254 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.132e-05/1.182, allocations: 16 kB / 1.608 GB, free: 4.238 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007054/1.183, allocations: 176 kB / 1.609 GB, free: 4.066 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.738e-05/1.183, allocations: 23.88 kB / 1.609 GB, free: 4.043 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00124/1.184, allocations: 127.9 kB / 1.609 GB, free: 3.918 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.518e-05/1.184, allocations: 35.98 kB / 1.609 GB, free: 3.883 MB / 1.279 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.0004427/1.185, allocations: 297.5 kB / 1.609 GB, free: 3.582 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002487/1.185, allocations: 127.2 kB / 1.609 GB, free: 3.457 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005384/1.186, allocations: 292.3 kB / 1.609 GB, free: 3.164 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/1.186, allocations: 4 kB / 1.609 GB, free: 3.16 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/1.186, allocations: 7.875 kB / 1.609 GB, free: 3.152 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/1.186, allocations: 4 kB / 1.609 GB, free: 3.148 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002145/1.188, allocations: 1.666 MB / 1.611 GB, free: 1.379 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/1.188, allocations: 0 / 1.611 GB, free: 1.379 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002152/1.188, allocations: 43.91 kB / 1.611 GB, free: 1.336 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-06/1.188, allocations: 4.375 kB / 1.611 GB, free: 1.332 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/1.188, allocations: 12 kB / 1.611 GB, free: 1.32 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/1.188, allocations: 4 kB / 1.611 GB, free: 1.316 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/1.188, allocations: 8.172 kB / 1.611 GB, free: 1.309 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000598/1.189, allocations: 499 kB / 1.612 GB, free: 0.7656 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003326/1.189, allocations: 248.1 kB / 1.612 GB, free: 0.5039 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000131/1.189, allocations: 15.95 kB / 1.612 GB, free: 500 kB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007173/1.19, allocations: 47.94 kB / 1.612 GB, free: 452 kB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.577e-05/1.19, allocations: 23.92 kB / 1.612 GB, free: 428 kB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.118e-05/1.19, allocations: 12 kB / 1.612 GB, free: 416 kB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001449/1.191, allocations: 0.912 MB / 1.613 GB, free: 15.49 MB / 1.295 GB Notification: Performance of sort global known variables: time 9e-08/1.191, allocations: 0 / 1.613 GB, free: 15.49 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.000872/1.192, allocations: 279.6 kB / 1.613 GB, free: 15.22 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.001111/1.193, allocations: 1.135 MB / 1.614 GB, free: 14.02 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.001077/1.194, allocations: 447 kB / 1.615 GB, free: 13.59 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/1.195, allocations: 0 / 1.615 GB, free: 13.59 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0001536/1.195, allocations: 101.2 kB / 1.615 GB, free: 13.49 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002447/1.197, allocations: 0.5801 MB / 1.615 GB, free: 12.92 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0122/1.209, allocations: 8.16 MB / 1.623 GB, free: 4.285 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007662/1.21, allocations: 1.114 MB / 1.624 GB, free: 3.141 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0007272/1.211, allocations: 241.6 kB / 1.625 GB, free: 2.902 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005242/1.211, allocations: 411.3 kB / 1.625 GB, free: 2.5 MB / 1.295 GB Notification: Performance of SimCode: time 5.41e-07/1.211, allocations: 0 / 1.625 GB, free: 2.5 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05445/1.266, allocations: 27.69 MB / 1.652 GB, free: 7.27 MB / 1.326 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.628/10.89, allocations: 12.06 kB / 1.652 GB, free: 7.258 MB / 1.326 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 16.988776615005918]