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.001454/0.001454, allocations: 107.6 kB / 16.41 MB, free: 6.508 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.001284/0.001284, allocations: 187 kB / 17.34 MB, free: 5.742 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.383/1.383, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.231/2.231, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 64.14 kB / 0.9516 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9859/0.9874, allocations: 140.4 MB / 1.089 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.2328/1.22, allocations: 187.1 MB / 1.271 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01619/1.236, allocations: 13.02 MB / 1.284 GB, free: 5.48 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001426/1.238, allocations: 31.81 kB / 1.284 GB, free: 5.449 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001412/1.239, allocations: 409.3 kB / 1.284 GB, free: 5.047 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002686/1.242, allocations: 0.9175 MB / 1.285 GB, free: 4.125 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002102/1.244, allocations: 0.7076 MB / 1.286 GB, free: 3.422 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002164/1.246, allocations: 1.504 MB / 1.288 GB, free: 1.914 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009361/1.247, allocations: 0.6564 MB / 1.288 GB, free: 1.25 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004287/1.252, allocations: 1.732 MB / 1.29 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001446/1.253, allocations: 0.5015 MB / 1.29 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001017/1.253, allocations: 56 kB / 1.29 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001869/1.255, allocations: 0.8653 MB / 1.291 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003154/1.255, allocations: 287.1 kB / 1.292 GB, free: 13.81 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0004103/1.256, allocations: 378.1 kB / 1.292 GB, free: 13.44 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001642/1.257, allocations: 1.176 MB / 1.293 GB, free: 12.26 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/1.257, allocations: 4 kB / 1.293 GB, free: 12.26 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.423e-06/1.257, allocations: 0 / 1.293 GB, free: 12.26 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.125e-05/1.257, allocations: 0 / 1.293 GB, free: 12.26 MB / 1.029 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.001415/1.259, allocations: 1.048 MB / 1.294 GB, free: 11.16 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/1.259, allocations: 12.03 kB / 1.294 GB, free: 11.14 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009174/1.26, allocations: 190.8 kB / 1.294 GB, free: 10.96 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007955/1.261, allocations: 0.5559 MB / 1.295 GB, free: 10.36 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.099e-05/1.261, allocations: 49.23 kB / 1.295 GB, free: 10.31 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.579e-05/1.261, allocations: 60 kB / 1.295 GB, free: 10.25 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/1.262, allocations: 0.775 MB / 1.296 GB, free: 9.371 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/1.262, allocations: 7.938 kB / 1.296 GB, free: 9.363 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.448e-05/1.262, allocations: 27.94 kB / 1.296 GB, free: 9.336 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.357e-05/1.262, allocations: 21 kB / 1.296 GB, free: 9.312 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008401/1.263, allocations: 459.3 kB / 1.296 GB, free: 8.867 MB / 1.029 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.003738/1.267, allocations: 4.382 MB / 1.3 GB, free: 4.254 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/1.267, allocations: 102.4 kB / 1.301 GB, free: 4.117 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/1.267, allocations: 79.5 kB / 1.301 GB, free: 4.027 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001829/1.267, allocations: 93.09 kB / 1.301 GB, free: 3.918 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/1.267, allocations: 34.5 kB / 1.301 GB, free: 3.875 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 2.274e-06/1.267, allocations: 0 / 1.301 GB, free: 3.875 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.0006542/1.268, allocations: 249.1 kB / 1.301 GB, free: 3.625 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.987e-05/1.268, allocations: 140.4 kB / 1.301 GB, free: 3.457 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001055/1.269, allocations: 0.8369 MB / 1.302 GB, free: 2.605 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.195e-05/1.269, allocations: 33.77 kB / 1.302 GB, free: 2.566 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003121/1.269, allocations: 402.8 kB / 1.302 GB, free: 2.168 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.129e-05/1.269, allocations: 39.55 kB / 1.302 GB, free: 2.129 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/1.269, allocations: 89.88 kB / 1.302 GB, free: 2.035 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001329/1.27, allocations: 325.9 kB / 1.303 GB, free: 1.711 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002535/1.27, allocations: 108.7 kB / 1.303 GB, free: 1.605 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000444/1.27, allocations: 369.7 kB / 1.303 GB, free: 1.129 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005544/1.271, allocations: 437.5 kB / 1.304 GB, free: 0.5938 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/1.271, allocations: 4 kB / 1.304 GB, free: 0.5898 MB / 1.029 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008928/1.272, allocations: 0.4929 MB / 1.304 GB, free: 92 kB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/1.272, allocations: 14.33 kB / 1.304 GB, free: 80 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/1.272, allocations: 8 kB / 1.304 GB, free: 72 kB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.368e-05/1.272, allocations: 12 kB / 1.304 GB, free: 60 kB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003202/1.272, allocations: 91.83 kB / 1.304 GB, free: 15.97 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.724e-05/1.272, allocations: 15.94 kB / 1.304 GB, free: 15.95 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006276/1.273, allocations: 119.1 kB / 1.304 GB, free: 15.84 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.026e-05/1.273, allocations: 27.94 kB / 1.304 GB, free: 15.81 MB / 1.045 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.0002597/1.273, allocations: 226.1 kB / 1.305 GB, free: 15.58 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000143/1.273, allocations: 79.06 kB / 1.305 GB, free: 15.5 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001152/1.273, allocations: 74.17 kB / 1.305 GB, free: 15.43 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/1.273, allocations: 4 kB / 1.305 GB, free: 15.42 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/1.273, allocations: 0 / 1.305 GB, free: 15.42 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/1.273, allocations: 3.984 kB / 1.305 GB, free: 15.42 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001271/1.275, allocations: 1.128 MB / 1.306 GB, free: 14.2 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/1.275, allocations: 4 kB / 1.306 GB, free: 14.2 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.579e-05/1.275, allocations: 19.94 kB / 1.306 GB, free: 14.18 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/1.275, allocations: 4 kB / 1.306 GB, free: 14.17 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/1.275, allocations: 4.312 kB / 1.306 GB, free: 14.17 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/1.275, allocations: 8 kB / 1.306 GB, free: 14.16 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/1.275, allocations: 3.938 kB / 1.306 GB, free: 14.16 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002862/1.275, allocations: 263.8 kB / 1.306 GB, free: 13.85 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001888/1.275, allocations: 172.1 kB / 1.306 GB, free: 13.66 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.206e-05/1.276, allocations: 4 kB / 1.306 GB, free: 13.66 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003056/1.276, allocations: 16.06 kB / 1.306 GB, free: 13.64 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.979e-05/1.276, allocations: 23.88 kB / 1.306 GB, free: 13.62 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.415e-06/1.276, allocations: 4 kB / 1.306 GB, free: 13.62 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0007616/1.277, allocations: 0.5926 MB / 1.307 GB, free: 13.03 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.7e-07/1.277, allocations: 0 / 1.307 GB, free: 13.03 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0005267/1.277, allocations: 155.8 kB / 1.307 GB, free: 12.88 MB / 1.045 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.0004321/1.278, allocations: 184.1 kB / 1.307 GB, free: 12.71 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004847/1.278, allocations: 240.6 kB / 1.308 GB, free: 12.47 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/1.278, allocations: 3.938 kB / 1.308 GB, free: 12.47 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 7.234e-05/1.278, allocations: 49.41 kB / 1.308 GB, free: 12.42 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001521/1.28, allocations: 381.8 kB / 1.308 GB, free: 12.05 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/1.281, allocations: 1.109 MB / 1.309 GB, free: 10.88 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005147/1.282, allocations: 0.9447 MB / 1.31 GB, free: 9.91 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001205/1.282, allocations: 47.44 kB / 1.31 GB, free: 9.863 MB / 1.045 GB Notification: Performance of SimCode: time 2.31e-07/1.282, allocations: 0 / 1.31 GB, free: 9.863 MB / 1.045 GB Notification: Performance of Templates: time 0.01524/1.297, allocations: 10.75 MB / 1.32 GB, free: 15.23 MB / 1.061 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