Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.000915/0.000915, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001044/0.001044, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9446/0.9446, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.673/1.673, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.9505 GB, free: 3.453 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.039e-05/2.216e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.449 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState): time 0.6172/0.6172, allocations: 196.4 MB / 1.142 GB, free: 14.25 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.0153/0.6325, allocations: 12.81 MB / 1.155 GB, free: 5.57 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002589/0.6351, allocations: 89.88 kB / 1.155 GB, free: 5.523 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.002107/0.6372, allocations: 0.8001 MB / 1.156 GB, free: 5.047 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.005793/0.643, allocations: 2.303 MB / 1.158 GB, free: 3.777 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002941/0.6459, allocations: 1.253 MB / 1.159 GB, free: 3.129 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.004181/0.6501, allocations: 2.959 MB / 1.162 GB, free: 1.758 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001273/0.6514, allocations: 0.9013 MB / 1.163 GB, free: 1.324 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005315/0.6567, allocations: 2.87 MB / 1.166 GB, free: 56 kB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001904/0.6586, allocations: 0.9445 MB / 1.167 GB, free: 15.77 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001868/0.6588, allocations: 99.84 kB / 1.167 GB, free: 15.77 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002727/0.6615, allocations: 1.348 MB / 1.168 GB, free: 15.3 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0004608/0.662, allocations: 468.6 kB / 1.169 GB, free: 15.07 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0006446/0.6626, allocations: 472.2 kB / 1.169 GB, free: 14.89 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.003125/0.6658, allocations: 2.086 MB / 1.171 GB, free: 14.15 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.6658, allocations: 1.125 kB / 1.171 GB, free: 14.15 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.494e-06/0.6658, allocations: 0.9375 kB / 1.171 GB, free: 14.15 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.795e-05/0.6658, allocations: 0 / 1.171 GB, free: 14.15 MB / 1.01 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.001987/0.6678, allocations: 1.589 MB / 1.173 GB, free: 13.09 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.6678, allocations: 12.47 kB / 1.173 GB, free: 13.09 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00013/0.668, allocations: 139.1 kB / 1.173 GB, free: 13 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001298/0.6693, allocations: 440.2 kB / 1.173 GB, free: 12.89 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001198/0.6704, allocations: 0.8764 MB / 1.174 GB, free: 12.36 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.397e-05/0.6705, allocations: 72.84 kB / 1.174 GB, free: 12.33 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.511e-05/0.6706, allocations: 86.72 kB / 1.174 GB, free: 12.3 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00154/0.6721, allocations: 1.297 MB / 1.175 GB, free: 11.55 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.6722, allocations: 8.656 kB / 1.175 GB, free: 11.55 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.139e-05/0.6722, allocations: 39.28 kB / 1.175 GB, free: 11.52 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.291e-05/0.6723, allocations: 33.22 kB / 1.175 GB, free: 11.52 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00123/0.6735, allocations: 0.8851 MB / 1.176 GB, free: 11.22 MB / 1.01 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.004459/0.678, allocations: 5.355 MB / 1.182 GB, free: 7.102 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003217/0.6783, allocations: 255 kB / 1.182 GB, free: 6.91 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001439/0.6784, allocations: 147.9 kB / 1.182 GB, free: 6.824 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001063/0.6785, allocations: 19.19 kB / 1.182 GB, free: 6.824 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.6786, allocations: 39.88 kB / 1.182 GB, free: 6.781 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005137/0.6791, allocations: 144.2 kB / 1.182 GB, free: 6.711 MB / 1.01 GB Notification: Performance of pre-optimization done (n=20): time 2.414e-06/0.6791, allocations: 0 / 1.182 GB, free: 6.711 MB / 1.01 GB Notification: Performance of matching and sorting (n=20): time 0.0007991/0.6799, allocations: 473.8 kB / 1.183 GB, free: 6.531 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.602e-05/0.6799, allocations: 194.1 kB / 1.183 GB, free: 6.305 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001324/0.6813, allocations: 1.324 MB / 1.184 GB, free: 5.789 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/0.6813, allocations: 28.3 kB / 1.184 GB, free: 5.758 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003412/0.6816, allocations: 0.6329 MB / 1.185 GB, free: 5.246 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 5.319e-05/0.6817, allocations: 82.98 kB / 1.185 GB, free: 5.184 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001524/0.6818, allocations: 140.1 kB / 1.185 GB, free: 5.113 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 8.692e-05/0.6819, allocations: 331.2 kB / 1.185 GB, free: 4.797 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003713/0.6823, allocations: 235.9 kB / 1.185 GB, free: 4.734 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005681/0.6829, allocations: 0.7318 MB / 1.186 GB, free: 4.047 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006821/0.6835, allocations: 0.6923 MB / 1.187 GB, free: 3.504 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/0.6836, allocations: 2.438 kB / 1.187 GB, free: 3.504 MB / 1.01 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001151/0.6847, allocations: 0.8546 MB / 1.188 GB, free: 3.188 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.6847, allocations: 9.25 kB / 1.188 GB, free: 3.188 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.6847, allocations: 13.94 kB / 1.188 GB, free: 3.184 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.6848, allocations: 18.81 kB / 1.188 GB, free: 3.18 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003668/0.6851, allocations: 169.3 kB / 1.188 GB, free: 3.164 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.451e-05/0.6851, allocations: 22.06 kB / 1.188 GB, free: 3.16 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007527/0.6859, allocations: 128 kB / 1.188 GB, free: 3.141 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.766e-05/0.6859, allocations: 38.27 kB / 1.188 GB, free: 3.137 MB / 1.01 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.0003352/0.6863, allocations: 306 kB / 1.188 GB, free: 2.926 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000145/0.6864, allocations: 124.3 kB / 1.188 GB, free: 2.859 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003488/0.6868, allocations: 296.5 kB / 1.189 GB, free: 2.719 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.6868, allocations: 2.844 kB / 1.189 GB, free: 2.719 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.6868, allocations: 5.938 kB / 1.189 GB, free: 2.715 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.6868, allocations: 4.656 kB / 1.189 GB, free: 2.715 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001524/0.6883, allocations: 1.546 MB / 1.19 GB, free: 1.68 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.6883, allocations: 3.375 kB / 1.19 GB, free: 1.68 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001175/0.6884, allocations: 38.36 kB / 1.19 GB, free: 1.676 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.972e-06/0.6884, allocations: 3.812 kB / 1.19 GB, free: 1.676 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.6884, allocations: 7.938 kB / 1.19 GB, free: 1.672 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.6885, allocations: 6.891 kB / 1.19 GB, free: 1.672 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.6885, allocations: 7.844 kB / 1.19 GB, free: 1.668 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003646/0.6888, allocations: 0.4899 MB / 1.191 GB, free: 1.312 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002527/0.6891, allocations: 167.3 kB / 1.191 GB, free: 1.215 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.228e-05/0.6892, allocations: 9.812 kB / 1.191 GB, free: 1.211 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003589/0.6895, allocations: 50.95 kB / 1.191 GB, free: 1.203 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.814e-05/0.6895, allocations: 20.09 kB / 1.191 GB, free: 1.195 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.6896, allocations: 14.94 kB / 1.191 GB, free: 1.191 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0008859/0.6904, allocations: 0.9153 MB / 1.192 GB, free: 0.8477 MB / 1.01 GB Notification: Performance of sort global known variables: time 7.1e-08/0.6904, allocations: 0 / 1.192 GB, free: 0.8477 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.000726/0.6912, allocations: 282.4 kB / 1.192 GB, free: 0.8047 MB / 1.01 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.0008214/0.692, allocations: 1.112 MB / 1.193 GB, free: 15.9 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.0006424/0.6926, allocations: 454.1 kB / 1.194 GB, free: 15.77 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.6926, allocations: 2.062 kB / 1.194 GB, free: 15.77 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 9.311e-05/0.6927, allocations: 94.06 kB / 1.194 GB, free: 15.74 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001432/0.6942, allocations: 0.5859 MB / 1.194 GB, free: 15.56 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008628/0.7028, allocations: 8.136 MB / 1.202 GB, free: 11 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005266/0.7033, allocations: 0.5278 MB / 1.203 GB, free: 10.69 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.0007259/0.704, allocations: 237.2 kB / 1.203 GB, free: 10.58 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003835/0.7044, allocations: 416.2 kB / 1.204 GB, free: 10.23 MB / 1.026 GB Notification: Performance of SimCode: time 2.425e-06/0.7044, allocations: 0 / 1.204 GB, free: 10.23 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04434/0.7488, allocations: 30.37 MB / 1.233 GB, free: 7.434 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.845/8.593, allocations: 3.094 kB / 1.233 GB, free: 7.434 MB / 1.042 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 12.731080593541265]