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.001005/0.001005, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.008155/0.008155, allocations: 171.1 kB / 16.26 MB, free: 6.676 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.514/1.514, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.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.727/2.727, allocations: 437.8 MB / 0.7121 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003478/0.0003478, allocations: 8.188 kB / 0.8728 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6999/0.7003, allocations: 153.8 MB / 1.023 GB, free: 128 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.2029/0.9033, allocations: 182.4 MB / 1.201 GB, free: 9.008 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01588/0.9192, allocations: 12.89 MB / 1.214 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001433/0.9207, allocations: 27.81 kB / 1.214 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001389/0.9221, allocations: 350 kB / 1.214 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002613/0.9247, allocations: 0.8674 MB / 1.215 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00185/0.9266, allocations: 0.6157 MB / 1.216 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0025/0.9291, allocations: 2.097 MB / 1.218 GB, free: 8.125 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008004/0.9299, allocations: 0.5442 MB / 1.218 GB, free: 7.566 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003531/0.9335, allocations: 1.572 MB / 1.22 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001538/0.935, allocations: 0.5146 MB / 1.22 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.9352, allocations: 24 kB / 1.22 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001798/0.937, allocations: 0.9587 MB / 1.221 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002812/0.9373, allocations: 251.3 kB / 1.221 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004134/0.9377, allocations: 375.7 kB / 1.222 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001397/0.9391, allocations: 1.16 MB / 1.223 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.9391, allocations: 0 / 1.223 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9391, allocations: 0 / 1.223 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.125e-05/0.9391, allocations: 0 / 1.223 GB, free: 2.707 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.001312/0.9404, allocations: 0.9153 MB / 1.224 GB, free: 1.742 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.9405, allocations: 8.031 kB / 1.224 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009693/0.9415, allocations: 206.8 kB / 1.224 GB, free: 1.531 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007569/0.9422, allocations: 0.5169 MB / 1.224 GB, free: 0.9688 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003557/0.9426, allocations: 121.2 kB / 1.225 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.376e-05/0.9427, allocations: 56 kB / 1.225 GB, free: 0.7969 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001197/0.9439, allocations: 0.7676 MB / 1.225 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.9439, allocations: 3.938 kB / 1.225 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.446e-05/0.944, allocations: 27.94 kB / 1.225 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-05/0.9441, allocations: 21 kB / 1.225 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009788/0.945, allocations: 483.3 kB / 1.226 GB, free: 15.4 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.003932/0.949, allocations: 4.171 MB / 1.23 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001303/0.9491, allocations: 98.36 kB / 1.23 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.9492, allocations: 83.52 kB / 1.23 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001835/0.9494, allocations: 93.11 kB / 1.23 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.9495, allocations: 34.55 kB / 1.23 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 2.364e-06/0.9495, allocations: 0 / 1.23 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0006722/0.9502, allocations: 248.8 kB / 1.231 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.69e-05/0.9502, allocations: 128.5 kB / 1.231 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001086/0.9513, allocations: 0.8407 MB / 1.231 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.312e-05/0.9514, allocations: 33.7 kB / 1.231 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003088/0.9517, allocations: 394.9 kB / 1.232 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.686e-05/0.9517, allocations: 39.55 kB / 1.232 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.965e-05/0.9518, allocations: 33.7 kB / 1.232 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.9519, allocations: 321.9 kB / 1.232 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002973/0.9522, allocations: 123.9 kB / 1.232 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004858/0.9527, allocations: 353.8 kB / 1.233 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005733/0.9533, allocations: 423.1 kB / 1.233 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.9533, allocations: 4 kB / 1.233 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009619/0.9543, allocations: 496.1 kB / 1.234 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.9543, allocations: 8 kB / 1.234 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.9543, allocations: 8.062 kB / 1.234 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/0.9544, allocations: 20.73 kB / 1.234 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000327/0.9547, allocations: 95.83 kB / 1.234 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.436e-05/0.9547, allocations: 11.94 kB / 1.234 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007195/0.9554, allocations: 135 kB / 1.234 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.11e-05/0.9555, allocations: 28 kB / 1.234 GB, free: 6.676 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.0002598/0.9558, allocations: 225.6 kB / 1.234 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/0.9559, allocations: 71.16 kB / 1.234 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000114/0.956, allocations: 74.03 kB / 1.234 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.956, allocations: 4 kB / 1.234 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.9561, allocations: 0 / 1.234 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.9561, allocations: 3.938 kB / 1.234 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001291/0.9574, allocations: 1.128 MB / 1.235 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.9574, allocations: 4 kB / 1.235 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.109e-05/0.9575, allocations: 19.98 kB / 1.235 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.9575, allocations: 0 / 1.235 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.9575, allocations: 4 kB / 1.235 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/0.9575, allocations: 7.938 kB / 1.235 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.9575, allocations: 4 kB / 1.235 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002812/0.9578, allocations: 267.8 kB / 1.236 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001879/0.958, allocations: 164.2 kB / 1.236 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.951e-05/0.9581, allocations: 12 kB / 1.236 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003501/0.9585, allocations: 19.98 kB / 1.236 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.705e-05/0.9585, allocations: 15.86 kB / 1.236 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.777e-06/0.9585, allocations: 12 kB / 1.236 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0008698/0.9594, allocations: 0.5849 MB / 1.236 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9594, allocations: 4 kB / 1.236 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0006028/0.96, allocations: 155.8 kB / 1.237 GB, free: 3.75 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.0004709/0.9605, allocations: 197.5 kB / 1.237 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005113/0.961, allocations: 237.2 kB / 1.237 GB, free: 3.332 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.961, allocations: 0 / 1.237 GB, free: 3.332 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.714e-05/0.9611, allocations: 55.84 kB / 1.237 GB, free: 3.277 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001921/0.963, allocations: 362.4 kB / 1.237 GB, free: 2.934 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00164/0.9647, allocations: 1.281 MB / 1.239 GB, free: 1.594 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005077/0.9652, allocations: 0.9373 MB / 1.24 GB, free: 0.6289 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0005139/0.9657, allocations: 142.1 kB / 1.24 GB, free: 500 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.962e-05/0.9658, allocations: 47.44 kB / 1.24 GB, free: 452 kB / 0.9825 GB Notification: Performance of SimCode: time 3.81e-07/0.9658, allocations: 0 / 1.24 GB, free: 452 kB / 0.9825 GB Notification: Performance of Templates: time 0.02072/0.9866, allocations: 11.43 MB / 1.251 GB, free: 5.211 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches