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.007323/0.007322, allocations: 99.53 kB / 15.73 MB, free: 5.594 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.001309/0.001309, allocations: 195.1 kB / 16.67 MB, free: 5.527 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.351/1.351, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.552/2.552, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 67.84 kB / 1.054 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9127/0.914, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.2064/1.12, allocations: 187.1 MB / 1.39 GB, free: 1.785 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01582/1.136, allocations: 13.03 MB / 1.403 GB, free: 4.715 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001519/1.138, allocations: 31.81 kB / 1.403 GB, free: 4.684 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001478/1.139, allocations: 413.3 kB / 1.404 GB, free: 4.277 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.003145/1.143, allocations: 0.9214 MB / 1.405 GB, free: 3.352 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002618/1.145, allocations: 0.7091 MB / 1.405 GB, free: 2.648 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002566/1.148, allocations: 1.508 MB / 1.407 GB, free: 1.133 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001008/1.149, allocations: 0.6603 MB / 1.407 GB, free: 472 kB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00446/1.153, allocations: 1.728 MB / 1.409 GB, free: 14.73 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001371/1.155, allocations: 0.5027 MB / 1.409 GB, free: 14.23 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 9.744e-05/1.155, allocations: 52 kB / 1.41 GB, free: 14.18 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00178/1.157, allocations: 0.877 MB / 1.41 GB, free: 13.3 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0002768/1.157, allocations: 279.2 kB / 1.411 GB, free: 13.03 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0003909/1.157, allocations: 382 kB / 1.411 GB, free: 12.65 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001654/1.159, allocations: 1.168 MB / 1.412 GB, free: 11.48 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/1.159, allocations: 4 kB / 1.412 GB, free: 11.48 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.064e-06/1.159, allocations: 0 / 1.412 GB, free: 11.48 MB / 1.139 GB Notification: Performance of Transformations before backend: time 9.678e-06/1.159, allocations: 0 / 1.412 GB, free: 11.48 MB / 1.139 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.001433/1.16, allocations: 1.057 MB / 1.413 GB, free: 10.37 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/1.16, allocations: 8.031 kB / 1.413 GB, free: 10.36 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009292/1.161, allocations: 194.8 kB / 1.413 GB, free: 10.17 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008468/1.162, allocations: 0.5519 MB / 1.414 GB, free: 9.574 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.68e-05/1.162, allocations: 45.31 kB / 1.414 GB, free: 9.531 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.315e-05/1.162, allocations: 56 kB / 1.414 GB, free: 9.477 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001084/1.163, allocations: 0.7789 MB / 1.415 GB, free: 8.586 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/1.163, allocations: 7.875 kB / 1.415 GB, free: 8.578 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.599e-05/1.164, allocations: 31.94 kB / 1.415 GB, free: 8.547 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.247e-05/1.164, allocations: 21 kB / 1.415 GB, free: 8.527 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008364/1.164, allocations: 465.7 kB / 1.415 GB, free: 8.074 MB / 1.139 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.003723/1.168, allocations: 4.378 MB / 1.42 GB, free: 3.465 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/1.168, allocations: 102.4 kB / 1.42 GB, free: 3.328 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/1.168, allocations: 71.59 kB / 1.42 GB, free: 3.246 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000172/1.169, allocations: 93.09 kB / 1.42 GB, free: 3.137 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/1.169, allocations: 46.48 kB / 1.42 GB, free: 3.082 MB / 1.139 GB Notification: Performance of pre-optimization done (n=10): time 2.044e-06/1.169, allocations: 0 / 1.42 GB, free: 3.082 MB / 1.139 GB Notification: Performance of matching and sorting (n=10): time 0.0006627/1.169, allocations: 244.9 kB / 1.42 GB, free: 2.836 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.186e-05/1.169, allocations: 136.5 kB / 1.42 GB, free: 2.672 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/1.17, allocations: 0.8369 MB / 1.421 GB, free: 1.824 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/1.17, allocations: 25.77 kB / 1.421 GB, free: 1.793 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003089/1.171, allocations: 406.8 kB / 1.421 GB, free: 1.391 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 4.884e-05/1.171, allocations: 35.55 kB / 1.422 GB, free: 1.355 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001346/1.171, allocations: 93.88 kB / 1.422 GB, free: 1.258 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001152/1.171, allocations: 321.9 kB / 1.422 GB, free: 0.9375 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000264/1.171, allocations: 116.7 kB / 1.422 GB, free: 0.8242 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004444/1.172, allocations: 362 kB / 1.422 GB, free: 364 kB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005426/1.172, allocations: 441.6 kB / 1.423 GB, free: 15.81 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/1.172, allocations: 8 kB / 1.423 GB, free: 15.8 MB / 1.154 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008549/1.173, allocations: 0.4891 MB / 1.423 GB, free: 15.31 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/1.173, allocations: 8 kB / 1.423 GB, free: 15.3 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/1.173, allocations: 8 kB / 1.423 GB, free: 15.29 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.65e-05/1.173, allocations: 12 kB / 1.423 GB, free: 15.28 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003025/1.174, allocations: 91.83 kB / 1.423 GB, free: 15.19 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.785e-05/1.174, allocations: 15.92 kB / 1.423 GB, free: 15.18 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000629/1.174, allocations: 123 kB / 1.424 GB, free: 15.05 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.113e-05/1.174, allocations: 27.94 kB / 1.424 GB, free: 15.03 MB / 1.154 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.0002558/1.175, allocations: 229.6 kB / 1.424 GB, free: 14.79 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001449/1.175, allocations: 71.16 kB / 1.424 GB, free: 14.72 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001158/1.175, allocations: 78.11 kB / 1.424 GB, free: 14.64 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/1.175, allocations: 4 kB / 1.424 GB, free: 14.64 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/1.175, allocations: 0 / 1.424 GB, free: 14.64 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/1.175, allocations: 4 kB / 1.424 GB, free: 14.63 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001278/1.176, allocations: 1.128 MB / 1.425 GB, free: 13.42 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/1.176, allocations: 4 kB / 1.425 GB, free: 13.41 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.193e-05/1.176, allocations: 19.98 kB / 1.425 GB, free: 13.39 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.646e-06/1.176, allocations: 0 / 1.425 GB, free: 13.39 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/1.176, allocations: 4 kB / 1.425 GB, free: 13.39 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/1.176, allocations: 8.312 kB / 1.425 GB, free: 13.38 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/1.176, allocations: 7.938 kB / 1.425 GB, free: 13.38 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002775/1.177, allocations: 259.8 kB / 1.425 GB, free: 13.07 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001943/1.177, allocations: 172.2 kB / 1.425 GB, free: 12.89 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.393e-05/1.177, allocations: 4 kB / 1.425 GB, free: 12.88 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003006/1.177, allocations: 19.98 kB / 1.425 GB, free: 12.86 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.525e-05/1.177, allocations: 19.86 kB / 1.426 GB, free: 12.84 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.714e-06/1.177, allocations: 4 kB / 1.426 GB, free: 12.84 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.000733/1.178, allocations: 0.5849 MB / 1.426 GB, free: 12.26 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.6e-07/1.178, allocations: 0 / 1.426 GB, free: 12.26 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.000558/1.179, allocations: 163.8 kB / 1.426 GB, free: 12.1 MB / 1.154 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.00047/1.179, allocations: 182.5 kB / 1.426 GB, free: 11.93 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0005095/1.18, allocations: 248.6 kB / 1.427 GB, free: 11.69 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/1.18, allocations: 0 / 1.427 GB, free: 11.69 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 6.511e-05/1.18, allocations: 49.28 kB / 1.427 GB, free: 11.64 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001473/1.181, allocations: 372 kB / 1.427 GB, free: 11.28 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001557/1.183, allocations: 1.057 MB / 1.428 GB, free: 10.16 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005153/1.183, allocations: 0.9409 MB / 1.429 GB, free: 9.195 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0004184/1.184, allocations: 150.1 kB / 1.429 GB, free: 9.047 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/1.184, allocations: 43.44 kB / 1.429 GB, free: 9.004 MB / 1.154 GB Notification: Performance of SimCode: time 2.9e-07/1.184, allocations: 0 / 1.429 GB, free: 9.004 MB / 1.154 GB Notification: Performance of Templates: time 0.02144/1.205, allocations: 11.82 MB / 1.441 GB, free: 13.38 MB / 1.17 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