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.001113/0.001113, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.22/1.22, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.195/2.195, allocations: 390.3 MB / 0.6647 GB, free: 428 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 63.89 kB / 0.8126 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6582/0.6595, allocations: 140.4 MB / 0.9497 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState): time 0.2301/0.8897, allocations: 221.9 MB / 1.166 GB, free: 3.152 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01935/0.9091, allocations: 13.76 MB / 1.18 GB, free: 5.352 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00274/0.9119, allocations: 67.62 kB / 1.18 GB, free: 5.285 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002286/0.9142, allocations: 0.8035 MB / 1.181 GB, free: 4.477 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.005292/0.9195, allocations: 2.158 MB / 1.183 GB, free: 2.309 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002737/0.9223, allocations: 1.176 MB / 1.184 GB, free: 1.141 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003373/0.9257, allocations: 2.882 MB / 1.187 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00153/0.9272, allocations: 1.194 MB / 1.188 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005582/0.9328, allocations: 2.43 MB / 1.19 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001967/0.9348, allocations: 1.04 MB / 1.191 GB, free: 9.582 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0003015/0.9351, allocations: 100 kB / 1.191 GB, free: 9.484 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002956/0.9381, allocations: 1.578 MB / 1.193 GB, free: 7.902 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.000519/0.9386, allocations: 434.6 kB / 1.193 GB, free: 7.477 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0009166/0.9395, allocations: 0.6762 MB / 1.194 GB, free: 6.797 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.003086/0.9426, allocations: 2.033 MB / 1.196 GB, free: 4.758 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.9426, allocations: 0 / 1.196 GB, free: 4.758 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.583e-06/0.9426, allocations: 4 kB / 1.196 GB, free: 4.754 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.205e-05/0.9427, allocations: 0 / 1.196 GB, free: 4.754 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.003302/0.946, allocations: 1.654 MB / 1.198 GB, free: 3.047 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.9461, allocations: 8.031 kB / 1.198 GB, free: 3.039 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002136/0.9463, allocations: 143.5 kB / 1.198 GB, free: 2.891 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002342/0.9487, allocations: 433.9 kB / 1.198 GB, free: 2.465 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001582/0.9503, allocations: 0.8934 MB / 1.199 GB, free: 1.527 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009654/0.9512, allocations: 233.8 kB / 1.199 GB, free: 1.297 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001335/0.9514, allocations: 88 kB / 1.199 GB, free: 1.211 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002393/0.9538, allocations: 1.238 MB / 1.201 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.95e-05/0.9538, allocations: 3.938 kB / 1.201 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001163/0.9539, allocations: 40 kB / 1.201 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.882e-05/0.954, allocations: 41.3 kB / 1.201 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002241/0.9563, allocations: 0.8986 MB / 1.202 GB, free: 14.88 MB / 0.9669 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.00743/0.9637, allocations: 6.082 MB / 1.207 GB, free: 8.504 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004523/0.9642, allocations: 263.7 kB / 1.208 GB, free: 8.191 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002144/0.9644, allocations: 141.1 kB / 1.208 GB, free: 8.035 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001798/0.9646, allocations: 97.09 kB / 1.208 GB, free: 7.922 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.316e-05/0.9646, allocations: 50.48 kB / 1.208 GB, free: 7.863 MB / 0.9669 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000701/0.9653, allocations: 123.1 kB / 1.208 GB, free: 7.742 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=20): time 4.408e-06/0.9654, allocations: 0 / 1.208 GB, free: 7.742 MB / 0.9669 GB Notification: Performance of matching and sorting (n=20): time 0.001294/0.9667, allocations: 472.3 kB / 1.209 GB, free: 7.273 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.652e-05/0.9668, allocations: 196 kB / 1.209 GB, free: 7.039 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002135/0.9689, allocations: 1.315 MB / 1.21 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.21e-05/0.969, allocations: 33.7 kB / 1.21 GB, free: 5.668 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004958/0.9695, allocations: 0.6204 MB / 1.211 GB, free: 5.039 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.58e-05/0.9695, allocations: 74.95 kB / 1.211 GB, free: 4.965 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002227/0.9698, allocations: 145.9 kB / 1.211 GB, free: 4.812 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.9699, allocations: 326 kB / 1.211 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000747/0.9707, allocations: 252.9 kB / 1.211 GB, free: 4.242 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009588/0.9716, allocations: 0.5753 MB / 1.212 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001159/0.9728, allocations: 0.7081 MB / 1.213 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.907e-06/0.9728, allocations: 4 kB / 1.213 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002093/0.9749, allocations: 0.8845 MB / 1.214 GB, free: 1.777 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.9749, allocations: 8 kB / 1.214 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/0.975, allocations: 12 kB / 1.214 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.645e-05/0.975, allocations: 12 kB / 1.214 GB, free: 1.746 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007815/0.9758, allocations: 179.9 kB / 1.214 GB, free: 1.57 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.266e-05/0.9758, allocations: 23.86 kB / 1.214 GB, free: 1.547 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/0.9773, allocations: 147.8 kB / 1.214 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.559e-05/0.9773, allocations: 39.98 kB / 1.214 GB, free: 1.363 MB / 0.9669 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.0004192/0.9778, allocations: 293.5 kB / 1.214 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000292/0.9781, allocations: 122.5 kB / 1.214 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005276/0.9786, allocations: 284.4 kB / 1.215 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/0.9786, allocations: 4 kB / 1.215 GB, free: 0.6562 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.9786, allocations: 7.875 kB / 1.215 GB, free: 0.6484 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/0.9787, allocations: 11.98 kB / 1.215 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002317/0.981, allocations: 1.682 MB / 1.216 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.981, allocations: 4 kB / 1.216 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002217/0.9812, allocations: 35.92 kB / 1.216 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.092e-06/0.9812, allocations: 4 kB / 1.216 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/0.9813, allocations: 8 kB / 1.216 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.9813, allocations: 4 kB / 1.216 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.9813, allocations: 4 kB / 1.216 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005543/0.9818, allocations: 498.4 kB / 1.217 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003459/0.9822, allocations: 239.5 kB / 1.217 GB, free: 14 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001746/0.9824, allocations: 8 kB / 1.217 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008005/0.9832, allocations: 56.17 kB / 1.217 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.945e-05/0.9832, allocations: 15.92 kB / 1.217 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.272e-05/0.9833, allocations: 16 kB / 1.217 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001551/0.9848, allocations: 0.9276 MB / 1.218 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.81e-07/0.9848, allocations: 0 / 1.218 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0008746/0.9857, allocations: 279.5 kB / 1.218 GB, free: 12.7 MB / 0.9825 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.001158/0.9869, allocations: 1.154 MB / 1.219 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001186/0.9881, allocations: 477.5 kB / 1.22 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.9881, allocations: 0 / 1.22 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001502/0.9882, allocations: 95.83 kB / 1.22 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002594/0.9908, allocations: 0.5902 MB / 1.221 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01297/1.004, allocations: 8.76 MB / 1.229 GB, free: 0.9453 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006715/1.005, allocations: 1.114 MB / 1.23 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008865/1.005, allocations: 237.6 kB / 1.23 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004881/1.006, allocations: 415.3 kB / 1.231 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of SimCode: time 3.5e-07/1.006, allocations: 0 / 1.231 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.562/2.567, allocations: 27.35 MB / 1.258 GB, free: 279.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/13.49, allocations: 4.562 kB / 1.258 GB, free: 279.1 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