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.007401/0.007401, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001641/0.001641, allocations: 195 kB / 16.67 MB, free: 5.977 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.512/2.512, allocations: 437 MB / 0.7105 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 59.91 kB / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8606/0.862, allocations: 151.6 MB / 1.167 GB, free: 3.906 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.2129/1.075, allocations: 187.1 MB / 1.349 GB, free: 8.082 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0176/1.093, allocations: 13.03 MB / 1.362 GB, free: 11.02 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00132/1.094, allocations: 31.81 kB / 1.362 GB, free: 10.98 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001673/1.096, allocations: 413.3 kB / 1.362 GB, free: 10.58 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002922/1.099, allocations: 0.9175 MB / 1.363 GB, free: 9.656 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002333/1.101, allocations: 0.7071 MB / 1.364 GB, free: 8.953 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002499/1.104, allocations: 1.51 MB / 1.366 GB, free: 7.441 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001286/1.105, allocations: 0.6507 MB / 1.366 GB, free: 6.773 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004386/1.109, allocations: 1.72 MB / 1.368 GB, free: 5.047 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001574/1.111, allocations: 0.5079 MB / 1.368 GB, free: 4.547 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002257/1.111, allocations: 60 kB / 1.368 GB, free: 4.488 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002176/1.113, allocations: 0.877 MB / 1.369 GB, free: 3.609 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0004792/1.114, allocations: 271.3 kB / 1.37 GB, free: 3.344 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0008338/1.115, allocations: 394 kB / 1.37 GB, free: 2.957 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002829/1.117, allocations: 1.175 MB / 1.371 GB, free: 1.777 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/1.117, allocations: 0 / 1.371 GB, free: 1.777 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.984e-06/1.117, allocations: 0 / 1.371 GB, free: 1.777 MB / 1.092 GB Notification: Performance of Transformations before backend: time 3.995e-05/1.118, allocations: 0 / 1.371 GB, free: 1.777 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.002075/1.12, allocations: 1.074 MB / 1.372 GB, free: 0.6484 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.888e-05/1.12, allocations: 8.922 kB / 1.372 GB, free: 0.6406 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001178/1.121, allocations: 195.2 kB / 1.372 GB, free: 460 kB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001167/1.122, allocations: 0.5564 MB / 1.373 GB, free: 15.86 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.675e-05/1.122, allocations: 45.31 kB / 1.373 GB, free: 15.81 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.614e-05/1.122, allocations: 56 kB / 1.373 GB, free: 15.76 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001315/1.124, allocations: 0.775 MB / 1.374 GB, free: 14.87 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/1.124, allocations: 0 / 1.374 GB, free: 14.87 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.225e-05/1.124, allocations: 35.94 kB / 1.374 GB, free: 14.84 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.32e-05/1.124, allocations: 28.92 kB / 1.374 GB, free: 14.81 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000964/1.125, allocations: 459.3 kB / 1.374 GB, free: 14.36 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.004483/1.129, allocations: 4.387 MB / 1.378 GB, free: 9.742 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001765/1.129, allocations: 110.3 kB / 1.379 GB, free: 9.598 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/1.129, allocations: 71.58 kB / 1.379 GB, free: 9.516 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001911/1.13, allocations: 101 kB / 1.379 GB, free: 9.398 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/1.13, allocations: 38.56 kB / 1.379 GB, free: 9.352 MB / 1.107 GB Notification: Performance of pre-optimization done (n=10): time 2.014e-06/1.13, allocations: 4 kB / 1.379 GB, free: 9.348 MB / 1.107 GB Notification: Performance of matching and sorting (n=10): time 0.0007971/1.131, allocations: 245.1 kB / 1.379 GB, free: 9.102 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.626e-05/1.131, allocations: 128.5 kB / 1.379 GB, free: 8.945 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0013/1.132, allocations: 0.8488 MB / 1.38 GB, free: 8.09 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 3.4e-05/1.132, allocations: 29.7 kB / 1.38 GB, free: 8.055 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003513/1.132, allocations: 411.7 kB / 1.38 GB, free: 7.648 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 4.75e-05/1.132, allocations: 39.69 kB / 1.38 GB, free: 7.609 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001647/1.133, allocations: 93.97 kB / 1.381 GB, free: 7.512 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001269/1.133, allocations: 325.9 kB / 1.381 GB, free: 7.188 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002981/1.133, allocations: 108.7 kB / 1.381 GB, free: 7.082 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004922/1.133, allocations: 365.7 kB / 1.381 GB, free: 6.609 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000605/1.134, allocations: 441.5 kB / 1.382 GB, free: 6.07 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.253e-06/1.134, allocations: 0 / 1.382 GB, free: 6.07 MB / 1.107 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001054/1.135, allocations: 0.4967 MB / 1.382 GB, free: 5.566 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/1.135, allocations: 8 kB / 1.382 GB, free: 5.559 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/1.135, allocations: 12 kB / 1.382 GB, free: 5.547 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.851e-05/1.135, allocations: 12.81 kB / 1.382 GB, free: 5.535 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003741/1.136, allocations: 99.81 kB / 1.382 GB, free: 5.438 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.928e-05/1.136, allocations: 11.94 kB / 1.382 GB, free: 5.426 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007571/1.136, allocations: 123.2 kB / 1.382 GB, free: 5.305 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.175e-05/1.136, allocations: 31.92 kB / 1.382 GB, free: 5.273 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.0003106/1.137, allocations: 221.6 kB / 1.383 GB, free: 5.047 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002044/1.137, allocations: 75.53 kB / 1.383 GB, free: 4.973 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001371/1.137, allocations: 74.17 kB / 1.383 GB, free: 4.898 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/1.137, allocations: 4 kB / 1.383 GB, free: 4.895 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/1.137, allocations: 0 / 1.383 GB, free: 4.895 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/1.137, allocations: 0 / 1.383 GB, free: 4.895 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001696/1.139, allocations: 1.125 MB / 1.384 GB, free: 3.68 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/1.139, allocations: 4 kB / 1.384 GB, free: 3.676 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/1.139, allocations: 19.92 kB / 1.384 GB, free: 3.656 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.789e-06/1.139, allocations: 4 kB / 1.384 GB, free: 3.652 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/1.139, allocations: 4 kB / 1.384 GB, free: 3.648 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/1.139, allocations: 4 kB / 1.384 GB, free: 3.645 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/1.139, allocations: 3.938 kB / 1.384 GB, free: 3.641 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003659/1.139, allocations: 280.2 kB / 1.384 GB, free: 3.32 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003097/1.14, allocations: 180.5 kB / 1.384 GB, free: 3.125 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001349/1.14, allocations: 4 kB / 1.384 GB, free: 3.121 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003485/1.14, allocations: 15.98 kB / 1.384 GB, free: 3.105 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.952e-05/1.14, allocations: 15.92 kB / 1.384 GB, free: 3.09 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/1.14, allocations: 4 kB / 1.384 GB, free: 3.086 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0009721/1.141, allocations: 0.5888 MB / 1.385 GB, free: 2.5 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.81e-07/1.141, allocations: 0 / 1.385 GB, free: 2.5 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0006933/1.142, allocations: 159.8 kB / 1.385 GB, free: 2.344 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.0005656/1.143, allocations: 194.5 kB / 1.385 GB, free: 2.16 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0006128/1.143, allocations: 249.2 kB / 1.386 GB, free: 1.918 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/1.143, allocations: 0 / 1.386 GB, free: 1.918 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 7.575e-05/1.143, allocations: 47.86 kB / 1.386 GB, free: 1.871 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001706/1.145, allocations: 374.2 kB / 1.386 GB, free: 1.512 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001819/1.147, allocations: 1.072 MB / 1.387 GB, free: 388 kB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000609/1.147, allocations: 0.9408 MB / 1.388 GB, free: 15.41 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0005585/1.148, allocations: 150.1 kB / 1.388 GB, free: 15.26 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001298/1.148, allocations: 47.44 kB / 1.388 GB, free: 15.21 MB / 1.123 GB Notification: Performance of SimCode: time 4.21e-07/1.148, allocations: 0 / 1.388 GB, free: 15.21 MB / 1.123 GB Notification: Performance of Templates: time 0.02251/1.171, allocations: 11.81 MB / 1.4 GB, free: 3.613 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches