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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001115/0.001115, allocations: 112.6 kB / 16.37 MB, free: 6 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.001055/0.001055, allocations: 196 kB / 17.31 MB, free: 5.613 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.32/1.32, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.45/2.45, allocations: 437.1 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 64.88 kB / 0.8707 GB, free: 1.453 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.263/0.2643, allocations: 151.6 MB / 1.019 GB, free: 9.871 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.6601/0.9245, allocations: 187.1 MB / 1.202 GB, free: 7.625 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01508/0.9396, allocations: 13.02 MB / 1.214 GB, free: 13.07 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001208/0.9408, allocations: 27.56 kB / 1.214 GB, free: 13.06 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001289/0.9421, allocations: 412.8 kB / 1.215 GB, free: 12.71 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.00224/0.9444, allocations: 0.9215 MB / 1.216 GB, free: 11.99 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00184/0.9463, allocations: 0.7054 MB / 1.216 GB, free: 11.47 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001818/0.9481, allocations: 1.507 MB / 1.218 GB, free: 10.61 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008096/0.9489, allocations: 0.6541 MB / 1.218 GB, free: 10.21 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003441/0.9524, allocations: 1.716 MB / 1.22 GB, free: 9.078 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001182/0.9536, allocations: 0.4998 MB / 1.221 GB, free: 8.785 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.847e-05/0.9537, allocations: 55.53 kB / 1.221 GB, free: 8.785 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001552/0.9553, allocations: 0.8713 MB / 1.221 GB, free: 8.312 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002655/0.9555, allocations: 284 kB / 1.222 GB, free: 8.125 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003905/0.9559, allocations: 382.1 kB / 1.222 GB, free: 7.883 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001524/0.9575, allocations: 1.177 MB / 1.223 GB, free: 7.137 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.9575, allocations: 0 / 1.223 GB, free: 7.137 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.322e-06/0.9575, allocations: 0 / 1.223 GB, free: 7.137 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.48e-05/0.9575, allocations: 4 kB / 1.223 GB, free: 7.133 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.001359/0.9589, allocations: 1.041 MB / 1.224 GB, free: 6.285 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.9589, allocations: 10.98 kB / 1.224 GB, free: 6.285 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009057/0.9598, allocations: 193.8 kB / 1.224 GB, free: 6.195 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008709/0.9607, allocations: 0.5535 MB / 1.225 GB, free: 5.652 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.992e-05/0.9608, allocations: 45.31 kB / 1.225 GB, free: 5.609 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.305e-05/0.9608, allocations: 56 kB / 1.225 GB, free: 5.555 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001062/0.9619, allocations: 0.775 MB / 1.226 GB, free: 4.676 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.9619, allocations: 3.938 kB / 1.226 GB, free: 4.672 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.04e-05/0.962, allocations: 28 kB / 1.226 GB, free: 4.645 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.721e-05/0.9621, allocations: 28.92 kB / 1.226 GB, free: 4.613 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008543/0.9629, allocations: 459.3 kB / 1.226 GB, free: 4.168 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.003584/0.9665, allocations: 4.386 MB / 1.231 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.9666, allocations: 106.4 kB / 1.231 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.511e-05/0.9668, allocations: 67.5 kB / 1.231 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001703/0.9669, allocations: 105 kB / 1.231 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/0.967, allocations: 34.56 kB / 1.231 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=10): time 2.034e-06/0.967, allocations: 0 / 1.231 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10): time 0.0006622/0.9676, allocations: 240.8 kB / 1.231 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.414e-05/0.9677, allocations: 132.5 kB / 1.231 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001023/0.9687, allocations: 0.8485 MB / 1.232 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.9688, allocations: 25.7 kB / 1.232 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002772/0.9691, allocations: 410.9 kB / 1.232 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.01e-05/0.9691, allocations: 31.55 kB / 1.233 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001333/0.9692, allocations: 93.88 kB / 1.233 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.9693, allocations: 321.9 kB / 1.233 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002583/0.9696, allocations: 108.7 kB / 1.233 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004077/0.97, allocations: 367.5 kB / 1.233 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005321/0.9706, allocations: 441.5 kB / 1.234 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.219e-06/0.9706, allocations: 7.938 kB / 1.234 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009559/0.9715, allocations: 499.9 kB / 1.234 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.9716, allocations: 22.78 kB / 1.234 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.9716, allocations: 4.094 kB / 1.234 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.973e-05/0.9716, allocations: 15.98 kB / 1.234 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003218/0.972, allocations: 95.81 kB / 1.234 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.415e-05/0.972, allocations: 12 kB / 1.234 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006646/0.9727, allocations: 119 kB / 1.235 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.234e-05/0.9727, allocations: 27.98 kB / 1.235 GB, free: 11.11 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.0002416/0.973, allocations: 232 kB / 1.235 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000145/0.9731, allocations: 75.06 kB / 1.235 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.999e-05/0.9732, allocations: 74.17 kB / 1.235 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.9732, allocations: 4 kB / 1.235 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.9732, allocations: 0 / 1.235 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.9732, allocations: 4 kB / 1.235 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001273/0.9745, allocations: 1.12 MB / 1.236 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.9745, allocations: 4 kB / 1.236 GB, free: 9.504 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.402e-05/0.9746, allocations: 19.98 kB / 1.236 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.9746, allocations: 0 / 1.236 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.9747, allocations: 8 kB / 1.236 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.678e-06/0.9747, allocations: 7.938 kB / 1.236 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.9747, allocations: 4.312 kB / 1.236 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002664/0.9749, allocations: 264.8 kB / 1.236 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000215/0.9752, allocations: 172.1 kB / 1.236 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.336e-05/0.9753, allocations: 8 kB / 1.236 GB, free: 8.965 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003184/0.9756, allocations: 15.98 kB / 1.237 GB, free: 8.949 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.694e-05/0.9756, allocations: 19.95 kB / 1.237 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.357e-06/0.9756, allocations: 11.94 kB / 1.237 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0007512/0.9764, allocations: 0.581 MB / 1.237 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9764, allocations: 0 / 1.237 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0005421/0.977, allocations: 163.8 kB / 1.237 GB, free: 8.184 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.0004064/0.9774, allocations: 198 kB / 1.237 GB, free: 7.996 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004746/0.9779, allocations: 241.1 kB / 1.238 GB, free: 7.762 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.9779, allocations: 4 kB / 1.238 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 6.407e-05/0.9779, allocations: 44.67 kB / 1.238 GB, free: 7.715 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001432/0.9794, allocations: 384 kB / 1.238 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/0.9808, allocations: 1.05 MB / 1.239 GB, free: 6.242 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004464/0.9813, allocations: 0.9409 MB / 1.24 GB, free: 5.273 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0003877/0.9817, allocations: 150.1 kB / 1.24 GB, free: 5.125 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.142e-05/0.9818, allocations: 51.38 kB / 1.24 GB, free: 5.074 MB / 0.9356 GB Notification: Performance of SimCode: time 3.3e-07/0.9818, allocations: 0 / 1.24 GB, free: 5.074 MB / 0.9356 GB Notification: Performance of Templates: time 0.01922/1.001, allocations: 11.71 MB / 1.252 GB, free: 9.578 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=480 -s gbode -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