Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001654/0.001654, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00194/0.00194, allocations: 195.1 kB / 16.26 MB, free: 6.629 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.559/1.559, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.775/2.775, allocations: 437 MB / 0.7101 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002164/0.002164, allocations: 67.89 kB / 0.8687 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7904/0.7926, allocations: 151.6 MB / 1.017 GB, free: 2.711 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.24/1.033, allocations: 184.7 MB / 1.197 GB, free: 9.363 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01946/1.052, allocations: 12.91 MB / 1.21 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00148/1.054, allocations: 27.81 kB / 1.21 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001444/1.055, allocations: 358 kB / 1.21 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002691/1.058, allocations: 0.8597 MB / 1.211 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00215/1.06, allocations: 0.6344 MB / 1.212 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002519/1.063, allocations: 1.504 MB / 1.213 GB, free: 9.035 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001102/1.064, allocations: 0.6195 MB / 1.214 GB, free: 8.406 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004901/1.069, allocations: 1.681 MB / 1.215 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00196/1.071, allocations: 0.5397 MB / 1.216 GB, free: 6.184 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001335/1.071, allocations: 56 kB / 1.216 GB, free: 6.129 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002268/1.073, allocations: 0.9158 MB / 1.217 GB, free: 5.211 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003964/1.073, allocations: 283.2 kB / 1.217 GB, free: 4.934 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0006027/1.074, allocations: 390 kB / 1.217 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002134/1.076, allocations: 1.199 MB / 1.219 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/1.076, allocations: 0 / 1.219 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of FrontEnd: time 9.82e-07/1.076, allocations: 0 / 1.219 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.21e-05/1.076, allocations: 0 / 1.219 GB, free: 3.348 MB / 0.9669 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.001813/1.078, allocations: 1.052 MB / 1.22 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/1.078, allocations: 8.031 kB / 1.22 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001071/1.079, allocations: 194.8 kB / 1.22 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009354/1.08, allocations: 0.5208 MB / 1.22 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003557/1.08, allocations: 101.2 kB / 1.22 GB, free: 1.383 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.501e-05/1.081, allocations: 60 kB / 1.22 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001358/1.082, allocations: 0.7597 MB / 1.221 GB, free: 476 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.228e-05/1.082, allocations: 11.94 kB / 1.221 GB, free: 464 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.825e-05/1.082, allocations: 27.94 kB / 1.221 GB, free: 436 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.172e-05/1.082, allocations: 25 kB / 1.221 GB, free: 412 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/1.083, allocations: 467.3 kB / 1.222 GB, free: 15.95 MB / 0.9825 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.004763/1.088, allocations: 4.163 MB / 1.226 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/1.088, allocations: 102.3 kB / 1.226 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001311/1.088, allocations: 79.58 kB / 1.226 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002308/1.088, allocations: 97.09 kB / 1.226 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.179e-05/1.088, allocations: 38.55 kB / 1.226 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 2.315e-06/1.089, allocations: 0 / 1.226 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0007792/1.089, allocations: 232.6 kB / 1.226 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.778e-05/1.089, allocations: 136.8 kB / 1.226 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001213/1.091, allocations: 0.8368 MB / 1.227 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.29e-05/1.091, allocations: 29.7 kB / 1.227 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003557/1.091, allocations: 399 kB / 1.228 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.8e-05/1.091, allocations: 39.45 kB / 1.228 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001695/1.091, allocations: 85.5 kB / 1.228 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001594/1.091, allocations: 325.9 kB / 1.228 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003003/1.092, allocations: 111.9 kB / 1.228 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005237/1.092, allocations: 349.8 kB / 1.229 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006314/1.093, allocations: 407 kB / 1.229 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/1.093, allocations: 4 kB / 1.229 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009862/1.094, allocations: 488.1 kB / 1.229 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/1.094, allocations: 8 kB / 1.229 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/1.094, allocations: 8.75 kB / 1.229 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.335e-05/1.094, allocations: 8 kB / 1.229 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003393/1.094, allocations: 99.95 kB / 1.23 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.346e-05/1.094, allocations: 23.91 kB / 1.23 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007176/1.095, allocations: 123 kB / 1.23 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.548e-05/1.095, allocations: 28.41 kB / 1.23 GB, free: 7.215 MB / 0.9825 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.0003174/1.096, allocations: 233.6 kB / 1.23 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001634/1.096, allocations: 71.16 kB / 1.23 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001172/1.096, allocations: 74.09 kB / 1.23 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/1.096, allocations: 0 / 1.23 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/1.096, allocations: 7.984 kB / 1.23 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/1.096, allocations: 3.938 kB / 1.23 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001529/1.097, allocations: 1.116 MB / 1.231 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.553e-06/1.097, allocations: 4.312 kB / 1.231 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.074e-05/1.097, allocations: 31.92 kB / 1.231 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/1.097, allocations: 0 / 1.231 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/1.098, allocations: 4 kB / 1.231 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.369e-06/1.098, allocations: 4 kB / 1.231 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/1.098, allocations: 4 kB / 1.231 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003478/1.098, allocations: 259.8 kB / 1.231 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002309/1.098, allocations: 176.1 kB / 1.232 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.659e-05/1.098, allocations: 4 kB / 1.232 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003361/1.099, allocations: 19.98 kB / 1.232 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.962e-05/1.099, allocations: 15.92 kB / 1.232 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/1.099, allocations: 8 kB / 1.232 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000942/1.1, allocations: 0.581 MB / 1.232 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.41e-07/1.1, allocations: 0 / 1.232 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0006652/1.1, allocations: 155.8 kB / 1.232 GB, free: 4.301 MB / 0.9825 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.0005846/1.101, allocations: 207 kB / 1.233 GB, free: 4.105 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006035/1.101, allocations: 237.1 kB / 1.233 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/1.101, allocations: 0 / 1.233 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.313e-05/1.102, allocations: 48.53 kB / 1.233 GB, free: 3.828 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001735/1.103, allocations: 381.1 kB / 1.233 GB, free: 3.465 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001979/1.105, allocations: 1.252 MB / 1.234 GB, free: 2.152 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006444/1.106, allocations: 0.937 MB / 1.235 GB, free: 1.188 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0005913/1.107, allocations: 142 kB / 1.235 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/1.107, allocations: 47.42 kB / 1.236 GB, free: 1 MB / 0.9825 GB Notification: Performance of SimCode: time 8.02e-07/1.107, allocations: 0 / 1.236 GB, free: 1 MB / 0.9825 GB Notification: Performance of Templates: time 0.02578/1.132, allocations: 11.62 MB / 1.247 GB, free: 5.594 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches