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.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState,fileNamePrefix="Buildings_latest_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.0008799/0.00088, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.005119/0.005119, allocations: 171.9 kB / 16.26 MB, free: 6.613 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.25/1.25, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.526/2.526, allocations: 462.6 MB / 0.7364 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003017/0.0003017, allocations: 12.28 kB / 0.9029 GB, free: 36.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.2578, allocations: 159.6 MB / 1.059 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState): time 0.7349/0.9927, allocations: 216.7 MB / 1.27 GB, free: 2.742 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01508/1.008, allocations: 13.7 MB / 1.284 GB, free: 2.531 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001514/1.009, allocations: 56.16 kB / 1.284 GB, free: 2.531 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001628/1.011, allocations: 0.6765 MB / 1.284 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004564/1.016, allocations: 2.035 MB / 1.286 GB, free: 2.414 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002638/1.018, allocations: 1.045 MB / 1.287 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00516/1.023, allocations: 4.017 MB / 1.291 GB, free: 2.367 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001394/1.025, allocations: 0.9953 MB / 1.292 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00506/1.03, allocations: 2.202 MB / 1.295 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002371/1.032, allocations: 1.011 MB / 1.296 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001237/1.032, allocations: 46.72 kB / 1.296 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003076/1.036, allocations: 1.824 MB / 1.297 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000345/1.036, allocations: 374.8 kB / 1.298 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007536/1.037, allocations: 0.634 MB / 1.298 GB, free: 18.08 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002126/1.039, allocations: 2.078 MB / 1.3 GB, free: 17.95 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/1.039, allocations: 0 / 1.3 GB, free: 17.95 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.355e-06/1.039, allocations: 0 / 1.3 GB, free: 17.95 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.35e-05/1.039, allocations: 1.859 kB / 1.3 GB, free: 17.95 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.001928/1.041, allocations: 1.414 MB / 1.302 GB, free: 17.1 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/1.041, allocations: 9.156 kB / 1.302 GB, free: 17.1 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001477/1.041, allocations: 139.9 kB / 1.302 GB, free: 17.06 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002083/1.043, allocations: 475.9 kB / 1.302 GB, free: 16.97 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001155/1.044, allocations: 0.8934 MB / 1.303 GB, free: 16.61 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009293/1.045, allocations: 265.7 kB / 1.303 GB, free: 16.59 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/1.045, allocations: 97.47 kB / 1.304 GB, free: 16.58 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001892/1.047, allocations: 1.224 MB / 1.305 GB, free: 16.27 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/1.047, allocations: 5.094 kB / 1.305 GB, free: 16.27 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.079e-05/1.047, allocations: 36.59 kB / 1.305 GB, free: 16.27 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-05/1.047, allocations: 35.62 kB / 1.305 GB, free: 16.27 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001939/1.049, allocations: 0.9303 MB / 1.306 GB, free: 16.24 MB / 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.005827/1.055, allocations: 5.637 MB / 1.311 GB, free: 12.8 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003441/1.055, allocations: 266.2 kB / 1.311 GB, free: 12.65 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001821/1.056, allocations: 155.1 kB / 1.312 GB, free: 12.59 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001548/1.056, allocations: 93.08 kB / 1.312 GB, free: 12.5 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/1.056, allocations: 44.62 kB / 1.312 GB, free: 12.46 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006226/1.056, allocations: 131.2 kB / 1.312 GB, free: 12.41 MB / 1.014 GB Notification: Performance of pre-optimization done (n=20): time 1.894e-06/1.056, allocations: 1.094 kB / 1.312 GB, free: 12.41 MB / 1.014 GB Notification: Performance of matching and sorting (n=20): time 0.001092/1.058, allocations: 465.2 kB / 1.312 GB, free: 12.32 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.47e-05/1.058, allocations: 188.4 kB / 1.313 GB, free: 12.1 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001704/1.059, allocations: 1.315 MB / 1.314 GB, free: 11.92 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.25e-05/1.059, allocations: 28.11 kB / 1.314 GB, free: 11.89 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003722/1.06, allocations: 0.6151 MB / 1.314 GB, free: 11.64 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.107e-05/1.06, allocations: 68.42 kB / 1.314 GB, free: 11.61 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.554e-05/1.06, allocations: 48.17 kB / 1.315 GB, free: 11.59 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.281e-05/1.06, allocations: 328.9 kB / 1.315 GB, free: 11.29 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006907/1.061, allocations: 260.4 kB / 1.315 GB, free: 11.27 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008555/1.062, allocations: 0.5354 MB / 1.316 GB, free: 10.91 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/1.063, allocations: 0.6582 MB / 1.316 GB, free: 10.56 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.084e-06/1.063, allocations: 6.469 kB / 1.316 GB, free: 10.56 MB / 1.014 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001852/1.065, allocations: 0.8639 MB / 1.317 GB, free: 10.44 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/1.065, allocations: 9.625 kB / 1.317 GB, free: 10.44 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/1.065, allocations: 12.28 kB / 1.317 GB, free: 10.44 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/1.065, allocations: 14.23 kB / 1.317 GB, free: 10.44 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006749/1.065, allocations: 171.7 kB / 1.317 GB, free: 10.43 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.66e-05/1.065, allocations: 27.36 kB / 1.317 GB, free: 10.43 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001401/1.067, allocations: 196.1 kB / 1.318 GB, free: 10.41 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.525e-05/1.067, allocations: 42.98 kB / 1.318 GB, free: 10.4 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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.0003401/1.067, allocations: 304.4 kB / 1.318 GB, free: 10.27 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002261/1.067, allocations: 115.2 kB / 1.318 GB, free: 10.21 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004109/1.068, allocations: 281.3 kB / 1.318 GB, free: 10.16 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/1.068, allocations: 2.844 kB / 1.318 GB, free: 10.16 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/1.068, allocations: 0 / 1.318 GB, free: 10.16 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/1.068, allocations: 6.781 kB / 1.318 GB, free: 10.16 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0018/1.07, allocations: 1.681 MB / 1.32 GB, free: 9.379 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.339e-06/1.07, allocations: 2.906 kB / 1.32 GB, free: 9.379 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001926/1.07, allocations: 44.73 kB / 1.32 GB, free: 9.375 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/1.07, allocations: 6.438 kB / 1.32 GB, free: 9.375 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/1.07, allocations: 4.938 kB / 1.32 GB, free: 9.375 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/1.07, allocations: 2.875 kB / 1.32 GB, free: 9.375 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/1.07, allocations: 6.453 kB / 1.32 GB, free: 9.375 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004336/1.07, allocations: 497.5 kB / 1.32 GB, free: 9.074 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002699/1.071, allocations: 235.4 kB / 1.321 GB, free: 8.918 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001359/1.071, allocations: 9.906 kB / 1.321 GB, free: 8.918 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008346/1.072, allocations: 86.27 kB / 1.321 GB, free: 8.902 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.682e-05/1.072, allocations: 22.88 kB / 1.321 GB, free: 8.898 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/1.072, allocations: 9.547 kB / 1.321 GB, free: 8.898 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001289/1.073, allocations: 0.9299 MB / 1.322 GB, free: 8.777 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.1e-07/1.073, allocations: 0 / 1.322 GB, free: 8.777 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0007994/1.074, allocations: 271.2 kB / 1.322 GB, free: 8.754 MB / 1.014 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.000956/1.075, allocations: 1.131 MB / 1.323 GB, free: 7.906 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000957/1.076, allocations: 451.6 kB / 1.323 GB, free: 7.895 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/1.076, allocations: 0 / 1.323 GB, free: 7.895 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001199/1.076, allocations: 105.1 kB / 1.324 GB, free: 7.895 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002976/1.079, allocations: 0.5558 MB / 1.324 GB, free: 7.844 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01174/1.091, allocations: 8.973 MB / 1.333 GB, free: 3.711 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006046/1.091, allocations: 1.121 MB / 1.334 GB, free: 2.992 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007772/1.092, allocations: 227.1 kB / 1.334 GB, free: 2.938 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003837/1.092, allocations: 416.5 kB / 1.335 GB, free: 2.93 MB / 1.014 GB Notification: Performance of SimCode: time 8.82e-07/1.092, allocations: 0 / 1.335 GB, free: 2.93 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.036/4.129, allocations: 25.95 MB / 1.36 GB, free: 9.523 MB / 1.029 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002939/4.129, allocations: 286.3 kB / 1.36 GB, free: 9.141 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.533/6.662, allocations: 2.906 kB / 1.36 GB, free: 9.141 MB / 1.029 GB (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 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe 2>&1) 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) Reference file matches