Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|const.k|cheEquTra2.y|cheEquTra1.y",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|const.k|cheEquTra2.y|cheEquTra1.y",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007688/0.007688, allocations: 100 kB / 15.73 MB, free: 6.062 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.002093/0.002093, allocations: 193.7 kB / 16.67 MB, free: 5.973 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.684/2.684, allocations: 469.8 MB / 0.7425 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 67.89 kB / 1.065 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9411/0.9426, allocations: 159.1 MB / 1.221 GB, free: 2.07 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.2129/1.155, allocations: 187.6 MB / 1.404 GB, free: 5.773 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01799/1.173, allocations: 13.05 MB / 1.417 GB, free: 8.691 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001374/1.175, allocations: 35.75 kB / 1.417 GB, free: 8.656 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001588/1.176, allocations: 425.3 kB / 1.417 GB, free: 8.238 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002705/1.179, allocations: 0.9643 MB / 1.418 GB, free: 7.27 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002233/1.181, allocations: 0.7096 MB / 1.419 GB, free: 6.566 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002813/1.184, allocations: 1.5 MB / 1.42 GB, free: 5.062 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001039/1.185, allocations: 0.5463 MB / 1.421 GB, free: 4.5 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004354/1.19, allocations: 1.779 MB / 1.422 GB, free: 2.715 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00161/1.191, allocations: 0.5108 MB / 1.423 GB, free: 2.207 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001153/1.191, allocations: 56 kB / 1.423 GB, free: 2.152 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001693/1.193, allocations: 0.8809 MB / 1.424 GB, free: 1.27 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003185/1.193, allocations: 283.1 kB / 1.424 GB, free: 0.9922 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.000439/1.194, allocations: 386 kB / 1.424 GB, free: 0.6133 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001894/1.196, allocations: 1.175 MB / 1.426 GB, free: 15.43 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/1.196, allocations: 0 / 1.426 GB, free: 15.43 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.563e-06/1.196, allocations: 0 / 1.426 GB, free: 15.43 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.667e-05/1.196, allocations: 4 kB / 1.426 GB, free: 15.43 MB / 1.154 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.001597/1.197, allocations: 1.081 MB / 1.427 GB, free: 14.29 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/1.197, allocations: 8.031 kB / 1.427 GB, free: 14.29 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00102/1.198, allocations: 203.2 kB / 1.427 GB, free: 14.09 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008625/1.199, allocations: 0.5447 MB / 1.427 GB, free: 13.5 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.424e-05/1.199, allocations: 45.31 kB / 1.427 GB, free: 13.46 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.205e-05/1.199, allocations: 59.94 kB / 1.428 GB, free: 13.4 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/1.2, allocations: 0.775 MB / 1.428 GB, free: 12.52 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/1.2, allocations: 3.938 kB / 1.428 GB, free: 12.51 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.654e-05/1.2, allocations: 31.94 kB / 1.428 GB, free: 12.48 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-05/1.201, allocations: 25 kB / 1.428 GB, free: 12.46 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008856/1.201, allocations: 462.3 kB / 1.429 GB, free: 12.01 MB / 1.154 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.003948/1.205, allocations: 4.392 MB / 1.433 GB, free: 7.387 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001476/1.206, allocations: 102.4 kB / 1.433 GB, free: 7.25 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.768e-05/1.206, allocations: 71.5 kB / 1.433 GB, free: 7.168 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001812/1.206, allocations: 93.09 kB / 1.433 GB, free: 7.059 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.342e-05/1.206, allocations: 46.5 kB / 1.433 GB, free: 7.004 MB / 1.154 GB Notification: Performance of pre-optimization done (n=10): time 1.663e-06/1.206, allocations: 0 / 1.433 GB, free: 7.004 MB / 1.154 GB Notification: Performance of matching and sorting (n=10): time 0.0006737/1.207, allocations: 237.4 kB / 1.434 GB, free: 6.766 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.956e-05/1.207, allocations: 136.5 kB / 1.434 GB, free: 6.602 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/1.208, allocations: 0.845 MB / 1.435 GB, free: 5.75 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/1.208, allocations: 29.7 kB / 1.435 GB, free: 5.715 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003048/1.208, allocations: 403.7 kB / 1.435 GB, free: 5.316 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 3.393e-05/1.208, allocations: 47.61 kB / 1.435 GB, free: 5.27 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001399/1.208, allocations: 89.97 kB / 1.435 GB, free: 5.176 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001211/1.208, allocations: 325.9 kB / 1.435 GB, free: 4.852 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002581/1.209, allocations: 116.7 kB / 1.435 GB, free: 4.738 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004369/1.209, allocations: 358 kB / 1.436 GB, free: 4.273 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005489/1.21, allocations: 441.6 kB / 1.436 GB, free: 3.734 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/1.21, allocations: 4 kB / 1.436 GB, free: 3.73 MB / 1.154 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009084/1.21, allocations: 0.5006 MB / 1.437 GB, free: 3.223 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/1.21, allocations: 8 kB / 1.437 GB, free: 3.215 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/1.21, allocations: 8 kB / 1.437 GB, free: 3.207 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/1.21, allocations: 8 kB / 1.437 GB, free: 3.199 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003255/1.211, allocations: 100.6 kB / 1.437 GB, free: 3.102 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.987e-05/1.211, allocations: 27.91 kB / 1.437 GB, free: 3.074 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006371/1.211, allocations: 115.2 kB / 1.437 GB, free: 2.961 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.875e-05/1.212, allocations: 23.94 kB / 1.437 GB, free: 2.938 MB / 1.154 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.0002733/1.212, allocations: 241.6 kB / 1.437 GB, free: 2.691 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001516/1.212, allocations: 75.53 kB / 1.437 GB, free: 2.617 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001031/1.212, allocations: 70.17 kB / 1.437 GB, free: 2.543 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/1.212, allocations: 0 / 1.437 GB, free: 2.543 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/1.212, allocations: 4 kB / 1.437 GB, free: 2.539 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/1.212, allocations: 0 / 1.437 GB, free: 2.539 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001278/1.213, allocations: 1.124 MB / 1.438 GB, free: 1.324 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/1.213, allocations: 320 / 1.438 GB, free: 1.324 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.209e-05/1.213, allocations: 23.94 kB / 1.439 GB, free: 1.301 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/1.213, allocations: 4 kB / 1.439 GB, free: 1.297 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/1.213, allocations: 0 / 1.439 GB, free: 1.297 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.77e-06/1.213, allocations: 7.984 kB / 1.439 GB, free: 1.289 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/1.213, allocations: 7.938 kB / 1.439 GB, free: 1.281 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003095/1.214, allocations: 264.2 kB / 1.439 GB, free: 0.9766 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001964/1.214, allocations: 176.5 kB / 1.439 GB, free: 0.7852 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.721e-05/1.214, allocations: 7.984 kB / 1.439 GB, free: 0.7773 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003197/1.214, allocations: 19.98 kB / 1.439 GB, free: 0.7578 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.463e-05/1.214, allocations: 11.94 kB / 1.439 GB, free: 0.7461 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/1.214, allocations: 4 kB / 1.439 GB, free: 0.7422 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0007613/1.215, allocations: 0.5927 MB / 1.44 GB, free: 156 kB / 1.154 GB Notification: Performance of sort global known variables: time 1e-07/1.215, allocations: 3.938 kB / 1.44 GB, free: 152 kB / 1.154 GB Notification: Performance of remove unused functions: time 0.0005769/1.216, allocations: 155.8 kB / 1.44 GB, free: 15.99 MB / 1.17 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.0004188/1.216, allocations: 196.7 kB / 1.44 GB, free: 15.81 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0004858/1.217, allocations: 233.4 kB / 1.44 GB, free: 15.58 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/1.217, allocations: 4.062 kB / 1.44 GB, free: 15.58 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 6.545e-05/1.217, allocations: 47.84 kB / 1.44 GB, free: 15.53 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001527/1.218, allocations: 384.2 kB / 1.441 GB, free: 15.17 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001467/1.22, allocations: 1.072 MB / 1.442 GB, free: 14.04 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004801/1.22, allocations: 0.9369 MB / 1.443 GB, free: 13.07 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0003878/1.221, allocations: 154.1 kB / 1.443 GB, free: 12.92 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.953e-05/1.221, allocations: 47.44 kB / 1.443 GB, free: 12.88 MB / 1.17 GB Notification: Performance of SimCode: time 3e-07/1.221, allocations: 0 / 1.443 GB, free: 12.88 MB / 1.17 GB Notification: Performance of Templates: time 0.01992/1.241, allocations: 11.87 MB / 1.454 GB, free: 1.215 MB / 1.17 GB make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.makefile (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches