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.006876/0.006876, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001717/0.001717, allocations: 187.4 kB / 16.67 MB, free: 5.969 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.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.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.469/2.469, allocations: 390.2 MB / 0.6648 GB, free: 256 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 58.94 kB / 0.9509 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3183, allocations: 140.4 MB / 1.088 GB, free: 1.48 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.8803/1.199, allocations: 187.1 MB / 1.271 GB, free: 4.031 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01555/1.214, allocations: 13.02 MB / 1.283 GB, free: 3.914 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001173/1.215, allocations: 33.28 kB / 1.283 GB, free: 3.914 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001253/1.217, allocations: 414.5 kB / 1.284 GB, free: 3.91 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002455/1.219, allocations: 0.9218 MB / 1.285 GB, free: 3.871 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002237/1.221, allocations: 0.7061 MB / 1.285 GB, free: 3.859 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002214/1.224, allocations: 1.511 MB / 1.287 GB, free: 3.852 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009787/1.225, allocations: 0.6522 MB / 1.287 GB, free: 3.785 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004139/1.229, allocations: 1.726 MB / 1.289 GB, free: 3.746 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001416/1.23, allocations: 0.5023 MB / 1.29 GB, free: 3.746 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001265/1.23, allocations: 54.97 kB / 1.29 GB, free: 3.746 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002094/1.232, allocations: 0.8778 MB / 1.291 GB, free: 3.734 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.000384/1.233, allocations: 273.1 kB / 1.291 GB, free: 3.734 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0005562/1.233, allocations: 387.3 kB / 1.291 GB, free: 3.734 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002029/1.235, allocations: 1.172 MB / 1.292 GB, free: 3.656 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/1.235, allocations: 0.7031 kB / 1.292 GB, free: 3.656 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.543e-06/1.235, allocations: 0.7812 kB / 1.292 GB, free: 3.656 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.455e-05/1.235, allocations: 1.344 kB / 1.292 GB, free: 3.656 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.001521/1.237, allocations: 1.044 MB / 1.293 GB, free: 3.008 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/1.237, allocations: 10.3 kB / 1.293 GB, free: 3.008 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001038/1.238, allocations: 191.2 kB / 1.294 GB, free: 2.965 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009502/1.239, allocations: 0.5541 MB / 1.294 GB, free: 2.68 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.176e-05/1.239, allocations: 49.14 kB / 1.294 GB, free: 2.68 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.852e-05/1.239, allocations: 59.23 kB / 1.294 GB, free: 2.68 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001273/1.24, allocations: 0.7691 MB / 1.295 GB, free: 2.371 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.456e-05/1.24, allocations: 5.75 kB / 1.295 GB, free: 2.371 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.692e-05/1.241, allocations: 25.69 kB / 1.295 GB, free: 2.371 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-05/1.241, allocations: 23.12 kB / 1.295 GB, free: 2.367 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009542/1.242, allocations: 462.2 kB / 1.295 GB, free: 2.367 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.003631/1.245, allocations: 4.383 MB / 1.3 GB, free: 15.03 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/1.245, allocations: 106.8 kB / 1.3 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.521e-05/1.245, allocations: 77.75 kB / 1.3 GB, free: 14.9 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001691/1.246, allocations: 96.09 kB / 1.3 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/1.246, allocations: 38.97 kB / 1.3 GB, free: 14.77 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 2.795e-06/1.246, allocations: 0 / 1.3 GB, free: 14.77 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.0007939/1.246, allocations: 252 kB / 1.3 GB, free: 14.69 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.014e-05/1.247, allocations: 133.2 kB / 1.3 GB, free: 14.53 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001201/1.248, allocations: 0.8403 MB / 1.301 GB, free: 14.39 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.984e-05/1.248, allocations: 30.52 kB / 1.301 GB, free: 14.36 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003102/1.248, allocations: 403.8 kB / 1.302 GB, free: 14.18 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.994e-05/1.248, allocations: 37.62 kB / 1.302 GB, free: 14.16 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001449/1.248, allocations: 92.02 kB / 1.302 GB, free: 14.14 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000133/1.248, allocations: 322.2 kB / 1.302 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003023/1.249, allocations: 111.8 kB / 1.302 GB, free: 13.83 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005218/1.249, allocations: 364.1 kB / 1.303 GB, free: 13.53 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006248/1.25, allocations: 442.2 kB / 1.303 GB, free: 13.25 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.273e-06/1.25, allocations: 5.688 kB / 1.303 GB, free: 13.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009991/1.251, allocations: 0.4953 MB / 1.303 GB, free: 13.18 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/1.251, allocations: 8.938 kB / 1.303 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/1.251, allocations: 8.344 kB / 1.303 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.171e-05/1.251, allocations: 11.16 kB / 1.303 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003531/1.251, allocations: 98.28 kB / 1.304 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.601e-05/1.251, allocations: 14.08 kB / 1.304 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007443/1.252, allocations: 117.2 kB / 1.304 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.196e-05/1.252, allocations: 24.45 kB / 1.304 GB, free: 13.14 MB / 1.029 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.0002691/1.253, allocations: 226.7 kB / 1.304 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001551/1.253, allocations: 80.89 kB / 1.304 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00012/1.253, allocations: 71.14 kB / 1.304 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/1.253, allocations: 3.875 kB / 1.304 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/1.253, allocations: 1.062 kB / 1.304 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/1.253, allocations: 2.156 kB / 1.304 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001384/1.254, allocations: 1.122 MB / 1.305 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/1.254, allocations: 1.281 kB / 1.305 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.302e-05/1.254, allocations: 21.55 kB / 1.305 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/1.254, allocations: 3.5 kB / 1.305 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/1.254, allocations: 10.94 kB / 1.305 GB, free: 12.28 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/1.254, allocations: 6.109 kB / 1.305 GB, free: 12.28 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/1.254, allocations: 2.594 kB / 1.305 GB, free: 12.28 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002787/1.255, allocations: 260.7 kB / 1.305 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002276/1.255, allocations: 176.4 kB / 1.306 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.35e-05/1.255, allocations: 9.266 kB / 1.306 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003411/1.255, allocations: 21.05 kB / 1.306 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.586e-05/1.255, allocations: 11.2 kB / 1.306 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/1.255, allocations: 5 kB / 1.306 GB, free: 11.97 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0008896/1.256, allocations: 0.5904 MB / 1.306 GB, free: 11.88 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.5e-07/1.256, allocations: 0 / 1.306 GB, free: 11.88 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000659/1.257, allocations: 158.9 kB / 1.306 GB, free: 11.87 MB / 1.029 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.0004745/1.257, allocations: 194.5 kB / 1.307 GB, free: 11.76 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005635/1.258, allocations: 242.9 kB / 1.307 GB, free: 11.76 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/1.258, allocations: 2.281 kB / 1.307 GB, free: 11.76 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.212e-05/1.258, allocations: 53.31 kB / 1.307 GB, free: 11.76 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001714/1.26, allocations: 382.7 kB / 1.307 GB, free: 11.7 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001906/1.262, allocations: 1.059 MB / 1.308 GB, free: 11.18 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006057/1.262, allocations: 0.938 MB / 1.309 GB, free: 10.48 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0004686/1.263, allocations: 151.3 kB / 1.309 GB, free: 10.46 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.908e-05/1.263, allocations: 46.12 kB / 1.309 GB, free: 10.46 MB / 1.029 GB Notification: Performance of SimCode: time 2.61e-07/1.263, allocations: 0.9375 kB / 1.309 GB, free: 10.46 MB / 1.029 GB Notification: Performance of Templates: time 0.02484/1.288, allocations: 11.81 MB / 1.321 GB, free: 9.762 MB / 1.029 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches