Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001669/0.001669, allocations: 105.8 kB / 16.41 MB, free: 6.457 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.002139/0.00214, allocations: 189.7 kB / 17.34 MB, free: 5.711 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.391/1.391, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.619/2.619, allocations: 437 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 63.89 kB / 1.019 GB, free: 9.363 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9536/0.9552, allocations: 151.6 MB / 1.167 GB, free: 3.809 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.2076/1.163, allocations: 187.1 MB / 1.35 GB, free: 7.988 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01629/1.179, allocations: 13.02 MB / 1.363 GB, free: 10.93 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001365/1.181, allocations: 27.88 kB / 1.363 GB, free: 10.9 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001389/1.182, allocations: 421.3 kB / 1.363 GB, free: 10.49 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002609/1.185, allocations: 0.9566 MB / 1.364 GB, free: 9.527 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002012/1.187, allocations: 0.722 MB / 1.365 GB, free: 8.809 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002083/1.189, allocations: 1.506 MB / 1.366 GB, free: 7.301 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009266/1.19, allocations: 0.6634 MB / 1.367 GB, free: 6.621 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003916/1.194, allocations: 1.771 MB / 1.369 GB, free: 4.844 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001299/1.195, allocations: 0.5022 MB / 1.369 GB, free: 4.344 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 9.306e-05/1.195, allocations: 56 kB / 1.369 GB, free: 4.289 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001638/1.197, allocations: 0.8731 MB / 1.37 GB, free: 3.414 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002729/1.197, allocations: 287.2 kB / 1.37 GB, free: 3.133 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0004007/1.197, allocations: 382 kB / 1.371 GB, free: 2.758 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001673/1.199, allocations: 1.171 MB / 1.372 GB, free: 1.582 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/1.199, allocations: 0 / 1.372 GB, free: 1.582 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.362e-06/1.199, allocations: 0 / 1.372 GB, free: 1.582 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.22e-05/1.199, allocations: 0 / 1.372 GB, free: 1.582 MB / 1.092 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.001501/1.201, allocations: 1.081 MB / 1.373 GB, free: 456 kB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/1.201, allocations: 12.62 kB / 1.373 GB, free: 444 kB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001011/1.202, allocations: 195.2 kB / 1.373 GB, free: 248 kB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008442/1.203, allocations: 0.5525 MB / 1.374 GB, free: 15.65 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.463e-05/1.203, allocations: 45.31 kB / 1.374 GB, free: 15.61 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.508e-05/1.203, allocations: 52 kB / 1.374 GB, free: 15.56 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001156/1.204, allocations: 0.7828 MB / 1.375 GB, free: 14.66 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/1.204, allocations: 3.938 kB / 1.375 GB, free: 14.66 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.577e-05/1.204, allocations: 31.94 kB / 1.375 GB, free: 14.63 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.676e-05/1.204, allocations: 21 kB / 1.375 GB, free: 14.61 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008663/1.205, allocations: 459.3 kB / 1.375 GB, free: 14.16 MB / 1.107 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.003797/1.209, allocations: 4.391 MB / 1.379 GB, free: 9.539 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/1.209, allocations: 102.4 kB / 1.379 GB, free: 9.402 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/1.209, allocations: 79.44 kB / 1.379 GB, free: 9.312 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001661/1.209, allocations: 93.09 kB / 1.38 GB, free: 9.203 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/1.209, allocations: 42.5 kB / 1.38 GB, free: 9.152 MB / 1.107 GB Notification: Performance of pre-optimization done (n=10): time 1.844e-06/1.209, allocations: 0 / 1.38 GB, free: 9.152 MB / 1.107 GB Notification: Performance of matching and sorting (n=10): time 0.0006615/1.21, allocations: 245.4 kB / 1.38 GB, free: 8.906 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.381e-05/1.21, allocations: 136.5 kB / 1.38 GB, free: 8.742 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001058/1.211, allocations: 0.8372 MB / 1.381 GB, free: 7.898 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/1.211, allocations: 33.7 kB / 1.381 GB, free: 7.859 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.000308/1.211, allocations: 407.7 kB / 1.381 GB, free: 7.457 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 3.281e-05/1.211, allocations: 39.69 kB / 1.381 GB, free: 7.418 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001281/1.211, allocations: 89.97 kB / 1.381 GB, free: 7.324 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001171/1.212, allocations: 325.9 kB / 1.382 GB, free: 7 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002754/1.212, allocations: 116.7 kB / 1.382 GB, free: 6.887 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004429/1.212, allocations: 365.7 kB / 1.382 GB, free: 6.414 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005543/1.213, allocations: 445.5 kB / 1.383 GB, free: 5.871 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/1.213, allocations: 7.984 kB / 1.383 GB, free: 5.863 MB / 1.107 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009001/1.214, allocations: 0.4931 MB / 1.383 GB, free: 5.363 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/1.214, allocations: 8 kB / 1.383 GB, free: 5.355 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/1.214, allocations: 8 kB / 1.383 GB, free: 5.348 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.809e-05/1.214, allocations: 15.94 kB / 1.383 GB, free: 5.332 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003158/1.214, allocations: 95.83 kB / 1.383 GB, free: 5.238 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.744e-05/1.214, allocations: 15.92 kB / 1.383 GB, free: 5.223 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006424/1.215, allocations: 123.5 kB / 1.383 GB, free: 5.102 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.041e-05/1.215, allocations: 27.94 kB / 1.383 GB, free: 5.074 MB / 1.107 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.0002603/1.215, allocations: 229.6 kB / 1.384 GB, free: 4.84 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001421/1.215, allocations: 79.53 kB / 1.384 GB, free: 4.762 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001187/1.215, allocations: 70.17 kB / 1.384 GB, free: 4.691 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/1.215, allocations: 4 kB / 1.384 GB, free: 4.688 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/1.216, allocations: 0 / 1.384 GB, free: 4.688 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/1.216, allocations: 4 kB / 1.384 GB, free: 4.684 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001267/1.217, allocations: 1.117 MB / 1.385 GB, free: 3.477 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.349e-06/1.217, allocations: 4 kB / 1.385 GB, free: 3.473 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.965e-05/1.217, allocations: 16 kB / 1.385 GB, free: 3.457 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.181e-06/1.217, allocations: 4.297 kB / 1.385 GB, free: 3.453 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/1.217, allocations: 11.94 kB / 1.385 GB, free: 3.441 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/1.217, allocations: 4 kB / 1.385 GB, free: 3.438 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/1.217, allocations: 4 kB / 1.385 GB, free: 3.434 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002827/1.217, allocations: 264.2 kB / 1.385 GB, free: 3.129 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002027/1.217, allocations: 180.6 kB / 1.385 GB, free: 2.934 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.962e-05/1.218, allocations: 11.98 kB / 1.385 GB, free: 2.922 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003221/1.218, allocations: 23.98 kB / 1.385 GB, free: 2.898 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.197e-05/1.218, allocations: 11.88 kB / 1.385 GB, free: 2.887 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/1.218, allocations: 4 kB / 1.385 GB, free: 2.883 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0007798/1.219, allocations: 0.5888 MB / 1.386 GB, free: 2.297 MB / 1.107 GB Notification: Performance of sort global known variables: time 2.71e-07/1.219, allocations: 4 kB / 1.386 GB, free: 2.293 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0005734/1.219, allocations: 151.8 kB / 1.386 GB, free: 2.145 MB / 1.107 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.0004873/1.22, allocations: 201.3 kB / 1.386 GB, free: 1.957 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0005157/1.22, allocations: 241.4 kB / 1.386 GB, free: 1.723 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/1.22, allocations: 4 kB / 1.386 GB, free: 1.719 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 6.897e-05/1.22, allocations: 56.16 kB / 1.386 GB, free: 1.664 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001554/1.222, allocations: 375.5 kB / 1.387 GB, free: 1.312 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00175/1.224, allocations: 1.128 MB / 1.388 GB, free: 120 kB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005643/1.224, allocations: 0.9369 MB / 1.389 GB, free: 15.15 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/1.224, allocations: 47.44 kB / 1.389 GB, free: 15.11 MB / 1.123 GB Notification: Performance of SimCode: time 5.51e-07/1.224, allocations: 7.938 kB / 1.389 GB, free: 15.1 MB / 1.123 GB Notification: Performance of Templates: time 0.01749/1.242, allocations: 10.74 MB / 1.399 GB, free: 4.48 MB / 1.123 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches