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.001483/0.001483, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.00169/0.00169, allocations: 193.7 kB / 16.26 MB, free: 6.152 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.353/1.353, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.372/2.372, allocations: 390.2 MB / 0.6644 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 60.14 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5985/0.6006, allocations: 140.4 MB / 0.9492 GB, free: 9.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState): time 0.2165/0.8171, allocations: 219.1 MB / 1.163 GB, free: 6.133 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01814/0.8353, allocations: 13.66 MB / 1.177 GB, free: 8.434 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001999/0.8373, allocations: 59.62 kB / 1.177 GB, free: 8.375 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002109/0.8394, allocations: 0.7034 MB / 1.177 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.005415/0.8449, allocations: 2.027 MB / 1.179 GB, free: 5.633 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00303/0.8479, allocations: 1.059 MB / 1.18 GB, free: 4.586 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003885/0.8518, allocations: 2.878 MB / 1.183 GB, free: 1.703 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001702/0.8535, allocations: 1.163 MB / 1.184 GB, free: 0.5156 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005344/0.8589, allocations: 2.415 MB / 1.187 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002597/0.8615, allocations: 1.081 MB / 1.188 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002522/0.8618, allocations: 100 kB / 1.188 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002851/0.8646, allocations: 1.676 MB / 1.189 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0004877/0.8651, allocations: 450.6 kB / 1.19 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0009423/0.8661, allocations: 0.6762 MB / 1.19 GB, free: 10.13 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002711/0.8688, allocations: 2.142 MB / 1.193 GB, free: 7.98 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.8688, allocations: 0 / 1.193 GB, free: 7.98 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.442e-06/0.8688, allocations: 3.938 kB / 1.193 GB, free: 7.977 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.51e-05/0.8688, allocations: 0 / 1.193 GB, free: 7.977 MB / 0.9512 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.002226/0.8711, allocations: 1.65 MB / 1.194 GB, free: 6.273 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.8711, allocations: 12.03 kB / 1.194 GB, free: 6.262 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000145/0.8713, allocations: 143.6 kB / 1.194 GB, free: 6.113 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002163/0.8734, allocations: 425.9 kB / 1.195 GB, free: 5.695 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001237/0.8747, allocations: 0.8973 MB / 1.196 GB, free: 4.754 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009224/0.8756, allocations: 233.8 kB / 1.196 GB, free: 4.523 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000114/0.8757, allocations: 88 kB / 1.196 GB, free: 4.438 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001961/0.8777, allocations: 1.206 MB / 1.197 GB, free: 3.133 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.351e-05/0.8777, allocations: 7.938 kB / 1.197 GB, free: 3.125 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.052e-05/0.8778, allocations: 36 kB / 1.197 GB, free: 3.09 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.341e-05/0.8779, allocations: 37.31 kB / 1.197 GB, free: 3.055 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001923/0.8798, allocations: 0.9024 MB / 1.198 GB, free: 2.152 MB / 0.9512 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.006094/0.8859, allocations: 5.608 MB / 1.204 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003852/0.8863, allocations: 263.7 kB / 1.204 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001846/0.8865, allocations: 145 kB / 1.204 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001602/0.8867, allocations: 101.1 kB / 1.204 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.8867, allocations: 46.48 kB / 1.204 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006907/0.8874, allocations: 139.1 kB / 1.204 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=20): time 1.954e-06/0.8874, allocations: 0 / 1.204 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of matching and sorting (n=20): time 0.001125/0.8885, allocations: 488.1 kB / 1.205 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.902e-05/0.8886, allocations: 180.1 kB / 1.205 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001752/0.8904, allocations: 1.302 MB / 1.206 GB, free: 9.473 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.274e-05/0.8904, allocations: 37.64 kB / 1.206 GB, free: 9.43 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004044/0.8908, allocations: 0.6127 MB / 1.207 GB, free: 8.809 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.772e-05/0.8909, allocations: 71 kB / 1.207 GB, free: 8.738 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001994/0.8911, allocations: 138 kB / 1.207 GB, free: 8.594 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.488e-05/0.8912, allocations: 322 kB / 1.207 GB, free: 8.273 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006964/0.8919, allocations: 252.9 kB / 1.208 GB, free: 8.027 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008512/0.8928, allocations: 0.5295 MB / 1.208 GB, free: 7.367 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001011/0.8938, allocations: 0.6518 MB / 1.209 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.8938, allocations: 4 kB / 1.209 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001842/0.8957, allocations: 0.8495 MB / 1.209 GB, free: 5.734 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.8957, allocations: 8 kB / 1.21 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.8957, allocations: 12 kB / 1.21 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/0.8957, allocations: 12 kB / 1.21 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007137/0.8965, allocations: 168 kB / 1.21 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.968e-05/0.8965, allocations: 19.88 kB / 1.21 GB, free: 5.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001324/0.8978, allocations: 183.7 kB / 1.21 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.225e-05/0.8979, allocations: 35.98 kB / 1.21 GB, free: 5.305 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * 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 (63): * Single equations (assignments): 63 * 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.0003758/0.8983, allocations: 298 kB / 1.21 GB, free: 5.004 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002267/0.8985, allocations: 114.6 kB / 1.21 GB, free: 4.891 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004781/0.899, allocations: 296 kB / 1.211 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.899, allocations: 4.234 kB / 1.211 GB, free: 4.59 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.899, allocations: 7.938 kB / 1.211 GB, free: 4.582 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.899, allocations: 3.984 kB / 1.211 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00193/0.901, allocations: 1.69 MB / 1.212 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.901, allocations: 4 kB / 1.212 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002163/0.9012, allocations: 39.98 kB / 1.212 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.9012, allocations: 4 kB / 1.212 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.9012, allocations: 4 kB / 1.212 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.089e-06/0.9012, allocations: 7.938 kB / 1.212 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.9013, allocations: 4 kB / 1.212 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000485/0.9017, allocations: 498.4 kB / 1.213 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002943/0.902, allocations: 239.5 kB / 1.213 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001487/0.9022, allocations: 7.938 kB / 1.213 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007716/0.903, allocations: 63.94 kB / 1.213 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.565e-05/0.903, allocations: 31.84 kB / 1.213 GB, free: 1.824 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-05/0.9031, allocations: 8 kB / 1.213 GB, free: 1.816 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001371/0.9044, allocations: 0.9195 MB / 1.214 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9044, allocations: 0 / 1.214 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0007727/0.9052, allocations: 275.5 kB / 1.214 GB, free: 0.625 MB / 0.9669 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.001069/0.9063, allocations: 1.148 MB / 1.215 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001031/0.9073, allocations: 460.8 kB / 1.216 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.9073, allocations: 0 / 1.216 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001428/0.9075, allocations: 101.2 kB / 1.216 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002412/0.9099, allocations: 0.5854 MB / 1.217 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01224/0.9222, allocations: 8.93 MB / 1.225 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005947/0.9228, allocations: 1.122 MB / 1.226 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0008392/0.9236, allocations: 225.2 kB / 1.227 GB, free: 3.391 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004668/0.9241, allocations: 415.3 kB / 1.227 GB, free: 2.984 MB / 0.9825 GB Notification: Performance of SimCode: time 5.81e-07/0.9241, allocations: 0 / 1.227 GB, free: 2.984 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8854/1.81, allocations: 27.05 MB / 1.253 GB, free: 285.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001616/1.81, allocations: 274.8 kB / 1.254 GB, free: 285.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.336/4.146, allocations: 0 / 1.254 GB, free: 285.4 MB / 0.9981 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