Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001476/0.001477, allocations: 103.5 kB / 16.35 MB, free: 6.285 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.001637/0.001637, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.36/1.36, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.205/2.205, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 64.5 kB / 0.814 GB, free: 32.75 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.2418, allocations: 140.4 MB / 0.9511 GB, free: 8.109 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.7024/0.9442, allocations: 187.1 MB / 1.134 GB, free: 5.449 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0147/0.959, allocations: 13.02 MB / 1.147 GB, free: 4.793 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001867/0.9609, allocations: 27.31 kB / 1.147 GB, free: 4.785 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00145/0.9624, allocations: 413 kB / 1.147 GB, free: 4.637 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002591/0.965, allocations: 0.9304 MB / 1.148 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00195/0.967, allocations: 0.7038 MB / 1.149 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002046/0.969, allocations: 1.497 MB / 1.15 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00087/0.9699, allocations: 0.6505 MB / 1.151 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003744/0.9737, allocations: 1.725 MB / 1.152 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001288/0.975, allocations: 0.5255 MB / 1.153 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001059/0.9751, allocations: 53.28 kB / 1.153 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001677/0.9768, allocations: 0.8641 MB / 1.154 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002735/0.9771, allocations: 279.6 kB / 1.154 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000391/0.9775, allocations: 388.7 kB / 1.154 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001543/0.979, allocations: 1.165 MB / 1.156 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.979, allocations: 4 kB / 1.156 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.332e-06/0.979, allocations: 0 / 1.156 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.243e-05/0.9791, allocations: 4 kB / 1.156 GB, free: 2.559 MB / 0.8575 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.001473/0.9805, allocations: 1.049 MB / 1.157 GB, free: 17.79 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.9806, allocations: 12.22 kB / 1.157 GB, free: 17.79 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009553/0.9815, allocations: 190 kB / 1.157 GB, free: 17.74 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009247/0.9825, allocations: 0.5485 MB / 1.157 GB, free: 17.37 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.115e-05/0.9825, allocations: 46.75 kB / 1.157 GB, free: 17.35 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.012e-05/0.9826, allocations: 54.03 kB / 1.157 GB, free: 17.33 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001035/0.9837, allocations: 0.774 MB / 1.158 GB, free: 16.83 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.9837, allocations: 6.188 kB / 1.158 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.251e-05/0.9837, allocations: 27.94 kB / 1.158 GB, free: 16.8 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-05/0.9838, allocations: 26.62 kB / 1.158 GB, free: 16.8 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008803/0.9847, allocations: 460.9 kB / 1.159 GB, free: 16.65 MB / 0.8731 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.003746/0.9884, allocations: 4.384 MB / 1.163 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.9886, allocations: 98.42 kB / 1.163 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.27e-05/0.9887, allocations: 76.33 kB / 1.163 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001695/0.9888, allocations: 98.05 kB / 1.163 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.9889, allocations: 36.59 kB / 1.163 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=10): time 2.014e-06/0.9889, allocations: 0 / 1.163 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of matching and sorting (n=10): time 0.0006942/0.9896, allocations: 243.2 kB / 1.163 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.685e-05/0.9897, allocations: 137.4 kB / 1.164 GB, free: 12.33 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001134/0.9908, allocations: 0.8395 MB / 1.164 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.681e-05/0.9909, allocations: 32.08 kB / 1.164 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003/0.9912, allocations: 403.8 kB / 1.165 GB, free: 11.63 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.201e-05/0.9912, allocations: 39.14 kB / 1.165 GB, free: 11.6 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001422/0.9913, allocations: 88.83 kB / 1.165 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.9915, allocations: 327.3 kB / 1.165 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002673/0.9918, allocations: 110.8 kB / 1.165 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004485/0.9922, allocations: 364.7 kB / 1.166 GB, free: 10.85 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006167/0.9928, allocations: 442.3 kB / 1.166 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.341e-06/0.9929, allocations: 2.562 kB / 1.166 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001007/0.9939, allocations: 0.4963 MB / 1.167 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.9939, allocations: 13.09 kB / 1.167 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/0.9939, allocations: 8.312 kB / 1.167 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.711e-05/0.994, allocations: 18.23 kB / 1.167 GB, free: 10.24 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003432/0.9943, allocations: 91.44 kB / 1.167 GB, free: 10.23 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.939e-05/0.9943, allocations: 16.89 kB / 1.167 GB, free: 10.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007599/0.9951, allocations: 119.8 kB / 1.167 GB, free: 10.17 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.582e-05/0.9952, allocations: 24.03 kB / 1.167 GB, free: 10.17 MB / 0.8731 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.0003093/0.9955, allocations: 233.6 kB / 1.167 GB, free: 9.996 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001521/0.9956, allocations: 74.97 kB / 1.167 GB, free: 9.957 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001058/0.9957, allocations: 73.69 kB / 1.167 GB, free: 9.922 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.9958, allocations: 7.969 kB / 1.167 GB, free: 9.918 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.9958, allocations: 3.469 kB / 1.167 GB, free: 9.918 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.9958, allocations: 1.156 kB / 1.167 GB, free: 9.918 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001354/0.9971, allocations: 1.114 MB / 1.168 GB, free: 9.074 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.9972, allocations: 2.25 kB / 1.168 GB, free: 9.074 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.511e-05/0.9972, allocations: 16.55 kB / 1.168 GB, free: 9.074 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.9973, allocations: 4.188 kB / 1.168 GB, free: 9.074 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.9973, allocations: 7.062 kB / 1.168 GB, free: 9.07 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.9973, allocations: 3.969 kB / 1.168 GB, free: 9.07 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.9973, allocations: 7.344 kB / 1.168 GB, free: 9.066 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003136/0.9976, allocations: 262.7 kB / 1.169 GB, free: 8.855 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002715/0.9979, allocations: 178.2 kB / 1.169 GB, free: 8.703 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/0.998, allocations: 3.344 kB / 1.169 GB, free: 8.703 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003652/0.9984, allocations: 18.86 kB / 1.169 GB, free: 8.699 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.763e-05/0.9984, allocations: 19.53 kB / 1.169 GB, free: 8.688 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.9984, allocations: 9.375 kB / 1.169 GB, free: 8.684 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0008329/0.9993, allocations: 0.5872 MB / 1.169 GB, free: 8.453 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9993, allocations: 0 / 1.169 GB, free: 8.453 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006478/0.9999, allocations: 152.2 kB / 1.17 GB, free: 8.434 MB / 0.8731 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.000412/1, allocations: 198.9 kB / 1.17 GB, free: 8.312 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005127/1.001, allocations: 244.4 kB / 1.17 GB, free: 8.238 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/1.001, allocations: 1.469 kB / 1.17 GB, free: 8.238 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 7.781e-05/1.001, allocations: 52.92 kB / 1.17 GB, free: 8.219 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001521/1.003, allocations: 377.3 kB / 1.17 GB, free: 8.102 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001648/1.004, allocations: 1.057 MB / 1.171 GB, free: 7.488 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004813/1.005, allocations: 0.9444 MB / 1.172 GB, free: 6.758 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0004643/1.005, allocations: 147.7 kB / 1.173 GB, free: 6.727 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.957e-05/1.005, allocations: 50.06 kB / 1.173 GB, free: 6.715 MB / 0.8731 GB Notification: Performance of SimCode: time 4.71e-07/1.005, allocations: 1.094 kB / 1.173 GB, free: 6.715 MB / 0.8731 GB Notification: Performance of Templates: time 0.01996/1.025, allocations: 11.7 MB / 1.184 GB, free: 2.594 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches