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.001702/0.001702, allocations: 102.8 kB / 16.27 MB, free: 6.414 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.001685/0.001685, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.448/1.448, allocations: 222.9 MB / 240.9 MB, free: 15.23 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.599/2.599, allocations: 437.1 MB / 0.711 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 62.81 kB / 0.8699 GB, free: 2.215 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3274, allocations: 151.6 MB / 1.018 GB, free: 10.65 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.7181/1.046, allocations: 187.1 MB / 1.201 GB, free: 7.996 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0167/1.062, allocations: 13.01 MB / 1.213 GB, free: 13.45 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001275/1.064, allocations: 36.81 kB / 1.213 GB, free: 13.43 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001503/1.065, allocations: 412.2 kB / 1.214 GB, free: 13.09 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002554/1.068, allocations: 0.9228 MB / 1.215 GB, free: 12.36 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001932/1.07, allocations: 0.7035 MB / 1.215 GB, free: 11.84 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002095/1.072, allocations: 1.496 MB / 1.217 GB, free: 11 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009727/1.073, allocations: 0.665 MB / 1.218 GB, free: 10.6 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003804/1.077, allocations: 1.711 MB / 1.219 GB, free: 9.477 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001369/1.078, allocations: 0.5014 MB / 1.22 GB, free: 9.18 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.73e-05/1.078, allocations: 54.84 kB / 1.22 GB, free: 9.18 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001755/1.08, allocations: 0.8709 MB / 1.221 GB, free: 8.707 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003188/1.08, allocations: 277.4 kB / 1.221 GB, free: 8.523 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004526/1.081, allocations: 385 kB / 1.221 GB, free: 8.281 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001635/1.082, allocations: 1.153 MB / 1.222 GB, free: 7.551 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/1.082, allocations: 4 kB / 1.222 GB, free: 7.547 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.193e-06/1.082, allocations: 0 / 1.222 GB, free: 7.547 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.028e-05/1.082, allocations: 0 / 1.222 GB, free: 7.547 MB / 0.92 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.001526/1.084, allocations: 1.045 MB / 1.223 GB, free: 6.695 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/1.084, allocations: 11.64 kB / 1.223 GB, free: 6.695 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009451/1.085, allocations: 195.3 kB / 1.224 GB, free: 6.602 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007815/1.086, allocations: 0.5262 MB / 1.224 GB, free: 6.152 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003464/1.086, allocations: 95.28 kB / 1.224 GB, free: 6.117 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.024e-05/1.086, allocations: 57.97 kB / 1.224 GB, free: 6.098 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001254/1.087, allocations: 0.7778 MB / 1.225 GB, free: 5.297 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.217e-05/1.087, allocations: 7.938 kB / 1.225 GB, free: 5.289 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.694e-05/1.087, allocations: 31.92 kB / 1.225 GB, free: 5.258 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.102e-05/1.088, allocations: 28.98 kB / 1.225 GB, free: 5.227 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009848/1.089, allocations: 467.3 kB / 1.226 GB, free: 4.773 MB / 0.92 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.004482/1.093, allocations: 4.413 MB / 1.23 GB, free: 132 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001706/1.093, allocations: 98.45 kB / 1.23 GB, free: 16 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/1.093, allocations: 83.44 kB / 1.23 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001878/1.094, allocations: 93.09 kB / 1.23 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/1.094, allocations: 30.56 kB / 1.23 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=10): time 2.424e-06/1.094, allocations: 0 / 1.23 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10): time 0.0007104/1.094, allocations: 252.8 kB / 1.23 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.157e-05/1.094, allocations: 128.5 kB / 1.23 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001216/1.096, allocations: 0.8486 MB / 1.231 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.897e-05/1.096, allocations: 29.7 kB / 1.231 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003522/1.096, allocations: 402.8 kB / 1.232 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.608e-05/1.096, allocations: 35.55 kB / 1.232 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001504/1.096, allocations: 89.88 kB / 1.232 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000147/1.096, allocations: 333.8 kB / 1.232 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003179/1.097, allocations: 112.7 kB / 1.232 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005431/1.097, allocations: 377.7 kB / 1.233 GB, free: 13 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006595/1.098, allocations: 443.8 kB / 1.233 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/1.098, allocations: 0 / 1.233 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001048/1.099, allocations: 0.5079 MB / 1.234 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/1.099, allocations: 10.66 kB / 1.234 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/1.099, allocations: 8 kB / 1.234 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.335e-05/1.099, allocations: 12.75 kB / 1.234 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003543/1.099, allocations: 99.83 kB / 1.234 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.202e-05/1.099, allocations: 21.09 kB / 1.234 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000699/1.1, allocations: 123 kB / 1.234 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.043e-05/1.1, allocations: 23.94 kB / 1.234 GB, free: 11.65 MB / 0.9356 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.0002869/1.101, allocations: 229.6 kB / 1.234 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001557/1.101, allocations: 75.06 kB / 1.234 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001089/1.101, allocations: 74.17 kB / 1.234 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/1.101, allocations: 4 kB / 1.234 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/1.101, allocations: 0 / 1.234 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/1.101, allocations: 0 / 1.234 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001447/1.102, allocations: 1.124 MB / 1.235 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/1.102, allocations: 4.875 kB / 1.235 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.471e-05/1.102, allocations: 15.98 kB / 1.235 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.183e-06/1.102, allocations: 4 kB / 1.235 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/1.102, allocations: 7.938 kB / 1.235 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/1.102, allocations: 8.312 kB / 1.235 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/1.102, allocations: 0 / 1.235 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000316/1.103, allocations: 259.9 kB / 1.236 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002267/1.103, allocations: 181.2 kB / 1.236 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.403e-05/1.103, allocations: 4 kB / 1.236 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003438/1.103, allocations: 19.98 kB / 1.236 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.272e-05/1.103, allocations: 20.33 kB / 1.236 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.206e-06/1.103, allocations: 4 kB / 1.236 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0008871/1.104, allocations: 0.5927 MB / 1.236 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/1.104, allocations: 0 / 1.236 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0005924/1.105, allocations: 155.8 kB / 1.237 GB, free: 8.73 MB / 0.9356 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.0004895/1.105, allocations: 207.9 kB / 1.237 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005979/1.106, allocations: 245.2 kB / 1.237 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/1.106, allocations: 0 / 1.237 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 7.794e-05/1.106, allocations: 55.84 kB / 1.237 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001678/1.108, allocations: 376.7 kB / 1.237 GB, free: 7.883 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001708/1.11, allocations: 1.118 MB / 1.238 GB, free: 6.699 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006112/1.11, allocations: 0.9331 MB / 1.239 GB, free: 5.738 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001185/1.11, allocations: 51.44 kB / 1.239 GB, free: 5.688 MB / 0.9356 GB Notification: Performance of SimCode: time 5.51e-07/1.11, allocations: 4 kB / 1.239 GB, free: 5.684 MB / 0.9356 GB Notification: Performance of Templates: time 0.01838/1.129, allocations: 10.69 MB / 1.25 GB, free: 11.11 MB / 0.9512 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=400 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches