Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007698/0.007698, allocations: 101.2 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001688/0.001689, allocations: 194.1 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.358/2.358, allocations: 390.2 MB / 0.6648 GB, free: 228 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 63.44 kB / 0.9504 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2622/0.2635, allocations: 140.4 MB / 1.088 GB, free: 1.953 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState): time 0.8281/1.092, allocations: 221.9 MB / 1.304 GB, free: 3.43 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.018/1.11, allocations: 13.77 MB / 1.318 GB, free: 3.195 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003834/1.114, allocations: 69.53 kB / 1.318 GB, free: 3.195 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002421/1.116, allocations: 0.8054 MB / 1.318 GB, free: 3.18 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.007087/1.123, allocations: 2.165 MB / 1.321 GB, free: 3.09 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003431/1.127, allocations: 1.187 MB / 1.322 GB, free: 3.051 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004306/1.131, allocations: 2.882 MB / 1.325 GB, free: 3.047 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001692/1.133, allocations: 1.195 MB / 1.326 GB, free: 2.914 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006118/1.139, allocations: 2.467 MB / 1.328 GB, free: 2.812 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002221/1.141, allocations: 1.013 MB / 1.329 GB, free: 2.645 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003035/1.141, allocations: 99.81 kB / 1.329 GB, free: 2.645 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003265/1.145, allocations: 1.589 MB / 1.331 GB, free: 2.629 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004282/1.145, allocations: 434.2 kB / 1.331 GB, free: 2.57 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0007541/1.146, allocations: 0.6818 MB / 1.332 GB, free: 2.367 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003071/1.149, allocations: 2.074 MB / 1.334 GB, free: 2.066 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/1.149, allocations: 0 / 1.334 GB, free: 2.066 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.763e-06/1.149, allocations: 2 kB / 1.334 GB, free: 2.066 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.555e-05/1.149, allocations: 0 / 1.334 GB, free: 2.066 MB / 1.014 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.002245/1.151, allocations: 1.647 MB / 1.335 GB, free: 1.18 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/1.151, allocations: 10.56 kB / 1.336 GB, free: 1.18 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001611/1.151, allocations: 145.6 kB / 1.336 GB, free: 1.141 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002094/1.153, allocations: 428.2 kB / 1.336 GB, free: 1.066 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001418/1.155, allocations: 0.944 MB / 1.337 GB, free: 0.707 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.765e-05/1.155, allocations: 69.41 kB / 1.337 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/1.155, allocations: 93.16 kB / 1.337 GB, free: 0.6992 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001813/1.157, allocations: 1.222 MB / 1.338 GB, free: 356 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.434e-05/1.157, allocations: 5.719 kB / 1.338 GB, free: 356 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.14e-05/1.157, allocations: 44.97 kB / 1.338 GB, free: 352 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.432e-05/1.157, allocations: 31.5 kB / 1.338 GB, free: 352 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001682/1.159, allocations: 0.8728 MB / 1.339 GB, free: 340 kB / 1.014 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.005899/1.165, allocations: 6.024 MB / 1.345 GB, free: 12.37 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000377/1.165, allocations: 265.3 kB / 1.345 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001666/1.165, allocations: 146.5 kB / 1.346 GB, free: 12.1 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001596/1.165, allocations: 98.09 kB / 1.346 GB, free: 12 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/1.165, allocations: 40.12 kB / 1.346 GB, free: 11.96 MB / 1.029 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006562/1.166, allocations: 124.2 kB / 1.346 GB, free: 11.89 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 2.395e-06/1.166, allocations: 0 / 1.346 GB, free: 11.89 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.001067/1.167, allocations: 462.5 kB / 1.346 GB, free: 11.73 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.112e-05/1.167, allocations: 193.3 kB / 1.346 GB, free: 11.51 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001611/1.169, allocations: 1.3 MB / 1.348 GB, free: 11.01 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.096e-05/1.169, allocations: 35.27 kB / 1.348 GB, free: 10.98 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004008/1.169, allocations: 0.6228 MB / 1.348 GB, free: 10.48 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.602e-05/1.169, allocations: 88.28 kB / 1.348 GB, free: 10.41 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000192/1.17, allocations: 130.3 kB / 1.349 GB, free: 10.35 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 9.778e-05/1.17, allocations: 336.5 kB / 1.349 GB, free: 10.03 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00059/1.17, allocations: 232.8 kB / 1.349 GB, free: 9.973 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007779/1.171, allocations: 0.5604 MB / 1.35 GB, free: 9.492 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009724/1.172, allocations: 0.6941 MB / 1.35 GB, free: 8.977 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/1.172, allocations: 6.031 kB / 1.35 GB, free: 8.973 MB / 1.029 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001654/1.174, allocations: 0.854 MB / 1.351 GB, free: 8.719 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/1.174, allocations: 9 kB / 1.351 GB, free: 8.719 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/1.174, allocations: 10.5 kB / 1.351 GB, free: 8.719 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-05/1.174, allocations: 17.72 kB / 1.351 GB, free: 8.715 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006381/1.175, allocations: 166.7 kB / 1.351 GB, free: 8.711 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.718e-05/1.175, allocations: 22.62 kB / 1.351 GB, free: 8.711 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001212/1.176, allocations: 131.5 kB / 1.351 GB, free: 8.691 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.209e-05/1.176, allocations: 42.69 kB / 1.352 GB, free: 8.684 MB / 1.029 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.0003786/1.176, allocations: 300.2 kB / 1.352 GB, free: 8.484 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002169/1.176, allocations: 123.8 kB / 1.352 GB, free: 8.422 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004302/1.177, allocations: 290.7 kB / 1.352 GB, free: 8.285 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/1.177, allocations: 5.062 kB / 1.352 GB, free: 8.285 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/1.177, allocations: 0 / 1.352 GB, free: 8.285 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/1.177, allocations: 5.812 kB / 1.352 GB, free: 8.285 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001949/1.179, allocations: 1.68 MB / 1.354 GB, free: 7.211 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/1.179, allocations: 2.25 kB / 1.354 GB, free: 7.211 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001968/1.179, allocations: 42.88 kB / 1.354 GB, free: 7.207 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/1.179, allocations: 2.75 kB / 1.354 GB, free: 7.207 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/1.179, allocations: 7.375 kB / 1.354 GB, free: 7.207 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/1.179, allocations: 3.406 kB / 1.354 GB, free: 7.207 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/1.179, allocations: 5.281 kB / 1.354 GB, free: 7.207 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004622/1.18, allocations: 0.4898 MB / 1.354 GB, free: 6.848 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003358/1.18, allocations: 241.8 kB / 1.355 GB, free: 6.66 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001246/1.18, allocations: 6.438 kB / 1.355 GB, free: 6.66 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006959/1.181, allocations: 48.03 kB / 1.355 GB, free: 6.652 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.747e-05/1.181, allocations: 23.17 kB / 1.355 GB, free: 6.645 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-05/1.181, allocations: 10.22 kB / 1.355 GB, free: 6.645 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001248/1.182, allocations: 0.9134 MB / 1.356 GB, free: 6.301 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.9e-07/1.182, allocations: 0 / 1.356 GB, free: 6.301 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008777/1.183, allocations: 278.9 kB / 1.356 GB, free: 6.262 MB / 1.029 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.001043/1.184, allocations: 1.144 MB / 1.357 GB, free: 5.344 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000927/1.185, allocations: 456.2 kB / 1.357 GB, free: 5.246 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/1.185, allocations: 2.781 kB / 1.357 GB, free: 5.246 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001327/1.185, allocations: 101.9 kB / 1.358 GB, free: 5.223 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002386/1.188, allocations: 0.5936 MB / 1.358 GB, free: 5.039 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01057/1.198, allocations: 8.085 MB / 1.366 GB, free: 0.7617 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005843/1.199, allocations: 1.121 MB / 1.367 GB, free: 16 kB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000837/1.2, allocations: 235.6 kB / 1.367 GB, free: 15.96 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004523/1.2, allocations: 412.3 kB / 1.368 GB, free: 15.66 MB / 1.045 GB Notification: Performance of SimCode: time 5.81e-07/1.2, allocations: 4 kB / 1.368 GB, free: 15.66 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05168/1.252, allocations: 28.01 MB / 1.395 GB, free: 1.344 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.294/10.55, allocations: 4.062 kB / 1.395 GB, free: 1.34 MB / 1.045 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches