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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001126/0.001127, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 180.2 kB / 16.92 MB, free: 6.652 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.491/1.491, allocations: 223.3 MB / 241 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.839/2.839, allocations: 462.7 MB / 0.7371 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000367/0.0003672, allocations: 13.72 kB / 0.9034 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3214/0.3218, allocations: 159.6 MB / 1.059 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.2049/0.5267, allocations: 182.4 MB / 1.237 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01653/0.5433, allocations: 12.9 MB / 1.25 GB, free: 0.9648 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001319/0.5447, allocations: 27.81 kB / 1.25 GB, free: 0.9375 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001499/0.5462, allocations: 330.1 kB / 1.25 GB, free: 0.6133 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.6835/1.23, allocations: 0.8681 MB / 1.251 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002153/1.232, allocations: 0.6191 MB / 1.252 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003045/1.235, allocations: 2.103 MB / 1.254 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009118/1.236, allocations: 0.5378 MB / 1.254 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003602/1.24, allocations: 1.579 MB / 1.256 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001446/1.241, allocations: 0.504 MB / 1.256 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.354e-05/1.241, allocations: 24.67 kB / 1.256 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001881/1.243, allocations: 0.9606 MB / 1.257 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003311/1.243, allocations: 245.8 kB / 1.258 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006333/1.244, allocations: 373.1 kB / 1.258 GB, free: 19.25 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001264/1.245, allocations: 0.8537 MB / 1.259 GB, free: 19.19 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/1.245, allocations: 0 / 1.259 GB, free: 19.19 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.694e-06/1.245, allocations: 0 / 1.259 GB, free: 19.19 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.397e-05/1.245, allocations: 0 / 1.259 GB, free: 19.19 MB / 1.014 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.001443/1.247, allocations: 0.9131 MB / 1.26 GB, free: 18.56 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/1.247, allocations: 12.62 kB / 1.26 GB, free: 18.55 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001004/1.248, allocations: 208.4 kB / 1.26 GB, free: 18.51 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007664/1.249, allocations: 0.5217 MB / 1.26 GB, free: 18.23 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003418/1.249, allocations: 111.8 kB / 1.261 GB, free: 18.22 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.611e-05/1.249, allocations: 57.48 kB / 1.261 GB, free: 18.22 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001149/1.25, allocations: 0.7684 MB / 1.261 GB, free: 17.93 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/1.25, allocations: 4.969 kB / 1.261 GB, free: 17.93 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.862e-05/1.25, allocations: 26.62 kB / 1.261 GB, free: 17.93 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.335e-05/1.25, allocations: 21.66 kB / 1.261 GB, free: 17.93 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009157/1.251, allocations: 486.4 kB / 1.262 GB, free: 17.92 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.00369/1.255, allocations: 4.165 MB / 1.266 GB, free: 14.82 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/1.255, allocations: 116.8 kB / 1.266 GB, free: 14.72 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.7e-05/1.255, allocations: 73.8 kB / 1.266 GB, free: 14.69 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001706/1.255, allocations: 99.94 kB / 1.266 GB, free: 14.59 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/1.255, allocations: 37 kB / 1.266 GB, free: 14.55 MB / 1.014 GB Notification: Performance of pre-optimization done (n=10): time 2.094e-06/1.255, allocations: 0 / 1.266 GB, free: 14.55 MB / 1.014 GB Notification: Performance of matching and sorting (n=10): time 0.0006398/1.256, allocations: 236.8 kB / 1.266 GB, free: 14.48 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.703e-05/1.256, allocations: 138.8 kB / 1.267 GB, free: 14.32 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/1.257, allocations: 0.8456 MB / 1.267 GB, free: 14.18 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.865e-05/1.257, allocations: 33.14 kB / 1.267 GB, free: 14.14 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002701/1.258, allocations: 396.6 kB / 1.268 GB, free: 13.97 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.161e-05/1.258, allocations: 41.25 kB / 1.268 GB, free: 13.95 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.447e-05/1.258, allocations: 30 kB / 1.268 GB, free: 13.93 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000119/1.258, allocations: 323.8 kB / 1.268 GB, free: 13.63 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000278/1.258, allocations: 114.2 kB / 1.268 GB, free: 13.62 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004018/1.258, allocations: 354.7 kB / 1.269 GB, free: 13.34 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004857/1.259, allocations: 416.8 kB / 1.269 GB, free: 13.07 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/1.259, allocations: 7.422 kB / 1.269 GB, free: 13.07 MB / 1.014 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001004/1.26, allocations: 499.5 kB / 1.27 GB, free: 12.98 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/1.26, allocations: 8.531 kB / 1.27 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/1.26, allocations: 7.203 kB / 1.27 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.797e-05/1.26, allocations: 9.969 kB / 1.27 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003502/1.26, allocations: 99.95 kB / 1.27 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.979e-05/1.26, allocations: 13.91 kB / 1.27 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007536/1.261, allocations: 131.8 kB / 1.27 GB, free: 12.93 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.421e-05/1.261, allocations: 23.11 kB / 1.27 GB, free: 12.93 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.0003288/1.262, allocations: 231.5 kB / 1.27 GB, free: 12.81 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002014/1.262, allocations: 70.62 kB / 1.27 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001335/1.262, allocations: 70.81 kB / 1.27 GB, free: 12.76 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/1.262, allocations: 1.531 kB / 1.27 GB, free: 12.76 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.916e-06/1.262, allocations: 2.328 kB / 1.27 GB, free: 12.76 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/1.262, allocations: 1.5 kB / 1.27 GB, free: 12.76 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001501/1.263, allocations: 1.132 MB / 1.271 GB, free: 12.07 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/1.263, allocations: 2.375 kB / 1.271 GB, free: 12.07 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.814e-05/1.264, allocations: 25.5 kB / 1.271 GB, free: 12.07 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.146e-06/1.264, allocations: 3.922 kB / 1.271 GB, free: 12.07 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/1.264, allocations: 7.344 kB / 1.271 GB, free: 12.07 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/1.264, allocations: 3.781 kB / 1.271 GB, free: 12.07 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/1.264, allocations: 5.812 kB / 1.271 GB, free: 12.07 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003275/1.264, allocations: 258.4 kB / 1.272 GB, free: 11.89 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000224/1.264, allocations: 165.8 kB / 1.272 GB, free: 11.76 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.233e-05/1.264, allocations: 15.89 kB / 1.272 GB, free: 11.75 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003506/1.265, allocations: 25.42 kB / 1.272 GB, free: 11.75 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.907e-05/1.265, allocations: 14.33 kB / 1.272 GB, free: 11.75 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/1.265, allocations: 5.484 kB / 1.272 GB, free: 11.75 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001044/1.266, allocations: 0.588 MB / 1.272 GB, free: 11.65 MB / 1.014 GB Notification: Performance of sort global known variables: time 5.11e-07/1.266, allocations: 0.5625 kB / 1.272 GB, free: 11.65 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006887/1.266, allocations: 156.2 kB / 1.273 GB, free: 11.64 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.0004874/1.267, allocations: 193 kB / 1.273 GB, free: 11.53 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005676/1.268, allocations: 234 kB / 1.273 GB, free: 11.53 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/1.268, allocations: 1.781 kB / 1.273 GB, free: 11.53 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 7.336e-05/1.268, allocations: 53.08 kB / 1.273 GB, free: 11.52 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002009/1.27, allocations: 364.9 kB / 1.273 GB, free: 11.5 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00192/1.272, allocations: 1.341 MB / 1.275 GB, free: 10.74 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006155/1.272, allocations: 0.9329 MB / 1.276 GB, free: 10.03 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001447/1.272, allocations: 51.36 kB / 1.276 GB, free: 10.02 MB / 1.014 GB Notification: Performance of SimCode: time 3.51e-07/1.272, allocations: 1.062 kB / 1.276 GB, free: 10.02 MB / 1.014 GB Notification: Performance of Templates: time 0.02351/1.296, allocations: 10.54 MB / 1.286 GB, free: 9.207 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches