Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.007124/0.007124, allocations: 102.6 kB / 15.73 MB, free: 6.492 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.001429/0.001429, allocations: 192 kB / 16.67 MB, free: 6.379 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.437/1.437, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.72/2.72, allocations: 461.9 MB / 0.7348 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 63.89 kB / 1.054 GB, free: 7.051 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3739/0.3751, allocations: 157.4 MB / 1.208 GB, free: 9.543 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.9684/1.344, allocations: 187.1 MB / 1.39 GB, free: 1.777 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01705/1.361, allocations: 13.02 MB / 1.403 GB, free: 7.23 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001674/1.362, allocations: 27.12 kB / 1.403 GB, free: 7.223 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001529/1.364, allocations: 417.6 kB / 1.404 GB, free: 6.875 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002978/1.367, allocations: 0.924 MB / 1.405 GB, free: 6.148 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002164/1.369, allocations: 0.7132 MB / 1.405 GB, free: 5.617 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002439/1.372, allocations: 1.501 MB / 1.407 GB, free: 4.758 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001029/1.373, allocations: 0.6627 MB / 1.407 GB, free: 4.355 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004492/1.377, allocations: 1.715 MB / 1.409 GB, free: 3.227 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001404/1.379, allocations: 0.5076 MB / 1.41 GB, free: 2.926 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 9.181e-05/1.379, allocations: 53.94 kB / 1.41 GB, free: 2.926 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001832/1.38, allocations: 0.8797 MB / 1.41 GB, free: 2.445 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002903/1.381, allocations: 282.9 kB / 1.411 GB, free: 2.258 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0004262/1.381, allocations: 383.7 kB / 1.411 GB, free: 2.016 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001688/1.383, allocations: 1.169 MB / 1.412 GB, free: 1.277 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/1.383, allocations: 0 / 1.412 GB, free: 1.277 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.673e-06/1.383, allocations: 0 / 1.412 GB, free: 1.277 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.152e-05/1.383, allocations: 0 / 1.412 GB, free: 1.277 MB / 1.092 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.001536/1.384, allocations: 1.054 MB / 1.413 GB, free: 424 kB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/1.385, allocations: 14.77 kB / 1.413 GB, free: 420 kB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009212/1.385, allocations: 183.4 kB / 1.413 GB, free: 336 kB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009241/1.386, allocations: 0.552 MB / 1.414 GB, free: 15.87 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.129e-05/1.386, allocations: 46.5 kB / 1.414 GB, free: 15.85 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.007e-05/1.387, allocations: 59.61 kB / 1.414 GB, free: 15.83 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001076/1.388, allocations: 0.7741 MB / 1.415 GB, free: 15.2 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/1.388, allocations: 6.25 kB / 1.415 GB, free: 15.2 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.003e-05/1.388, allocations: 30.41 kB / 1.415 GB, free: 15.18 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.533e-05/1.388, allocations: 24.41 kB / 1.415 GB, free: 15.18 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008418/1.389, allocations: 463.5 kB / 1.415 GB, free: 14.95 MB / 1.107 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.003673/1.392, allocations: 4.377 MB / 1.42 GB, free: 10.85 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001291/1.392, allocations: 105.3 kB / 1.42 GB, free: 10.73 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/1.393, allocations: 75.97 kB / 1.42 GB, free: 10.67 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001828/1.393, allocations: 94.09 kB / 1.42 GB, free: 10.57 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/1.393, allocations: 37.66 kB / 1.42 GB, free: 10.53 MB / 1.107 GB Notification: Performance of pre-optimization done (n=10): time 2.274e-06/1.393, allocations: 4 kB / 1.42 GB, free: 10.53 MB / 1.107 GB Notification: Performance of matching and sorting (n=10): time 0.000646/1.393, allocations: 245.5 kB / 1.42 GB, free: 10.39 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.267e-05/1.394, allocations: 135.3 kB / 1.42 GB, free: 10.23 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001041/1.395, allocations: 0.8403 MB / 1.421 GB, free: 9.762 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/1.395, allocations: 27.11 kB / 1.421 GB, free: 9.73 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002852/1.395, allocations: 403.9 kB / 1.421 GB, free: 9.375 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 3.037e-05/1.395, allocations: 35.58 kB / 1.422 GB, free: 9.348 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000135/1.395, allocations: 94.62 kB / 1.422 GB, free: 9.285 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001029/1.395, allocations: 320.8 kB / 1.422 GB, free: 8.969 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002651/1.395, allocations: 112.4 kB / 1.422 GB, free: 8.918 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004209/1.396, allocations: 360 kB / 1.422 GB, free: 8.539 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005391/1.396, allocations: 446.9 kB / 1.423 GB, free: 8.113 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/1.396, allocations: 5.969 kB / 1.423 GB, free: 8.113 MB / 1.107 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008924/1.397, allocations: 0.493 MB / 1.423 GB, free: 7.855 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/1.397, allocations: 12.23 kB / 1.423 GB, free: 7.852 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/1.397, allocations: 7.281 kB / 1.423 GB, free: 7.852 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.206e-05/1.397, allocations: 10.19 kB / 1.423 GB, free: 7.852 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003107/1.398, allocations: 93.3 kB / 1.423 GB, free: 7.832 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.665e-05/1.398, allocations: 17.47 kB / 1.423 GB, free: 7.824 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007119/1.398, allocations: 121 kB / 1.424 GB, free: 7.75 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.083e-05/1.399, allocations: 24.44 kB / 1.424 GB, free: 7.746 MB / 1.107 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.0002403/1.399, allocations: 231.5 kB / 1.424 GB, free: 7.559 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001428/1.399, allocations: 77.16 kB / 1.424 GB, free: 7.52 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001021/1.399, allocations: 71.33 kB / 1.424 GB, free: 7.473 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/1.399, allocations: 2.75 kB / 1.424 GB, free: 7.473 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/1.399, allocations: 2.094 kB / 1.424 GB, free: 7.473 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.81e-06/1.399, allocations: 3.984 kB / 1.424 GB, free: 7.469 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00125/1.4, allocations: 1.119 MB / 1.425 GB, free: 6.473 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/1.4, allocations: 2.656 kB / 1.425 GB, free: 6.473 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.026e-05/1.4, allocations: 22.62 kB / 1.425 GB, free: 6.465 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/1.4, allocations: 3.125 kB / 1.425 GB, free: 6.465 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/1.4, allocations: 4.812 kB / 1.425 GB, free: 6.465 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/1.4, allocations: 2.688 kB / 1.425 GB, free: 6.465 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/1.4, allocations: 2.031 kB / 1.425 GB, free: 6.465 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002763/1.401, allocations: 272.5 kB / 1.425 GB, free: 6.23 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002226/1.401, allocations: 170.6 kB / 1.425 GB, free: 6.074 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.505e-05/1.401, allocations: 2.75 kB / 1.425 GB, free: 6.074 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003186/1.401, allocations: 22.08 kB / 1.425 GB, free: 6.062 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.329e-05/1.401, allocations: 16.92 kB / 1.426 GB, free: 6.051 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/1.401, allocations: 5.719 kB / 1.426 GB, free: 6.051 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0007675/1.402, allocations: 0.5931 MB / 1.426 GB, free: 5.723 MB / 1.107 GB Notification: Performance of sort global known variables: time 2.1e-07/1.402, allocations: 0 / 1.426 GB, free: 5.723 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0005897/1.403, allocations: 154.6 kB / 1.426 GB, free: 5.699 MB / 1.107 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.0004783/1.403, allocations: 193.4 kB / 1.426 GB, free: 5.578 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0004908/1.404, allocations: 247.2 kB / 1.427 GB, free: 5.469 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/1.404, allocations: 4.312 kB / 1.427 GB, free: 5.465 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 6.352e-05/1.404, allocations: 47.14 kB / 1.427 GB, free: 5.445 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001605/1.406, allocations: 374.1 kB / 1.427 GB, free: 5.172 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001527/1.407, allocations: 1.06 MB / 1.428 GB, free: 4.055 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004455/1.408, allocations: 0.9409 MB / 1.429 GB, free: 3.086 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0004187/1.408, allocations: 150.1 kB / 1.429 GB, free: 2.938 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.486e-05/1.408, allocations: 47.42 kB / 1.429 GB, free: 2.891 MB / 1.107 GB Notification: Performance of SimCode: time 1.823e-06/1.408, allocations: 0 / 1.429 GB, free: 2.891 MB / 1.107 GB Notification: Performance of Templates: time 0.02098/1.429, allocations: 12 MB / 1.441 GB, free: 7.082 MB / 1.123 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches