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.004763/0.004763, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.00112/0.00112, allocations: 194.3 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.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.616/2.616, allocations: 437 MB / 0.7105 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 71.89 kB / 1.019 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3348, allocations: 151.6 MB / 1.167 GB, free: 6.762 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.8899/1.225, allocations: 187.1 MB / 1.349 GB, free: 5.18 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01666/1.241, allocations: 13.01 MB / 1.362 GB, free: 11.86 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001415/1.243, allocations: 34.84 kB / 1.362 GB, free: 11.84 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001377/1.244, allocations: 422 kB / 1.363 GB, free: 11.59 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002747/1.247, allocations: 0.9646 MB / 1.363 GB, free: 11.05 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.00202/1.249, allocations: 0.7092 MB / 1.364 GB, free: 10.69 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.002311/1.251, allocations: 1.508 MB / 1.366 GB, free: 10.02 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001019/1.253, allocations: 0.655 MB / 1.366 GB, free: 9.723 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004224/1.257, allocations: 1.77 MB / 1.368 GB, free: 8.898 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001359/1.258, allocations: 0.5032 MB / 1.368 GB, free: 8.684 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001045/1.258, allocations: 52.72 kB / 1.369 GB, free: 8.684 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001784/1.26, allocations: 0.8922 MB / 1.369 GB, free: 8.277 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0002974/1.26, allocations: 279.1 kB / 1.37 GB, free: 8.094 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0004009/1.261, allocations: 383.8 kB / 1.37 GB, free: 7.852 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001686/1.262, allocations: 1.172 MB / 1.371 GB, free: 7.109 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/1.262, allocations: 1.094 kB / 1.371 GB, free: 7.109 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.412e-06/1.262, allocations: 0 / 1.371 GB, free: 7.109 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.109e-05/1.262, allocations: 0 / 1.371 GB, free: 7.109 MB / 1.045 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.001446/1.264, allocations: 1.078 MB / 1.372 GB, free: 6.219 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/1.264, allocations: 9.531 kB / 1.372 GB, free: 6.219 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009527/1.265, allocations: 201.9 kB / 1.372 GB, free: 6.121 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008237/1.266, allocations: 0.545 MB / 1.373 GB, free: 5.672 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.702e-05/1.266, allocations: 41.38 kB / 1.373 GB, free: 5.656 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.129e-05/1.266, allocations: 62.64 kB / 1.373 GB, free: 5.633 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001101/1.267, allocations: 0.777 MB / 1.374 GB, free: 5.008 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/1.267, allocations: 6.25 kB / 1.374 GB, free: 5.004 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.97e-05/1.267, allocations: 26.69 kB / 1.374 GB, free: 4.984 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.176e-05/1.267, allocations: 27.16 kB / 1.374 GB, free: 4.98 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008611/1.268, allocations: 462.2 kB / 1.374 GB, free: 4.758 MB / 1.045 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.003743/1.272, allocations: 4.378 MB / 1.379 GB, free: 0.6484 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/1.272, allocations: 109.2 kB / 1.379 GB, free: 0.5273 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/1.272, allocations: 76.78 kB / 1.379 GB, free: 480 kB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001686/1.272, allocations: 93.25 kB / 1.379 GB, free: 380 kB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/1.272, allocations: 49.22 kB / 1.379 GB, free: 324 kB / 1.045 GB Notification: Performance of pre-optimization done (n=10): time 3.587e-06/1.272, allocations: 3.984 kB / 1.379 GB, free: 320 kB / 1.045 GB Notification: Performance of matching and sorting (n=10): time 0.0006585/1.273, allocations: 242.3 kB / 1.379 GB, free: 184 kB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.318e-05/1.273, allocations: 133.8 kB / 1.379 GB, free: 20 kB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001141/1.274, allocations: 0.8451 MB / 1.38 GB, free: 15.55 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.701e-05/1.274, allocations: 32.67 kB / 1.38 GB, free: 15.52 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002952/1.274, allocations: 404.5 kB / 1.381 GB, free: 15.16 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.32e-05/1.274, allocations: 43.56 kB / 1.381 GB, free: 15.12 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/1.275, allocations: 89.16 kB / 1.381 GB, free: 15.07 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001061/1.275, allocations: 326.8 kB / 1.381 GB, free: 14.75 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002534/1.275, allocations: 113 kB / 1.381 GB, free: 14.7 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004362/1.275, allocations: 366.2 kB / 1.381 GB, free: 14.31 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005379/1.276, allocations: 440.3 kB / 1.382 GB, free: 13.89 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/1.276, allocations: 2.75 kB / 1.382 GB, free: 13.89 MB / 1.061 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008563/1.277, allocations: 0.4955 MB / 1.382 GB, free: 13.63 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/1.277, allocations: 7.344 kB / 1.382 GB, free: 13.63 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/1.277, allocations: 7.781 kB / 1.382 GB, free: 13.63 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.192e-05/1.277, allocations: 16.84 kB / 1.382 GB, free: 13.63 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003087/1.277, allocations: 98.17 kB / 1.382 GB, free: 13.6 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.154e-05/1.277, allocations: 18.05 kB / 1.382 GB, free: 13.59 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006744/1.278, allocations: 112.6 kB / 1.383 GB, free: 13.53 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.05e-05/1.278, allocations: 28.09 kB / 1.383 GB, free: 13.52 MB / 1.061 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.0002614/1.278, allocations: 232 kB / 1.383 GB, free: 13.33 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001488/1.278, allocations: 80.27 kB / 1.383 GB, free: 13.29 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001168/1.279, allocations: 71.3 kB / 1.383 GB, free: 13.25 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/1.279, allocations: 0 / 1.383 GB, free: 13.25 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/1.279, allocations: 2.5 kB / 1.383 GB, free: 13.25 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/1.279, allocations: 0 / 1.383 GB, free: 13.25 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001258/1.28, allocations: 1.124 MB / 1.384 GB, free: 12.25 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/1.28, allocations: 6.719 kB / 1.384 GB, free: 12.24 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.382e-05/1.28, allocations: 23.92 kB / 1.384 GB, free: 12.23 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/1.28, allocations: 2.656 kB / 1.384 GB, free: 12.23 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/1.28, allocations: 2.688 kB / 1.384 GB, free: 12.23 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/1.28, allocations: 2.656 kB / 1.384 GB, free: 12.23 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/1.28, allocations: 2.656 kB / 1.384 GB, free: 12.23 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002935/1.28, allocations: 273.5 kB / 1.384 GB, free: 12 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002174/1.281, allocations: 181.4 kB / 1.385 GB, free: 11.83 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/1.281, allocations: 10.89 kB / 1.385 GB, free: 11.82 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003085/1.281, allocations: 14.48 kB / 1.385 GB, free: 11.82 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.4e-05/1.281, allocations: 17.36 kB / 1.385 GB, free: 11.81 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/1.281, allocations: 4.969 kB / 1.385 GB, free: 11.81 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0008093/1.282, allocations: 0.5893 MB / 1.385 GB, free: 11.48 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.1e-07/1.282, allocations: 0 / 1.385 GB, free: 11.48 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005593/1.282, allocations: 151.1 kB / 1.385 GB, free: 11.46 MB / 1.061 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.0004618/1.283, allocations: 203.4 kB / 1.385 GB, free: 11.33 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004978/1.283, allocations: 247.2 kB / 1.386 GB, free: 11.22 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/1.283, allocations: 0 / 1.386 GB, free: 11.22 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.01e-05/1.283, allocations: 50.12 kB / 1.386 GB, free: 11.2 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001482/1.285, allocations: 381.3 kB / 1.386 GB, free: 11 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/1.286, allocations: 1.072 MB / 1.387 GB, free: 10.28 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004687/1.287, allocations: 0.9387 MB / 1.388 GB, free: 9.461 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003969/1.287, allocations: 154.7 kB / 1.388 GB, free: 9.387 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.506e-05/1.287, allocations: 47.41 kB / 1.388 GB, free: 9.379 MB / 1.061 GB Notification: Performance of SimCode: time 2.41e-07/1.287, allocations: 0 / 1.388 GB, free: 9.379 MB / 1.061 GB Notification: Performance of Templates: time 0.02025/1.308, allocations: 11.8 MB / 1.4 GB, free: 3.621 MB / 1.061 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