Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.MixingVolumeSteadyStateMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.dynBal.m|vol.T|sou.ports.1..m_flow|vol.ports.2..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.dynBal.m|vol.T|sou.ports.1..m_flow|vol.ports.2..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001007, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 182 kB / 16.92 MB, free: 6.922 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.429/1.429, allocations: 223.3 MB / 241 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.841/2.841, allocations: 462.6 MB / 0.7371 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003628/0.0003627, allocations: 7.469 kB / 0.9034 GB, free: 36.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3645/0.3649, allocations: 159.6 MB / 1.059 GB, free: 5 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass): time 0.2022/0.5671, allocations: 172.6 MB / 1.228 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.008195/0.5753, allocations: 4.422 MB / 1.232 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001211/0.5766, allocations: 23.81 kB / 1.232 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001316/0.5779, allocations: 298.4 kB / 1.232 GB, free: 3.012 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00392/0.5819, allocations: 1.185 MB / 1.234 GB, free: 1.824 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002176/0.5841, allocations: 0.6219 MB / 1.234 GB, free: 1.207 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003273/0.5873, allocations: 2.218 MB / 1.236 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009836/0.5883, allocations: 444.9 kB / 1.237 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001793/0.5901, allocations: 0.5794 MB / 1.237 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001636/0.5918, allocations: 495.7 kB / 1.238 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001713/0.592, allocations: 24 kB / 1.238 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003242/0.5952, allocations: 1.45 MB / 1.239 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003978/0.5956, allocations: 195.4 kB / 1.24 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006265/0.5963, allocations: 336.1 kB / 1.24 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001816/0.5981, allocations: 0.9274 MB / 1.241 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.5981, allocations: 0 / 1.241 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.084e-06/0.5981, allocations: 4 kB / 1.241 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.209e-05/0.5982, allocations: 4 kB / 1.241 GB, free: 10.54 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.002086/0.6003, allocations: 0.8841 MB / 1.242 GB, free: 9.605 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.6003, allocations: 19.97 kB / 1.242 GB, free: 9.586 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001353/0.6017, allocations: 167.1 kB / 1.242 GB, free: 9.422 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00117/0.6029, allocations: 0.5206 MB / 1.242 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.365e-05/0.6029, allocations: 40.94 kB / 1.242 GB, free: 8.82 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/0.6031, allocations: 43.98 kB / 1.242 GB, free: 8.777 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/0.6041, allocations: 474.3 kB / 1.243 GB, free: 8.305 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.6041, allocations: 0 / 1.243 GB, free: 8.305 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.004e-05/0.6042, allocations: 23.94 kB / 1.243 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.118e-05/0.6042, allocations: 13 kB / 1.243 GB, free: 8.27 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009382/0.6052, allocations: 435.7 kB / 1.243 GB, free: 7.844 MB / 0.9981 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.003221/0.6084, allocations: 2.039 MB / 1.245 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005718/0.609, allocations: 286.8 kB / 1.246 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003456/0.6094, allocations: 196.8 kB / 1.246 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003005/0.6097, allocations: 190.2 kB / 1.246 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/0.6097, allocations: 38.5 kB / 1.246 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=30): time 2.625e-06/0.6097, allocations: 0 / 1.246 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30): time 0.001848/0.6116, allocations: 0.6565 MB / 1.247 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.017e-05/0.6116, allocations: 59.41 kB / 1.247 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005931/0.6122, allocations: 446 kB / 1.247 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.74e-05/0.6123, allocations: 33.64 kB / 1.247 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002236/0.6125, allocations: 284.1 kB / 1.247 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001128/0.6126, allocations: 106.5 kB / 1.247 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.769e-05/0.6127, allocations: 33.7 kB / 1.248 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001721/0.6129, allocations: 362.8 kB / 1.248 GB, free: 2.836 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00027/0.6132, allocations: 127.9 kB / 1.248 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003422/0.6135, allocations: 210.5 kB / 1.248 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005984/0.6141, allocations: 341.5 kB / 1.248 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.6142, allocations: 0 / 1.248 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007906/0.6149, allocations: 416.9 kB / 1.249 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.842e-05/0.6151, allocations: 133.3 kB / 1.249 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.6151, allocations: 7.875 kB / 1.249 GB, free: 1.555 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.6151, allocations: 4 kB / 1.249 GB, free: 1.551 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003629/0.6155, allocations: 67.91 kB / 1.249 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.6155, allocations: 4 kB / 1.249 GB, free: 1.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006047/0.6161, allocations: 59.7 kB / 1.249 GB, free: 1.422 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.888e-05/0.6161, allocations: 12 kB / 1.249 GB, free: 1.41 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.488e-06/0.6162, allocations: 4 kB / 1.249 GB, free: 1.406 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006768/0.6168, allocations: 344 kB / 1.25 GB, free: 1.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.6169, allocations: 4.047 kB / 1.25 GB, free: 1.066 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.6169, allocations: 11.94 kB / 1.25 GB, free: 1.055 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003137/0.6172, allocations: 71.91 kB / 1.25 GB, free: 0.9844 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.6172, allocations: 12.14 kB / 1.25 GB, free: 0.9727 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005573/0.6178, allocations: 55.66 kB / 1.25 GB, free: 0.918 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.33e-05/0.6178, allocations: 23.92 kB / 1.25 GB, free: 0.8945 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (37): * Single equations (assignments): 37 * 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.0003227/0.6182, allocations: 277 kB / 1.25 GB, free: 0.6133 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.6183, allocations: 51.44 kB / 1.25 GB, free: 0.5625 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009126/0.6192, allocations: 436.1 kB / 1.25 GB, free: 132 kB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.6192, allocations: 0 / 1.25 GB, free: 132 kB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/0.6192, allocations: 4 kB / 1.25 GB, free: 128 kB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.7277/1.347, allocations: 446.9 kB / 1.251 GB, free: 192.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002279/1.349, allocations: 1.148 MB / 1.252 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/1.349, allocations: 1.906 kB / 1.252 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003166/1.35, allocations: 58.55 kB / 1.252 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002448/1.35, allocations: 49.39 kB / 1.252 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.842e-05/1.35, allocations: 12.89 kB / 1.252 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001094/1.351, allocations: 1.434 MB / 1.253 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/1.351, allocations: 2.766 kB / 1.253 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001219/1.352, allocations: 0.7106 MB / 1.254 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002209/1.352, allocations: 163.5 kB / 1.254 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.972e-05/1.353, allocations: 11.59 kB / 1.254 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004369/1.353, allocations: 41.86 kB / 1.254 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.184e-05/1.353, allocations: 29.34 kB / 1.254 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.831e-05/1.353, allocations: 12.47 kB / 1.254 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00039/1.353, allocations: 314.3 kB / 1.255 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.353, allocations: 1 kB / 1.255 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001015/1.355, allocations: 305.1 kB / 1.255 GB, free: 190.6 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (vol.dynBal.medium.Xi[1],vol.dynBal.U) * 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 (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004755/1.355, allocations: 202.9 kB / 1.255 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001018/1.356, allocations: 0.4939 MB / 1.256 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/1.356, allocations: 0 / 1.256 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004619/1.357, allocations: 292.6 kB / 1.256 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001645/1.358, allocations: 313 kB / 1.256 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001632/1.36, allocations: 1.388 MB / 1.258 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/1.36, allocations: 0.9008 MB / 1.258 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/1.36, allocations: 42.97 kB / 1.259 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of SimCode: time 5.11e-07/1.36, allocations: 7.156 kB / 1.259 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.01978/1.38, allocations: 9.586 MB / 1.268 GB, free: 188.2 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches