Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|C_flow.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|C_flow.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006129/0.006129, allocations: 95.7 kB / 15.73 MB, free: 6.039 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.001184/0.001184, allocations: 202.8 kB / 16.68 MB, free: 5.969 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.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 4.348 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.391/2.391, allocations: 390.2 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 62.62 kB / 0.9509 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2776/0.2789, allocations: 140.4 MB / 1.088 GB, free: 1.461 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.8669/1.146, allocations: 190.3 MB / 1.274 GB, free: 3.523 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.008781/1.155, allocations: 5.687 MB / 1.279 GB, free: 3.453 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001379/1.156, allocations: 41.06 kB / 1.279 GB, free: 3.453 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001495/1.158, allocations: 0.585 MB / 1.28 GB, free: 3.445 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004267/1.162, allocations: 1.669 MB / 1.282 GB, free: 3.375 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003699/1.166, allocations: 1.23 MB / 1.283 GB, free: 3.34 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003871/1.169, allocations: 2.509 MB / 1.285 GB, free: 3.332 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001462/1.171, allocations: 0.9937 MB / 1.286 GB, free: 3.238 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002101/1.173, allocations: 1.066 MB / 1.287 GB, free: 3.234 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001914/1.175, allocations: 0.8208 MB / 1.288 GB, free: 3.234 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002049/1.175, allocations: 102.3 kB / 1.288 GB, free: 3.234 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003372/1.179, allocations: 1.527 MB / 1.29 GB, free: 3.219 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0006019/1.179, allocations: 498.6 kB / 1.29 GB, free: 3.211 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0008407/1.18, allocations: 0.6213 MB / 1.291 GB, free: 3.211 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003493/1.184, allocations: 2.118 MB / 1.293 GB, free: 3.086 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/1.184, allocations: 1.312 kB / 1.293 GB, free: 3.086 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.382e-06/1.184, allocations: 0 / 1.293 GB, free: 3.086 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.374e-05/1.184, allocations: 0.8438 kB / 1.293 GB, free: 3.086 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002945/1.187, allocations: 1.508 MB / 1.294 GB, free: 2.27 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.096e-05/1.187, allocations: 10.28 kB / 1.294 GB, free: 2.27 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002642/1.189, allocations: 342.9 kB / 1.295 GB, free: 2.195 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001989/1.191, allocations: 0.8186 MB / 1.295 GB, free: 1.871 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.661e-05/1.191, allocations: 66.03 kB / 1.295 GB, free: 1.871 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001508/1.192, allocations: 80.09 kB / 1.296 GB, free: 1.871 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002117/1.194, allocations: 1.07 MB / 1.297 GB, free: 1.723 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.879e-05/1.194, allocations: 8.359 kB / 1.297 GB, free: 1.719 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.803e-05/1.194, allocations: 40.05 kB / 1.297 GB, free: 1.719 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.776e-05/1.194, allocations: 39.17 kB / 1.297 GB, free: 1.715 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001597/1.195, allocations: 0.8318 MB / 1.297 GB, free: 1.703 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.005759/1.201, allocations: 4.271 MB / 1.302 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006824/1.202, allocations: 372.1 kB / 1.302 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003354/1.202, allocations: 214 kB / 1.302 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002122/1.202, allocations: 99.73 kB / 1.302 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.591e-05/1.203, allocations: 39.34 kB / 1.302 GB, free: 15.31 MB / 1.029 GB Notification: Performance of pre-optimization done (n=36): time 2.925e-06/1.203, allocations: 0.875 kB / 1.302 GB, free: 15.31 MB / 1.029 GB Notification: Performance of matching and sorting (n=38): time 0.002866/1.205, allocations: 1.345 MB / 1.304 GB, free: 14.84 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.678e-05/1.205, allocations: 55.44 kB / 1.304 GB, free: 14.78 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001346/1.207, allocations: 1.003 MB / 1.305 GB, free: 14.62 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.037e-05/1.207, allocations: 36.7 kB / 1.305 GB, free: 14.59 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000335/1.207, allocations: 0.4977 MB / 1.305 GB, free: 14.38 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/1.207, allocations: 150.4 kB / 1.305 GB, free: 14.29 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001935/1.208, allocations: 120.3 kB / 1.305 GB, free: 14.26 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001161/1.208, allocations: 336.9 kB / 1.306 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005018/1.208, allocations: 237.1 kB / 1.306 GB, free: 13.95 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006278/1.209, allocations: 420.7 kB / 1.306 GB, free: 13.75 MB / 1.029 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002479/1.211, allocations: 1.217 MB / 1.308 GB, free: 13.45 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/1.211, allocations: 2.312 kB / 1.308 GB, free: 13.45 MB / 1.029 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001382/1.213, allocations: 0.7782 MB / 1.308 GB, free: 13.36 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/1.213, allocations: 9.609 kB / 1.308 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/1.213, allocations: 5.688 kB / 1.308 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.238e-05/1.213, allocations: 9.375 kB / 1.308 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005943/1.213, allocations: 144.1 kB / 1.309 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.696e-05/1.213, allocations: 15.69 kB / 1.309 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/1.214, allocations: 54.22 kB / 1.309 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.864e-05/1.215, allocations: 30.33 kB / 1.309 GB, free: 13.35 MB / 1.029 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (74): * Single equations (assignments): 74 * 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.0004638/1.215, allocations: 314.7 kB / 1.309 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000175/1.215, allocations: 105.8 kB / 1.309 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001621/1.215, allocations: 103.9 kB / 1.309 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/1.215, allocations: 4 kB / 1.309 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/1.215, allocations: 0.8125 kB / 1.309 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006556/1.216, allocations: 0.68 MB / 1.31 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002368/1.218, allocations: 1.584 MB / 1.311 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.467e-06/1.218, allocations: 8.594 kB / 1.311 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004088/1.219, allocations: 84.72 kB / 1.311 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.283e-06/1.219, allocations: 6.281 kB / 1.311 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.123e-05/1.219, allocations: 17.38 kB / 1.311 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.115e-06/1.219, allocations: 9.141 kB / 1.311 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.695e-06/1.219, allocations: 9.297 kB / 1.311 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/1.22, allocations: 0.8335 MB / 1.312 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004096/1.22, allocations: 248.7 kB / 1.313 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001399/1.22, allocations: 11.03 kB / 1.313 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007131/1.221, allocations: 36.89 kB / 1.313 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.821e-05/1.221, allocations: 35.33 kB / 1.313 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.535e-05/1.221, allocations: 31.14 kB / 1.313 GB, free: 11.78 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000984/1.222, allocations: 0.7065 MB / 1.313 GB, free: 11.67 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.5e-07/1.222, allocations: 0 / 1.313 GB, free: 11.67 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0009208/1.223, allocations: 259.4 kB / 1.314 GB, free: 11.67 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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 (38): * Single equations (assignments): 38 * 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.000469/1.224, allocations: 207.8 kB / 1.314 GB, free: 11.56 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009035/1.225, allocations: 0.4968 MB / 1.314 GB, free: 11.55 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/1.225, allocations: 1.344 kB / 1.314 GB, free: 11.55 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002635/1.225, allocations: 193.8 kB / 1.314 GB, free: 11.55 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002746/1.228, allocations: 0.6153 MB / 1.315 GB, free: 11.47 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002614/1.23, allocations: 1.879 MB / 1.317 GB, free: 10.59 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006096/1.231, allocations: 1.097 MB / 1.318 GB, free: 9.875 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0007773/1.232, allocations: 249.1 kB / 1.318 GB, free: 9.82 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001851/1.232, allocations: 80.22 kB / 1.318 GB, free: 9.809 MB / 1.029 GB Notification: Performance of SimCode: time 3.5e-07/1.232, allocations: 0 / 1.318 GB, free: 9.809 MB / 1.029 GB Notification: Performance of Templates: time 0.03289/1.265, allocations: 19.9 MB / 1.338 GB, free: 6.75 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches