Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001584/0.001584, allocations: 103.7 kB / 16.27 MB, free: 5.98 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.001729/0.001729, allocations: 189.8 kB / 17.19 MB, free: 5.605 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.416/1.416, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.683/2.683, allocations: 469.8 MB / 0.743 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 64.83 kB / 0.9092 GB, free: 13.92 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.3277, allocations: 159.1 MB / 1.065 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.7303/1.058, allocations: 187.1 MB / 1.247 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01736/1.075, allocations: 13.02 MB / 1.26 GB, free: 0.6211 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001116/1.077, allocations: 27.88 kB / 1.26 GB, free: 0.5938 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001319/1.078, allocations: 413.3 kB / 1.26 GB, free: 192 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002613/1.081, allocations: 0.9253 MB / 1.261 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002133/1.083, allocations: 0.7064 MB / 1.262 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002315/1.085, allocations: 1.504 MB / 1.264 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001021/1.086, allocations: 0.6551 MB / 1.264 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003966/1.09, allocations: 1.72 MB / 1.266 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00148/1.092, allocations: 0.4999 MB / 1.266 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001482/1.092, allocations: 52 kB / 1.266 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002181/1.094, allocations: 0.8692 MB / 1.267 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003834/1.094, allocations: 279.2 kB / 1.268 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000521/1.095, allocations: 390 kB / 1.268 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0018/1.097, allocations: 1.145 MB / 1.269 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/1.097, allocations: 0 / 1.269 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.958e-06/1.097, allocations: 4 kB / 1.269 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.105e-05/1.097, allocations: 4 kB / 1.269 GB, free: 7.43 MB / 0.9825 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.001549/1.098, allocations: 1.048 MB / 1.27 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/1.098, allocations: 8.031 kB / 1.27 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009516/1.099, allocations: 194.8 kB / 1.27 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007969/1.1, allocations: 0.5247 MB / 1.271 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003665/1.1, allocations: 97.25 kB / 1.271 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.971e-05/1.101, allocations: 59.98 kB / 1.271 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00127/1.102, allocations: 0.7789 MB / 1.272 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/1.102, allocations: 7.875 kB / 1.272 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.676e-05/1.102, allocations: 31.92 kB / 1.272 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.762e-05/1.102, allocations: 25 kB / 1.272 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001019/1.103, allocations: 471.3 kB / 1.272 GB, free: 4 MB / 0.9825 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.004617/1.108, allocations: 4.411 MB / 1.276 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001746/1.108, allocations: 98.36 kB / 1.277 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/1.108, allocations: 75.58 kB / 1.277 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001932/1.108, allocations: 97.09 kB / 1.277 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.976e-05/1.108, allocations: 46.48 kB / 1.277 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=10): time 2.164e-06/1.108, allocations: 0 / 1.277 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10): time 0.0007208/1.109, allocations: 232.9 kB / 1.277 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.341e-05/1.109, allocations: 132.5 kB / 1.277 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001265/1.11, allocations: 0.8486 MB / 1.278 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.25e-05/1.11, allocations: 33.7 kB / 1.278 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003763/1.111, allocations: 398.9 kB / 1.278 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.068e-05/1.111, allocations: 43.52 kB / 1.278 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001605/1.111, allocations: 89.89 kB / 1.278 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001616/1.111, allocations: 325.9 kB / 1.279 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003276/1.111, allocations: 120.6 kB / 1.279 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005479/1.112, allocations: 365.7 kB / 1.279 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006771/1.113, allocations: 446.6 kB / 1.28 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/1.113, allocations: 4 kB / 1.28 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001088/1.114, allocations: 0.5082 MB / 1.28 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/1.114, allocations: 8 kB / 1.28 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/1.114, allocations: 8 kB / 1.28 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.628e-05/1.114, allocations: 12 kB / 1.28 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003713/1.114, allocations: 96.45 kB / 1.28 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.154e-05/1.114, allocations: 15.92 kB / 1.28 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007447/1.115, allocations: 125.6 kB / 1.28 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.119e-05/1.115, allocations: 31.92 kB / 1.28 GB, free: 10.88 MB / 0.9981 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.0003464/1.115, allocations: 227.5 kB / 1.281 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001744/1.116, allocations: 75.06 kB / 1.281 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001245/1.116, allocations: 78.11 kB / 1.281 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/1.116, allocations: 4 kB / 1.281 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/1.116, allocations: 0 / 1.281 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.826e-06/1.116, allocations: 4.469 kB / 1.281 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001582/1.117, allocations: 1.116 MB / 1.282 GB, free: 9.277 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/1.117, allocations: 4 kB / 1.282 GB, free: 9.273 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.526e-05/1.118, allocations: 19.98 kB / 1.282 GB, free: 9.254 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/1.118, allocations: 0 / 1.282 GB, free: 9.254 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/1.118, allocations: 4 kB / 1.282 GB, free: 9.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/1.118, allocations: 4 kB / 1.282 GB, free: 9.246 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.261e-06/1.118, allocations: 8.25 kB / 1.282 GB, free: 9.238 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003226/1.118, allocations: 267.8 kB / 1.282 GB, free: 8.93 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002365/1.118, allocations: 176.1 kB / 1.282 GB, free: 8.738 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.113e-05/1.118, allocations: 4 kB / 1.282 GB, free: 8.734 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003295/1.119, allocations: 19.98 kB / 1.282 GB, free: 8.715 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.039e-05/1.119, allocations: 19.86 kB / 1.282 GB, free: 8.695 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/1.119, allocations: 8 kB / 1.282 GB, free: 8.688 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009014/1.12, allocations: 0.5927 MB / 1.283 GB, free: 8.102 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.12, allocations: 0 / 1.283 GB, free: 8.102 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006043/1.12, allocations: 155.8 kB / 1.283 GB, free: 7.949 MB / 0.9981 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.0004833/1.121, allocations: 196.9 kB / 1.283 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005763/1.121, allocations: 253.1 kB / 1.284 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/1.121, allocations: 4 kB / 1.284 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 6.8e-05/1.121, allocations: 43.91 kB / 1.284 GB, free: 7.473 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001603/1.123, allocations: 385.4 kB / 1.284 GB, free: 7.109 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001657/1.125, allocations: 1.118 MB / 1.285 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005868/1.125, allocations: 0.937 MB / 1.286 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/1.125, allocations: 47.44 kB / 1.286 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of SimCode: time 3.21e-07/1.125, allocations: 0 / 1.286 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of Templates: time 0.01549/1.141, allocations: 10.69 MB / 1.297 GB, free: 10.34 MB / 1.014 GB make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.makefile (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches