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.001591/0.00159, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001969/0.001969, allocations: 191.9 kB / 16.14 MB, free: 6.727 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.45/1.45, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.767/2.767, allocations: 461.9 MB / 0.7342 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 67 kB / 0.8984 GB, free: 37.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3363/0.3375, allocations: 157.4 MB / 1.052 GB, free: 8.887 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.2456/0.5832, allocations: 184.9 MB / 1.233 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01849/0.6017, allocations: 13.07 MB / 1.245 GB, free: 2.219 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001617/0.6034, allocations: 27.88 kB / 1.245 GB, free: 2.191 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001751/0.6052, allocations: 342 kB / 1.246 GB, free: 1.855 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003171/0.6084, allocations: 0.8674 MB / 1.247 GB, free: 0.9844 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002346/0.6108, allocations: 0.6179 MB / 1.247 GB, free: 380 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.7177/1.329, allocations: 2.101 MB / 1.249 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001267/1.33, allocations: 0.5538 MB / 1.25 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00461/1.334, allocations: 1.6 MB / 1.251 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001986/1.336, allocations: 0.5343 MB / 1.252 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001361/1.337, allocations: 35.44 kB / 1.252 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002175/1.339, allocations: 0.9642 MB / 1.253 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005897/1.339, allocations: 266.5 kB / 1.253 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007192/1.34, allocations: 361.3 kB / 1.253 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002238/1.342, allocations: 1.182 MB / 1.255 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/1.342, allocations: 4.656 kB / 1.255 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.342e-06/1.342, allocations: 0 / 1.255 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.141e-05/1.342, allocations: 0 / 1.255 GB, free: 3.219 MB / 0.9981 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.002054/1.344, allocations: 1.046 MB / 1.256 GB, free: 18.58 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/1.345, allocations: 8.188 kB / 1.256 GB, free: 18.58 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001095/1.346, allocations: 202.2 kB / 1.256 GB, free: 18.53 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000901/1.347, allocations: 0.5194 MB / 1.256 GB, free: 18.25 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003783/1.347, allocations: 103.1 kB / 1.256 GB, free: 18.25 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.026e-05/1.347, allocations: 55.78 kB / 1.256 GB, free: 18.25 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001393/1.348, allocations: 0.7631 MB / 1.257 GB, free: 17.96 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.504e-05/1.348, allocations: 6.703 kB / 1.257 GB, free: 17.96 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.716e-05/1.349, allocations: 26.25 kB / 1.257 GB, free: 17.96 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.171e-05/1.349, allocations: 22.72 kB / 1.257 GB, free: 17.96 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/1.35, allocations: 470.8 kB / 1.258 GB, free: 17.95 MB / 1.014 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.005232/1.355, allocations: 4.163 MB / 1.262 GB, free: 14.85 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001677/1.355, allocations: 112.4 kB / 1.262 GB, free: 14.75 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001436/1.355, allocations: 73.47 kB / 1.262 GB, free: 14.72 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000211/1.355, allocations: 92.84 kB / 1.262 GB, free: 14.62 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.203e-05/1.355, allocations: 46.88 kB / 1.262 GB, free: 14.58 MB / 1.014 GB Notification: Performance of pre-optimization done (n=10): time 2.976e-06/1.355, allocations: 0 / 1.262 GB, free: 14.58 MB / 1.014 GB Notification: Performance of matching and sorting (n=10): time 0.0008086/1.356, allocations: 237.4 kB / 1.262 GB, free: 14.51 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.338e-05/1.356, allocations: 135.2 kB / 1.262 GB, free: 14.36 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001282/1.358, allocations: 0.8366 MB / 1.263 GB, free: 14.21 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.421e-05/1.358, allocations: 32.39 kB / 1.263 GB, free: 14.18 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003364/1.358, allocations: 395.2 kB / 1.264 GB, free: 14.01 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.399e-05/1.358, allocations: 47.69 kB / 1.264 GB, free: 13.98 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001447/1.358, allocations: 79.56 kB / 1.264 GB, free: 13.96 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000147/1.358, allocations: 324.9 kB / 1.264 GB, free: 13.66 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003147/1.359, allocations: 110.7 kB / 1.264 GB, free: 13.66 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004814/1.359, allocations: 347.9 kB / 1.265 GB, free: 13.37 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005781/1.36, allocations: 408.4 kB / 1.265 GB, free: 13.1 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.391e-06/1.36, allocations: 2.625 kB / 1.265 GB, free: 13.1 MB / 1.014 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001185/1.361, allocations: 496.9 kB / 1.265 GB, free: 13.02 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.154e-05/1.361, allocations: 8.641 kB / 1.265 GB, free: 13.02 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.865e-05/1.361, allocations: 7.406 kB / 1.265 GB, free: 13.02 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.545e-05/1.361, allocations: 9.5 kB / 1.265 GB, free: 13.02 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003766/1.362, allocations: 88.14 kB / 1.266 GB, free: 13.02 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.812e-05/1.362, allocations: 19.09 kB / 1.266 GB, free: 13.02 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008461/1.362, allocations: 122.8 kB / 1.266 GB, free: 12.97 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.415e-05/1.363, allocations: 23.8 kB / 1.266 GB, free: 12.97 MB / 1.014 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.0003664/1.363, allocations: 234.5 kB / 1.266 GB, free: 12.85 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001721/1.363, allocations: 78.34 kB / 1.266 GB, free: 12.81 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001477/1.363, allocations: 68.39 kB / 1.266 GB, free: 12.8 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/1.363, allocations: 5.875 kB / 1.266 GB, free: 12.79 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.407e-06/1.363, allocations: 2.422 kB / 1.266 GB, free: 12.79 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/1.363, allocations: 2.078 kB / 1.266 GB, free: 12.79 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001608/1.365, allocations: 1.122 MB / 1.267 GB, free: 12.11 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/1.365, allocations: 3.734 kB / 1.267 GB, free: 12.11 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.873e-05/1.365, allocations: 21.67 kB / 1.267 GB, free: 12.11 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/1.365, allocations: 3 kB / 1.267 GB, free: 12.11 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/1.365, allocations: 7.719 kB / 1.267 GB, free: 12.1 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.085e-06/1.365, allocations: 7.125 kB / 1.267 GB, free: 12.1 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/1.365, allocations: 6.312 kB / 1.267 GB, free: 12.1 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003224/1.365, allocations: 256.7 kB / 1.267 GB, free: 11.93 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002319/1.366, allocations: 171.8 kB / 1.268 GB, free: 11.79 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/1.366, allocations: 9.734 kB / 1.268 GB, free: 11.79 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000351/1.366, allocations: 26.44 kB / 1.268 GB, free: 11.79 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.275e-05/1.366, allocations: 10.22 kB / 1.268 GB, free: 11.79 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/1.366, allocations: 5.891 kB / 1.268 GB, free: 11.79 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001198/1.367, allocations: 0.587 MB / 1.268 GB, free: 11.69 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.81e-07/1.367, allocations: 0 / 1.268 GB, free: 11.69 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0008732/1.368, allocations: 154.8 kB / 1.268 GB, free: 11.68 MB / 1.014 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.0005533/1.369, allocations: 199.4 kB / 1.269 GB, free: 11.57 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0006902/1.369, allocations: 232.4 kB / 1.269 GB, free: 11.56 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.37, allocations: 1.094 kB / 1.269 GB, free: 11.56 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 8.116e-05/1.37, allocations: 49.73 kB / 1.269 GB, free: 11.56 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001821/1.371, allocations: 367.3 kB / 1.269 GB, free: 11.54 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002088/1.374, allocations: 1.245 MB / 1.27 GB, free: 10.81 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006921/1.374, allocations: 0.94 MB / 1.271 GB, free: 10.11 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007085/1.375, allocations: 144.1 kB / 1.271 GB, free: 10.08 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/1.375, allocations: 48.58 kB / 1.272 GB, free: 10.07 MB / 1.014 GB Notification: Performance of SimCode: time 1.172e-06/1.375, allocations: 4 kB / 1.272 GB, free: 10.07 MB / 1.014 GB Notification: Performance of Templates: time 0.0279/1.403, allocations: 11.28 MB / 1.283 GB, free: 9.434 MB / 1.014 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