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.006008/0.006009, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001364/0.001364, allocations: 195.8 kB / 16.79 MB, free: 5.809 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.382/1.382, allocations: 222.9 MB / 240.5 MB, free: 4.57 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.623/2.623, allocations: 437 MB / 0.7106 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001505, allocations: 59.91 kB / 0.8692 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6598/0.6613, allocations: 151.6 MB / 1.017 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.2073/0.8687, allocations: 184.9 MB / 1.198 GB, free: 9.246 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01841/0.8872, allocations: 13.07 MB / 1.211 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001528/0.8887, allocations: 23.88 kB / 1.211 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001639/0.8904, allocations: 350 kB / 1.211 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002938/0.8934, allocations: 0.8674 MB / 1.212 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002135/0.8956, allocations: 0.621 MB / 1.212 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002895/0.8985, allocations: 2.101 MB / 1.214 GB, free: 8.176 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001103/0.8996, allocations: 0.5652 MB / 1.215 GB, free: 7.594 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004332/0.904, allocations: 1.592 MB / 1.217 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001892/0.9059, allocations: 0.5264 MB / 1.217 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001959/0.9061, allocations: 36 kB / 1.217 GB, free: 5.438 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002145/0.9082, allocations: 0.9665 MB / 1.218 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.000476/0.9087, allocations: 267.1 kB / 1.218 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0007377/0.9095, allocations: 366.1 kB / 1.219 GB, free: 3.848 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001439/0.9109, allocations: 0.8615 MB / 1.219 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.9109, allocations: 0 / 1.219 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.172e-06/0.9109, allocations: 0 / 1.219 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.77e-05/0.911, allocations: 0 / 1.219 GB, free: 2.984 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.002198/0.9132, allocations: 1.052 MB / 1.221 GB, free: 1.883 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.9132, allocations: 8.031 kB / 1.221 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001127/0.9144, allocations: 190.8 kB / 1.221 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009711/0.9154, allocations: 0.5208 MB / 1.221 GB, free: 1.125 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000354/0.9157, allocations: 97.25 kB / 1.221 GB, free: 1.031 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.197e-05/0.9158, allocations: 56 kB / 1.221 GB, free: 0.9766 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/0.9172, allocations: 0.7675 MB / 1.222 GB, free: 112 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/0.9172, allocations: 3.938 kB / 1.222 GB, free: 108 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.044e-05/0.9173, allocations: 27.94 kB / 1.222 GB, free: 80 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.133e-05/0.9173, allocations: 32.98 kB / 1.222 GB, free: 48 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001079/0.9184, allocations: 467.4 kB / 1.223 GB, free: 15.59 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.005455/0.9239, allocations: 4.168 MB / 1.227 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.9241, allocations: 110.4 kB / 1.227 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001281/0.9242, allocations: 75.48 kB / 1.227 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001914/0.9244, allocations: 97.03 kB / 1.227 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.915e-05/0.9245, allocations: 42.56 kB / 1.227 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 2.555e-06/0.9245, allocations: 0 / 1.227 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0008351/0.9253, allocations: 236.6 kB / 1.227 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.745e-05/0.9254, allocations: 128.5 kB / 1.227 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001451/0.9269, allocations: 0.8448 MB / 1.228 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.236e-05/0.9269, allocations: 25.7 kB / 1.228 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000384/0.9273, allocations: 402.9 kB / 1.229 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.259e-05/0.9274, allocations: 39.55 kB / 1.229 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001458/0.9275, allocations: 85.52 kB / 1.229 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.9277, allocations: 329.8 kB / 1.229 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003229/0.928, allocations: 115.9 kB / 1.229 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005487/0.9286, allocations: 345.8 kB / 1.229 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006395/0.9292, allocations: 403 kB / 1.23 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/0.9293, allocations: 0 / 1.23 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001091/0.9304, allocations: 492.2 kB / 1.23 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.876e-05/0.9304, allocations: 8 kB / 1.23 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.846e-05/0.9304, allocations: 8 kB / 1.23 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.897e-05/0.9305, allocations: 8 kB / 1.23 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003463/0.9308, allocations: 100.5 kB / 1.23 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.008e-05/0.9308, allocations: 15.92 kB / 1.23 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008442/0.9317, allocations: 123 kB / 1.231 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.273e-05/0.9318, allocations: 24 kB / 1.231 GB, free: 6.859 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.0003246/0.9321, allocations: 229.6 kB / 1.231 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002117/0.9323, allocations: 75.16 kB / 1.231 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001206/0.9324, allocations: 70.09 kB / 1.231 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.101e-05/0.9325, allocations: 4 kB / 1.231 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.9325, allocations: 0 / 1.231 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.9325, allocations: 11.92 kB / 1.231 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001666/0.9342, allocations: 1.12 MB / 1.232 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.9342, allocations: 480 / 1.232 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.913e-05/0.9343, allocations: 23.94 kB / 1.232 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.682e-06/0.9343, allocations: 4.312 kB / 1.232 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.9343, allocations: 8.125 kB / 1.232 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.822e-06/0.9343, allocations: 7.984 kB / 1.232 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.9343, allocations: 4 kB / 1.232 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003978/0.9347, allocations: 263.7 kB / 1.232 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003082/0.9351, allocations: 176.1 kB / 1.233 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001273/0.9352, allocations: 4 kB / 1.233 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003616/0.9356, allocations: 23.97 kB / 1.233 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.41e-05/0.9356, allocations: 15.94 kB / 1.233 GB, free: 4.668 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.9356, allocations: 4 kB / 1.233 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001016/0.9367, allocations: 0.5888 MB / 1.233 GB, free: 4.078 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9367, allocations: 0 / 1.233 GB, free: 4.078 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0007385/0.9374, allocations: 151.8 kB / 1.233 GB, free: 3.93 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.0005718/0.938, allocations: 197.8 kB / 1.233 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005989/0.9386, allocations: 229.1 kB / 1.234 GB, free: 3.52 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 7.714e-06/0.9386, allocations: 4 kB / 1.234 GB, free: 3.516 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.335e-05/0.9387, allocations: 43.86 kB / 1.234 GB, free: 3.473 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001907/0.9406, allocations: 366.5 kB / 1.234 GB, free: 3.125 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002315/0.9429, allocations: 1.299 MB / 1.235 GB, free: 1.762 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007854/0.9437, allocations: 0.9412 MB / 1.236 GB, free: 0.793 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000159/0.9439, allocations: 51.42 kB / 1.236 GB, free: 0.7422 MB / 0.9825 GB Notification: Performance of SimCode: time 8.71e-07/0.9439, allocations: 0 / 1.236 GB, free: 0.7422 MB / 0.9825 GB Notification: Performance of Templates: time 0.02419/0.9681, allocations: 10.62 MB / 1.247 GB, free: 6.234 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