Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|const.k|cheEquTra2.y|cheEquTra1.y",fileNamePrefix="Buildings_latest_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_latest_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.001638/0.001638, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001877/0.001877, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.365/1.365, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.61/2.61, allocations: 461.9 MB / 0.7354 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 63.91 kB / 1.055 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8636/0.8651, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.2336/1.099, allocations: 187.1 MB / 1.391 GB, free: 1.785 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01714/1.116, allocations: 13.03 MB / 1.404 GB, free: 4.707 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001198/1.117, allocations: 27.88 kB / 1.404 GB, free: 4.68 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001513/1.119, allocations: 417.3 kB / 1.404 GB, free: 4.27 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002574/1.121, allocations: 0.9097 MB / 1.405 GB, free: 3.355 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002135/1.124, allocations: 0.7116 MB / 1.406 GB, free: 2.648 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002264/1.126, allocations: 1.504 MB / 1.407 GB, free: 1.137 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001158/1.127, allocations: 0.6642 MB / 1.408 GB, free: 472 kB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004185/1.131, allocations: 1.732 MB / 1.41 GB, free: 14.72 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001441/1.133, allocations: 0.4941 MB / 1.41 GB, free: 14.23 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001888/1.133, allocations: 56 kB / 1.41 GB, free: 14.18 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001778/1.135, allocations: 0.8692 MB / 1.411 GB, free: 13.3 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0004079/1.135, allocations: 283.2 kB / 1.411 GB, free: 13.03 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0006295/1.136, allocations: 390 kB / 1.412 GB, free: 12.64 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002171/1.138, allocations: 1.168 MB / 1.413 GB, free: 11.47 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/1.138, allocations: 0 / 1.413 GB, free: 11.47 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.023e-06/1.138, allocations: 0 / 1.413 GB, free: 11.47 MB / 1.139 GB Notification: Performance of Transformations before backend: time 3.672e-05/1.138, allocations: 0 / 1.413 GB, free: 11.47 MB / 1.139 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.001864/1.14, allocations: 1.051 MB / 1.414 GB, free: 10.37 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/1.14, allocations: 12.03 kB / 1.414 GB, free: 10.36 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00104/1.141, allocations: 190.9 kB / 1.414 GB, free: 10.17 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009851/1.142, allocations: 0.5558 MB / 1.415 GB, free: 9.57 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.319e-05/1.142, allocations: 41.31 kB / 1.415 GB, free: 9.531 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.38e-05/1.142, allocations: 60 kB / 1.415 GB, free: 9.473 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001283/1.143, allocations: 0.7789 MB / 1.415 GB, free: 8.582 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/1.143, allocations: 7.938 kB / 1.415 GB, free: 8.574 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.826e-05/1.143, allocations: 27.94 kB / 1.416 GB, free: 8.547 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.375e-05/1.143, allocations: 24.94 kB / 1.416 GB, free: 8.523 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009311/1.144, allocations: 459.3 kB / 1.416 GB, free: 8.074 MB / 1.139 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.004236/1.149, allocations: 4.38 MB / 1.42 GB, free: 3.465 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001403/1.149, allocations: 102.4 kB / 1.42 GB, free: 3.328 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/1.149, allocations: 83.44 kB / 1.42 GB, free: 3.234 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001685/1.149, allocations: 97.03 kB / 1.421 GB, free: 3.121 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/1.149, allocations: 30.56 kB / 1.421 GB, free: 3.082 MB / 1.139 GB Notification: Performance of pre-optimization done (n=10): time 2.244e-06/1.149, allocations: 0 / 1.421 GB, free: 3.082 MB / 1.139 GB Notification: Performance of matching and sorting (n=10): time 0.0007284/1.15, allocations: 248.5 kB / 1.421 GB, free: 2.832 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.915e-05/1.15, allocations: 128.5 kB / 1.421 GB, free: 2.676 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00117/1.151, allocations: 0.845 MB / 1.422 GB, free: 1.82 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 3.541e-05/1.151, allocations: 29.7 kB / 1.422 GB, free: 1.785 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003213/1.152, allocations: 402.8 kB / 1.422 GB, free: 1.387 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 3.798e-05/1.152, allocations: 39.55 kB / 1.422 GB, free: 1.348 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000149/1.152, allocations: 89.88 kB / 1.422 GB, free: 1.254 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001308/1.152, allocations: 325.9 kB / 1.423 GB, free: 0.9297 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002729/1.152, allocations: 108.7 kB / 1.423 GB, free: 0.8242 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004653/1.153, allocations: 362 kB / 1.423 GB, free: 364 kB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006188/1.153, allocations: 449.6 kB / 1.423 GB, free: 15.8 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/1.153, allocations: 0 / 1.423 GB, free: 15.8 MB / 1.154 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001015/1.154, allocations: 0.4931 MB / 1.424 GB, free: 15.3 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/1.154, allocations: 8 kB / 1.424 GB, free: 15.3 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.618e-05/1.154, allocations: 11.98 kB / 1.424 GB, free: 15.29 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.851e-05/1.154, allocations: 12 kB / 1.424 GB, free: 15.27 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003259/1.155, allocations: 91.83 kB / 1.424 GB, free: 15.18 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.651e-05/1.155, allocations: 12.38 kB / 1.424 GB, free: 15.17 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007163/1.155, allocations: 122.8 kB / 1.424 GB, free: 15.05 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.758e-05/1.156, allocations: 27.94 kB / 1.424 GB, free: 15.02 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.0003244/1.156, allocations: 225.7 kB / 1.424 GB, free: 14.79 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001929/1.156, allocations: 83.08 kB / 1.425 GB, free: 14.71 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001416/1.156, allocations: 70.17 kB / 1.425 GB, free: 14.64 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/1.156, allocations: 4 kB / 1.425 GB, free: 14.63 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.8e-06/1.156, allocations: 0 / 1.425 GB, free: 14.63 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/1.156, allocations: 3.984 kB / 1.425 GB, free: 14.63 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001465/1.158, allocations: 1.124 MB / 1.426 GB, free: 13.41 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/1.158, allocations: 4 kB / 1.426 GB, free: 13.41 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.505e-05/1.158, allocations: 16 kB / 1.426 GB, free: 13.39 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.366e-06/1.158, allocations: 8.312 kB / 1.426 GB, free: 13.39 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/1.158, allocations: 4 kB / 1.426 GB, free: 13.38 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.235e-06/1.158, allocations: 7.938 kB / 1.426 GB, free: 13.38 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/1.158, allocations: 3.828 kB / 1.426 GB, free: 13.38 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003388/1.158, allocations: 271.7 kB / 1.426 GB, free: 13.06 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002155/1.158, allocations: 168.2 kB / 1.426 GB, free: 12.88 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/1.159, allocations: 4 kB / 1.426 GB, free: 12.88 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003299/1.159, allocations: 15.98 kB / 1.426 GB, free: 12.86 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.954e-05/1.159, allocations: 23.86 kB / 1.426 GB, free: 12.84 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.797e-06/1.159, allocations: 8.062 kB / 1.426 GB, free: 12.83 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0008544/1.16, allocations: 0.5927 MB / 1.427 GB, free: 12.24 MB / 1.154 GB Notification: Performance of sort global known variables: time 4.21e-07/1.16, allocations: 0 / 1.427 GB, free: 12.24 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0006094/1.16, allocations: 151.8 kB / 1.427 GB, free: 12.09 MB / 1.154 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.0004952/1.161, allocations: 185.6 kB / 1.427 GB, free: 11.92 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0007297/1.162, allocations: 245.2 kB / 1.427 GB, free: 11.68 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/1.162, allocations: 0 / 1.427 GB, free: 11.68 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 9.75e-05/1.162, allocations: 52.27 kB / 1.427 GB, free: 11.63 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001606/1.163, allocations: 376.9 kB / 1.428 GB, free: 11.27 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00173/1.165, allocations: 1.106 MB / 1.429 GB, free: 10.1 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005489/1.166, allocations: 0.9409 MB / 1.43 GB, free: 9.129 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001375/1.166, allocations: 47.44 kB / 1.43 GB, free: 9.082 MB / 1.154 GB Notification: Performance of SimCode: time 4.41e-07/1.166, allocations: 0 / 1.43 GB, free: 9.082 MB / 1.154 GB Notification: Performance of Templates: time 0.0173/1.183, allocations: 10.75 MB / 1.44 GB, free: 14.44 MB / 1.17 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches