Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",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.001075/0.001075, allocations: 108 kB / 15.6 MB, free: 132 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.001144/0.001144, allocations: 191.4 kB / 16.53 MB, free: 6.391 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.35/1.35, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.18/2.18, allocations: 390.2 MB / 0.6647 GB, free: 452 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 63.89 kB / 0.8126 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5722/0.5734, allocations: 140.4 MB / 0.9497 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.1675/0.7409, allocations: 187.1 MB / 1.132 GB, free: 6.086 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01308/0.754, allocations: 13.02 MB / 1.145 GB, free: 9.023 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000656/0.7547, allocations: 31.81 kB / 1.145 GB, free: 8.992 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0009856/0.7557, allocations: 417.3 kB / 1.146 GB, free: 8.582 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001692/0.7575, allocations: 0.9214 MB / 1.146 GB, free: 7.656 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001411/0.7589, allocations: 0.7047 MB / 1.147 GB, free: 6.953 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001333/0.7602, allocations: 1.501 MB / 1.149 GB, free: 5.449 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007458/0.761, allocations: 0.6547 MB / 1.149 GB, free: 4.785 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002899/0.7639, allocations: 1.724 MB / 1.151 GB, free: 3.055 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000983/0.7649, allocations: 0.4957 MB / 1.151 GB, free: 2.562 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.678e-05/0.765, allocations: 56 kB / 1.151 GB, free: 2.508 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001261/0.7662, allocations: 0.8692 MB / 1.152 GB, free: 1.637 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002339/0.7665, allocations: 283.1 kB / 1.153 GB, free: 1.359 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003206/0.7668, allocations: 386 kB / 1.153 GB, free: 0.9805 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001169/0.768, allocations: 1.153 MB / 1.154 GB, free: 15.82 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.768, allocations: 0 / 1.154 GB, free: 15.82 MB / 0.92 GB Notification: Performance of FrontEnd: time 4.518e-06/0.768, allocations: 0 / 1.154 GB, free: 15.82 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.327e-06/0.768, allocations: 3.938 kB / 1.154 GB, free: 15.82 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001205/0.7692, allocations: 1.044 MB / 1.155 GB, free: 14.73 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.7693, allocations: 16.03 kB / 1.155 GB, free: 14.71 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.542e-05/0.7694, allocations: 98.52 kB / 1.155 GB, free: 14.61 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008618/0.7703, allocations: 194.8 kB / 1.155 GB, free: 14.41 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006386/0.7709, allocations: 0.5208 MB / 1.156 GB, free: 13.85 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003313/0.7712, allocations: 97.25 kB / 1.156 GB, free: 13.75 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.752e-05/0.7713, allocations: 59.94 kB / 1.156 GB, free: 13.7 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.7723, allocations: 0.775 MB / 1.157 GB, free: 12.82 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.7724, allocations: 15.88 kB / 1.157 GB, free: 12.8 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.91e-05/0.7724, allocations: 27.98 kB / 1.157 GB, free: 12.77 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.293e-05/0.7725, allocations: 24.98 kB / 1.157 GB, free: 12.75 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008812/0.7734, allocations: 471.1 kB / 1.157 GB, free: 12.29 MB / 0.92 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.00347/0.7768, allocations: 4.417 MB / 1.162 GB, free: 7.637 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.777, allocations: 98.45 kB / 1.162 GB, free: 7.504 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.67e-05/0.7771, allocations: 79.5 kB / 1.162 GB, free: 7.414 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001555/0.7772, allocations: 89.09 kB / 1.162 GB, free: 7.309 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.7773, allocations: 38.5 kB / 1.162 GB, free: 7.262 MB / 0.92 GB Notification: Performance of pre-optimization done (n=10): time 1.363e-06/0.7773, allocations: 4 kB / 1.162 GB, free: 7.258 MB / 0.92 GB Notification: Performance of matching and sorting (n=10): time 0.0006011/0.7779, allocations: 236.7 kB / 1.162 GB, free: 7.02 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.794e-05/0.778, allocations: 136.5 kB / 1.162 GB, free: 6.855 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/0.779, allocations: 0.8526 MB / 1.163 GB, free: 5.988 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.779, allocations: 29.7 kB / 1.163 GB, free: 5.953 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002756/0.7793, allocations: 398.9 kB / 1.164 GB, free: 5.559 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.157e-05/0.7793, allocations: 39.45 kB / 1.164 GB, free: 5.52 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.7794, allocations: 89.88 kB / 1.164 GB, free: 5.426 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.7795, allocations: 330 kB / 1.164 GB, free: 5.098 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002852/0.7798, allocations: 108.7 kB / 1.164 GB, free: 4.992 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004446/0.7803, allocations: 373.7 kB / 1.164 GB, free: 4.512 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005603/0.7809, allocations: 450 kB / 1.165 GB, free: 3.965 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.7809, allocations: 0 / 1.165 GB, free: 3.965 MB / 0.92 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009156/0.7818, allocations: 0.5047 MB / 1.165 GB, free: 3.453 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.7818, allocations: 12 kB / 1.165 GB, free: 3.441 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.7818, allocations: 4 kB / 1.165 GB, free: 3.438 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.7819, allocations: 16.03 kB / 1.165 GB, free: 3.422 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003024/0.7822, allocations: 95.83 kB / 1.165 GB, free: 3.328 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.619e-05/0.7822, allocations: 19.92 kB / 1.166 GB, free: 3.309 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006302/0.7828, allocations: 130.8 kB / 1.166 GB, free: 3.18 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.653e-05/0.7829, allocations: 27.98 kB / 1.166 GB, free: 3.152 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (46): * Single equations (assignments): 46 * 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.0002182/0.7831, allocations: 229.6 kB / 1.166 GB, free: 2.918 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001377/0.7832, allocations: 75.06 kB / 1.166 GB, free: 2.844 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.218e-05/0.7833, allocations: 70.17 kB / 1.166 GB, free: 2.773 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.7834, allocations: 4 kB / 1.166 GB, free: 2.77 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.7834, allocations: 0 / 1.166 GB, free: 2.77 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.7834, allocations: 3.938 kB / 1.166 GB, free: 2.766 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001136/0.7845, allocations: 1.12 MB / 1.167 GB, free: 1.555 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.7845, allocations: 4 kB / 1.167 GB, free: 1.551 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.812e-05/0.7846, allocations: 20.23 kB / 1.167 GB, free: 1.531 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.7846, allocations: 8 kB / 1.167 GB, free: 1.523 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.7846, allocations: 4 kB / 1.167 GB, free: 1.52 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.7846, allocations: 4 kB / 1.167 GB, free: 1.516 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.7847, allocations: 3.938 kB / 1.167 GB, free: 1.512 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000262/0.7849, allocations: 267.8 kB / 1.167 GB, free: 1.203 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001793/0.7851, allocations: 172.1 kB / 1.168 GB, free: 1.016 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.248e-05/0.7852, allocations: 4 kB / 1.168 GB, free: 1.012 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003251/0.7855, allocations: 19.98 kB / 1.168 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.328e-05/0.7856, allocations: 15.92 kB / 1.168 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.7856, allocations: 8.062 kB / 1.168 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0007499/0.7863, allocations: 0.5966 MB / 1.168 GB, free: 388 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7863, allocations: 3.938 kB / 1.168 GB, free: 384 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0004973/0.7868, allocations: 151.8 kB / 1.168 GB, free: 232 kB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (10): * Single equations (assignments): 10 * 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.0007488/0.7876, allocations: 0.8838 MB / 1.169 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004924/0.7881, allocations: 252.9 kB / 1.169 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.7881, allocations: 0.5625 kB / 1.169 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 6.374e-05/0.7882, allocations: 51.86 kB / 1.17 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00152/0.7897, allocations: 375.8 kB / 1.17 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006594/0.7963, allocations: 5.732 MB / 1.175 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005158/0.7968, allocations: 0.937 MB / 1.176 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0004597/0.7973, allocations: 150.1 kB / 1.177 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002427/0.7976, allocations: 231.4 kB / 1.177 GB, free: 7.223 MB / 0.9356 GB Notification: Performance of SimCode: time 2.9e-07/0.7976, allocations: 0 / 1.177 GB, free: 7.223 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4959/1.294, allocations: 17.81 MB / 1.194 GB, free: 5.77 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/12.15, allocations: 11 kB / 1.194 GB, free: 5.762 MB / 0.9512 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches