Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001696/0.001696, allocations: 105.3 kB / 15.98 MB, free: 6.344 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.001952/0.001952, allocations: 195.3 kB / 16.91 MB, free: 6.184 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.557/1.557, allocations: 222.9 MB / 240.6 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.337/2.337, allocations: 390.2 MB / 0.665 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 59.91 kB / 0.8127 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7153/0.7168, allocations: 140.4 MB / 0.9498 GB, free: 9.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.2275/0.9443, allocations: 184.7 MB / 1.13 GB, free: 8.746 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0182/0.9626, allocations: 12.92 MB / 1.143 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001477/0.9641, allocations: 27.81 kB / 1.143 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001845/0.966, allocations: 346.1 kB / 1.143 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003077/0.9691, allocations: 0.8714 MB / 1.144 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002328/0.9715, allocations: 0.6333 MB / 1.145 GB, free: 9.914 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002629/0.9741, allocations: 1.5 MB / 1.146 GB, free: 8.41 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001189/0.9753, allocations: 0.6156 MB / 1.147 GB, free: 7.785 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004525/0.9799, allocations: 1.685 MB / 1.148 GB, free: 6.094 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001865/0.9818, allocations: 0.5462 MB / 1.149 GB, free: 5.551 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002107/0.982, allocations: 56 kB / 1.149 GB, free: 5.496 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002047/0.9841, allocations: 0.9041 MB / 1.15 GB, free: 4.59 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004014/0.9845, allocations: 275.3 kB / 1.15 GB, free: 4.32 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0007103/0.9852, allocations: 394 kB / 1.15 GB, free: 3.934 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00154/0.9867, allocations: 0.8616 MB / 1.151 GB, free: 3.07 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.9868, allocations: 0 / 1.151 GB, free: 3.07 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.944e-06/0.9868, allocations: 0 / 1.151 GB, free: 3.07 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.619e-05/0.9868, allocations: 0 / 1.151 GB, free: 3.07 MB / 0.9044 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.002086/0.9889, allocations: 1.055 MB / 1.152 GB, free: 1.965 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/0.989, allocations: 8.031 kB / 1.152 GB, free: 1.957 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001106/0.9901, allocations: 190.8 kB / 1.152 GB, free: 1.77 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009861/0.9911, allocations: 0.5247 MB / 1.153 GB, free: 1.203 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003692/0.9915, allocations: 109.2 kB / 1.153 GB, free: 1.094 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.998e-05/0.9916, allocations: 60 kB / 1.153 GB, free: 1.035 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001409/0.993, allocations: 0.7597 MB / 1.154 GB, free: 184 kB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/0.993, allocations: 3.938 kB / 1.154 GB, free: 180 kB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.549e-05/0.9931, allocations: 27.94 kB / 1.154 GB, free: 152 kB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.056e-05/0.9931, allocations: 28.94 kB / 1.154 GB, free: 120 kB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001049/0.9942, allocations: 475.1 kB / 1.154 GB, free: 15.66 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.004334/0.9985, allocations: 4.171 MB / 1.158 GB, free: 11.26 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001343/0.9987, allocations: 106.4 kB / 1.159 GB, free: 11.12 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.9988, allocations: 75.44 kB / 1.159 GB, free: 11.04 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000175/0.999, allocations: 97.09 kB / 1.159 GB, free: 10.92 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.999, allocations: 38.56 kB / 1.159 GB, free: 10.88 MB / 0.92 GB Notification: Performance of pre-optimization done (n=10): time 2.043e-06/0.999, allocations: 0 / 1.159 GB, free: 10.88 MB / 0.92 GB Notification: Performance of matching and sorting (n=10): time 0.0007243/0.9998, allocations: 236.9 kB / 1.159 GB, free: 10.64 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.678e-05/0.9999, allocations: 132.5 kB / 1.159 GB, free: 10.48 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001216/1.001, allocations: 0.833 MB / 1.16 GB, free: 9.629 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.32e-05/1.001, allocations: 29.7 kB / 1.16 GB, free: 9.594 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003278/1.001, allocations: 402.9 kB / 1.16 GB, free: 9.195 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.77e-05/1.002, allocations: 35.45 kB / 1.16 GB, free: 9.16 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001432/1.002, allocations: 85.59 kB / 1.16 GB, free: 9.07 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001222/1.002, allocations: 325.9 kB / 1.161 GB, free: 8.746 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002997/1.002, allocations: 107.9 kB / 1.161 GB, free: 8.641 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004748/1.003, allocations: 345.8 kB / 1.161 GB, free: 8.195 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005707/1.003, allocations: 415 kB / 1.162 GB, free: 7.691 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/1.003, allocations: 4 kB / 1.162 GB, free: 7.688 MB / 0.92 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001031/1.004, allocations: 484 kB / 1.162 GB, free: 7.207 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/1.004, allocations: 8.75 kB / 1.162 GB, free: 7.199 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/1.004, allocations: 11.94 kB / 1.162 GB, free: 7.188 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.445e-05/1.004, allocations: 19.98 kB / 1.162 GB, free: 7.168 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000325/1.005, allocations: 91.83 kB / 1.162 GB, free: 7.078 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.843e-05/1.005, allocations: 11.94 kB / 1.162 GB, free: 7.066 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007701/1.005, allocations: 123.7 kB / 1.162 GB, free: 6.945 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.387e-05/1.006, allocations: 24 kB / 1.162 GB, free: 6.922 MB / 0.92 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.0003083/1.006, allocations: 225.7 kB / 1.163 GB, free: 6.691 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001781/1.006, allocations: 79 kB / 1.163 GB, free: 6.613 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001291/1.006, allocations: 74.09 kB / 1.163 GB, free: 6.539 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/1.006, allocations: 480 / 1.163 GB, free: 6.539 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/1.006, allocations: 3.938 kB / 1.163 GB, free: 6.535 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.308e-06/1.006, allocations: 7.938 kB / 1.163 GB, free: 6.527 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001476/1.008, allocations: 1.125 MB / 1.164 GB, free: 5.312 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/1.008, allocations: 8 kB / 1.164 GB, free: 5.305 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.049e-05/1.008, allocations: 15.98 kB / 1.164 GB, free: 5.289 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/1.008, allocations: 7.984 kB / 1.164 GB, free: 5.281 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/1.008, allocations: 8 kB / 1.164 GB, free: 5.273 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.57e-06/1.008, allocations: 7.938 kB / 1.164 GB, free: 5.266 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.008, allocations: 0 / 1.164 GB, free: 5.266 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003311/1.008, allocations: 263.9 kB / 1.164 GB, free: 4.961 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002342/1.008, allocations: 168.1 kB / 1.164 GB, free: 4.777 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/1.009, allocations: 8 kB / 1.164 GB, free: 4.77 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003462/1.009, allocations: 19.98 kB / 1.164 GB, free: 4.75 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.648e-05/1.009, allocations: 19.86 kB / 1.164 GB, free: 4.73 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.295e-06/1.009, allocations: 4 kB / 1.164 GB, free: 4.727 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0008833/1.01, allocations: 0.5849 MB / 1.165 GB, free: 4.148 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.81e-07/1.01, allocations: 0 / 1.165 GB, free: 4.148 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0006207/1.01, allocations: 159.8 kB / 1.165 GB, free: 3.992 MB / 0.92 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.0005658/1.011, allocations: 187.4 kB / 1.165 GB, free: 3.816 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0005895/1.012, allocations: 237.1 kB / 1.165 GB, free: 3.586 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/1.012, allocations: 3.938 kB / 1.165 GB, free: 3.582 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 8.29e-05/1.012, allocations: 52.59 kB / 1.165 GB, free: 3.531 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001731/1.013, allocations: 378.6 kB / 1.166 GB, free: 3.168 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001967/1.015, allocations: 1.305 MB / 1.167 GB, free: 1.797 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005844/1.016, allocations: 0.9369 MB / 1.168 GB, free: 0.832 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/1.016, allocations: 47.44 kB / 1.168 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of SimCode: time 7.21e-07/1.016, allocations: 0 / 1.168 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of Templates: time 0.01926/1.035, allocations: 10.62 MB / 1.178 GB, free: 6.281 MB / 0.9356 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches