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.001002/0.001002, allocations: 98.88 kB / 16.02 MB, free: 76 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.001267/0.001267, allocations: 187.8 kB / 16.92 MB, free: 6.684 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.391/1.391, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.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.688/2.688, allocations: 437.8 MB / 0.7128 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004032/0.0004033, allocations: 12 kB / 0.8735 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7566/0.757, allocations: 153.8 MB / 1.024 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.1892/0.9463, allocations: 182.4 MB / 1.202 GB, free: 8.785 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01537/0.9617, allocations: 12.9 MB / 1.214 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001209/0.963, allocations: 31.81 kB / 1.214 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001223/0.9642, allocations: 338 kB / 1.215 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002361/0.9666, allocations: 0.8713 MB / 1.216 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001838/0.9684, allocations: 0.6157 MB / 1.216 GB, free: 9.992 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002542/0.971, allocations: 2.101 MB / 1.218 GB, free: 7.887 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008248/0.9718, allocations: 0.5363 MB / 1.219 GB, free: 7.336 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003816/0.9756, allocations: 1.576 MB / 1.22 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001546/0.9772, allocations: 0.507 MB / 1.221 GB, free: 5.25 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.625e-05/0.9773, allocations: 24 kB / 1.221 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001793/0.9791, allocations: 0.9626 MB / 1.222 GB, free: 4.262 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002831/0.9794, allocations: 243.3 kB / 1.222 GB, free: 4.023 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004319/0.9799, allocations: 379.7 kB / 1.222 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001082/0.9809, allocations: 0.8418 MB / 1.223 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.981, allocations: 0 / 1.223 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.784e-06/0.981, allocations: 0 / 1.223 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.355e-06/0.981, allocations: 0 / 1.223 GB, free: 2.801 MB / 0.9669 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.001323/0.9823, allocations: 0.9115 MB / 1.224 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.9824, allocations: 12.03 kB / 1.224 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009518/0.9833, allocations: 202.8 kB / 1.224 GB, free: 1.629 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007597/0.9841, allocations: 0.5285 MB / 1.225 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003621/0.9845, allocations: 109.2 kB / 1.225 GB, free: 0.9492 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.423e-05/0.9845, allocations: 56 kB / 1.225 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001166/0.9857, allocations: 0.7675 MB / 1.226 GB, free: 28 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.9858, allocations: 3.938 kB / 1.226 GB, free: 24 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.122e-05/0.9858, allocations: 32.02 kB / 1.226 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.542e-05/0.9859, allocations: 25 kB / 1.226 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009208/0.9868, allocations: 479.3 kB / 1.226 GB, free: 15.5 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.003741/0.9906, allocations: 4.175 MB / 1.23 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001315/0.9907, allocations: 102.5 kB / 1.23 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.9908, allocations: 79.33 kB / 1.231 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001722/0.991, allocations: 97.09 kB / 1.231 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.991, allocations: 34.56 kB / 1.231 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 2.044e-06/0.991, allocations: 0 / 1.231 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0006481/0.9917, allocations: 240.8 kB / 1.231 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.549e-05/0.9918, allocations: 132.5 kB / 1.231 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001103/0.9929, allocations: 0.8407 MB / 1.232 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.569e-05/0.9929, allocations: 29.7 kB / 1.232 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000302/0.9932, allocations: 398.9 kB / 1.232 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.218e-05/0.9933, allocations: 35.55 kB / 1.232 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.99e-05/0.9933, allocations: 37.7 kB / 1.232 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.9934, allocations: 321.9 kB / 1.233 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002885/0.9937, allocations: 115.9 kB / 1.233 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004428/0.9942, allocations: 353.8 kB / 1.233 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005383/0.9947, allocations: 427.2 kB / 1.233 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.201e-06/0.9947, allocations: 4 kB / 1.233 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009211/0.9957, allocations: 496.1 kB / 1.234 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.9957, allocations: 8 kB / 1.234 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.9957, allocations: 8.75 kB / 1.234 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.9957, allocations: 11.94 kB / 1.234 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003209/0.9961, allocations: 99.83 kB / 1.234 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.51e-05/0.9961, allocations: 11.94 kB / 1.234 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007291/0.9968, allocations: 140.1 kB / 1.234 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-05/0.9969, allocations: 24.11 kB / 1.234 GB, free: 6.773 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (43): * Single equations (assignments): 43 * 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.0002709/0.9972, allocations: 225.7 kB / 1.234 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/0.9973, allocations: 71.16 kB / 1.235 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001084/0.9974, allocations: 78.03 kB / 1.235 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.9974, allocations: 4 kB / 1.235 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.9974, allocations: 0 / 1.235 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.9974, allocations: 7.938 kB / 1.235 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00128/0.9987, allocations: 1.132 MB / 1.236 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.9988, allocations: 0 / 1.236 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.803e-05/0.9988, allocations: 16 kB / 1.236 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.9988, allocations: 4 kB / 1.236 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.9989, allocations: 4 kB / 1.236 GB, free: 5.137 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.9989, allocations: 3.938 kB / 1.236 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.9989, allocations: 4 kB / 1.236 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002711/0.9992, allocations: 268 kB / 1.236 GB, free: 4.82 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001852/0.9993, allocations: 168.2 kB / 1.236 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.419e-05/0.9994, allocations: 4 kB / 1.236 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003384/0.9998, allocations: 27.97 kB / 1.236 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.681e-05/0.9998, allocations: 19.88 kB / 1.236 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.9998, allocations: 4 kB / 1.236 GB, free: 4.582 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0008172/1.001, allocations: 0.5927 MB / 1.237 GB, free: 3.992 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.8e-07/1.001, allocations: 0 / 1.237 GB, free: 3.992 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005727/1.001, allocations: 151.8 kB / 1.237 GB, free: 3.844 MB / 0.9825 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.0004328/1.002, allocations: 195 kB / 1.237 GB, free: 3.656 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005095/1.002, allocations: 241 kB / 1.237 GB, free: 3.422 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/1.002, allocations: 0 / 1.237 GB, free: 3.422 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.954e-05/1.002, allocations: 47.84 kB / 1.237 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001898/1.004, allocations: 379.7 kB / 1.238 GB, free: 3.02 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001731/1.006, allocations: 1.326 MB / 1.239 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004723/1.006, allocations: 0.9373 MB / 1.24 GB, free: 0.6641 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/1.007, allocations: 55.42 kB / 1.24 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of SimCode: time 4.21e-07/1.007, allocations: 4 kB / 1.24 GB, free: 0.6055 MB / 0.9825 GB Notification: Performance of Templates: time 0.0163/1.023, allocations: 10.51 MB / 1.25 GB, free: 6.199 MB / 0.9981 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 -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