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.001589/0.001589, allocations: 103.9 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.001629/0.001629, allocations: 189.8 kB / 17.2 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.403/1.403, 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 10.1.1-maint.10.0.x/package.mo): time 2.552/2.552, allocations: 437 MB / 0.711 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 63.38 kB / 0.8699 GB, free: 2.281 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3447, allocations: 151.6 MB / 1.018 GB, free: 10.73 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.7774/1.122, allocations: 187.1 MB / 1.201 GB, free: 8.066 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01886/1.141, allocations: 13.01 MB / 1.213 GB, free: 13.52 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001651/1.143, allocations: 31.56 kB / 1.213 GB, free: 13.5 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001752/1.144, allocations: 420.9 kB / 1.214 GB, free: 13.15 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.003024/1.148, allocations: 0.9204 MB / 1.215 GB, free: 12.43 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002307/1.15, allocations: 0.7026 MB / 1.215 GB, free: 11.91 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002476/1.152, allocations: 1.504 MB / 1.217 GB, free: 11.06 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001241/1.154, allocations: 0.6576 MB / 1.218 GB, free: 10.66 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00442/1.158, allocations: 1.712 MB / 1.219 GB, free: 9.539 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001606/1.16, allocations: 0.5027 MB / 1.22 GB, free: 9.242 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002174/1.16, allocations: 52.84 kB / 1.22 GB, free: 9.242 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002101/1.162, allocations: 0.8634 MB / 1.221 GB, free: 8.777 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004111/1.162, allocations: 288.3 kB / 1.221 GB, free: 8.586 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0007647/1.163, allocations: 387.6 kB / 1.221 GB, free: 8.34 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002349/1.166, allocations: 1.152 MB / 1.222 GB, free: 7.609 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/1.166, allocations: 0 / 1.222 GB, free: 7.609 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.994e-06/1.166, allocations: 0 / 1.222 GB, free: 7.609 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.631e-05/1.166, allocations: 0 / 1.222 GB, free: 7.609 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.002103/1.168, allocations: 1.051 MB / 1.223 GB, free: 6.754 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/1.168, allocations: 9.078 kB / 1.223 GB, free: 6.754 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001117/1.169, allocations: 194 kB / 1.224 GB, free: 6.664 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009735/1.17, allocations: 0.5205 MB / 1.224 GB, free: 6.219 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003482/1.17, allocations: 98.75 kB / 1.224 GB, free: 6.18 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.181e-05/1.17, allocations: 53.12 kB / 1.224 GB, free: 6.164 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001522/1.172, allocations: 0.7904 MB / 1.225 GB, free: 5.422 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.547e-05/1.172, allocations: 7.938 kB / 1.225 GB, free: 5.414 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.336e-05/1.172, allocations: 27.94 kB / 1.225 GB, free: 5.387 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.467e-05/1.172, allocations: 25 kB / 1.225 GB, free: 5.359 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001123/1.173, allocations: 467.3 kB / 1.225 GB, free: 4.906 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.004812/1.178, allocations: 4.409 MB / 1.23 GB, free: 272 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001582/1.178, allocations: 106.4 kB / 1.23 GB, free: 128 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/1.178, allocations: 71.5 kB / 1.23 GB, free: 44 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002033/1.179, allocations: 93.09 kB / 1.23 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/1.179, allocations: 42.5 kB / 1.23 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=10): time 2.154e-06/1.179, allocations: 4 kB / 1.23 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10): time 0.000956/1.18, allocations: 237 kB / 1.23 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.383e-05/1.18, allocations: 136.5 kB / 1.23 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00128/1.181, allocations: 0.8449 MB / 1.231 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/1.181, allocations: 29.7 kB / 1.231 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003398/1.181, allocations: 402.8 kB / 1.232 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.787e-05/1.181, allocations: 39.55 kB / 1.232 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001455/1.182, allocations: 89.88 kB / 1.232 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001401/1.182, allocations: 329.8 kB / 1.232 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003075/1.182, allocations: 116.7 kB / 1.232 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005071/1.183, allocations: 377.7 kB / 1.233 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006324/1.183, allocations: 449.5 kB / 1.233 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.346e-06/1.183, allocations: 4 kB / 1.233 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001079/1.184, allocations: 0.4998 MB / 1.234 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/1.184, allocations: 8 kB / 1.234 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/1.184, allocations: 12.09 kB / 1.234 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.661e-05/1.184, allocations: 12 kB / 1.234 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003372/1.185, allocations: 95.83 kB / 1.234 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.668e-05/1.185, allocations: 15.94 kB / 1.234 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007634/1.185, allocations: 119 kB / 1.234 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.915e-05/1.186, allocations: 27.94 kB / 1.234 GB, free: 11.79 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.0002868/1.186, allocations: 233.6 kB / 1.234 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001815/1.186, allocations: 75.06 kB / 1.234 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001291/1.186, allocations: 74.17 kB / 1.234 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/1.186, allocations: 0 / 1.234 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/1.186, allocations: 4 kB / 1.234 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/1.186, allocations: 0 / 1.234 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001473/1.188, allocations: 1.124 MB / 1.235 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/1.188, allocations: 0 / 1.235 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.478e-05/1.188, allocations: 24.3 kB / 1.235 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/1.188, allocations: 4 kB / 1.235 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/1.188, allocations: 8 kB / 1.235 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/1.188, allocations: 3.938 kB / 1.235 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/1.188, allocations: 4 kB / 1.235 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003151/1.188, allocations: 255.9 kB / 1.236 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002659/1.188, allocations: 176.9 kB / 1.236 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001278/1.189, allocations: 8 kB / 1.236 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003715/1.189, allocations: 19.98 kB / 1.236 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.826e-05/1.189, allocations: 19.86 kB / 1.236 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/1.189, allocations: 8 kB / 1.236 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0009176/1.19, allocations: 0.5927 MB / 1.236 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.6e-07/1.19, allocations: 0 / 1.236 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0006414/1.191, allocations: 155.8 kB / 1.236 GB, free: 8.859 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.000543/1.191, allocations: 205.5 kB / 1.237 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005939/1.192, allocations: 253.1 kB / 1.237 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/1.192, allocations: 0 / 1.237 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 7.213e-05/1.192, allocations: 40.67 kB / 1.237 GB, free: 8.383 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001772/1.194, allocations: 375.9 kB / 1.237 GB, free: 8.023 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001868/1.196, allocations: 1.125 MB / 1.238 GB, free: 6.832 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005906/1.196, allocations: 0.9331 MB / 1.239 GB, free: 5.871 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/1.196, allocations: 55.44 kB / 1.239 GB, free: 5.816 MB / 0.9356 GB Notification: Performance of SimCode: time 6.01e-07/1.196, allocations: 0 / 1.239 GB, free: 5.816 MB / 0.9356 GB Notification: Performance of Templates: time 0.01821/1.214, allocations: 10.69 MB / 1.25 GB, free: 11.26 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 -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