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.001355/0.001355, allocations: 116.2 kB / 16.42 MB, free: 6.492 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.001491/0.001492, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.327/1.327, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.582/2.582, allocations: 469.4 MB / 0.7428 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 63.91 kB / 1.066 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6956/0.6969, allocations: 159.1 MB / 1.221 GB, free: 2.367 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.1797/0.8767, allocations: 187.1 MB / 1.404 GB, free: 6.566 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01484/0.8916, allocations: 13.03 MB / 1.416 GB, free: 9.504 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001038/0.8926, allocations: 31.81 kB / 1.416 GB, free: 9.473 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001366/0.894, allocations: 421.3 kB / 1.417 GB, free: 9.059 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002424/0.8965, allocations: 0.9566 MB / 1.418 GB, free: 8.098 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001885/0.8984, allocations: 0.7197 MB / 1.418 GB, free: 7.383 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001953/0.9004, allocations: 1.52 MB / 1.42 GB, free: 5.859 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009848/0.9014, allocations: 0.6487 MB / 1.421 GB, free: 5.195 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003721/0.9051, allocations: 1.786 MB / 1.422 GB, free: 3.402 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00135/0.9065, allocations: 0.4965 MB / 1.423 GB, free: 2.91 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001451/0.9066, allocations: 56 kB / 1.423 GB, free: 2.855 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00166/0.9083, allocations: 0.877 MB / 1.424 GB, free: 1.977 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003235/0.9086, allocations: 279.2 kB / 1.424 GB, free: 1.703 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0005032/0.9091, allocations: 386 kB / 1.424 GB, free: 1.324 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.00168/0.9108, allocations: 1.168 MB / 1.425 GB, free: 156 kB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.9108, allocations: 0 / 1.425 GB, free: 156 kB / 1.139 GB Notification: Performance of FrontEnd: time 1.322e-06/0.9108, allocations: 4 kB / 1.425 GB, free: 152 kB / 1.139 GB Notification: Performance of Transformations before backend: time 3.645e-05/0.9109, allocations: 0 / 1.425 GB, free: 152 kB / 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.001688/0.9126, allocations: 1.054 MB / 1.426 GB, free: 15.04 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.9126, allocations: 8.625 kB / 1.426 GB, free: 15.04 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009847/0.9136, allocations: 190.8 kB / 1.427 GB, free: 14.85 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009074/0.9145, allocations: 0.5519 MB / 1.427 GB, free: 14.26 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.221e-05/0.9146, allocations: 49.31 kB / 1.427 GB, free: 14.21 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.621e-05/0.9147, allocations: 52 kB / 1.427 GB, free: 14.16 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001133/0.9158, allocations: 0.7789 MB / 1.428 GB, free: 13.27 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.9158, allocations: 7.938 kB / 1.428 GB, free: 13.26 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.517e-05/0.9159, allocations: 31.94 kB / 1.428 GB, free: 13.23 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.251e-05/0.9159, allocations: 21 kB / 1.428 GB, free: 13.21 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000905/0.9169, allocations: 463.3 kB / 1.429 GB, free: 12.76 MB / 1.154 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.003561/0.9204, allocations: 4.378 MB / 1.433 GB, free: 8.148 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/0.9206, allocations: 98.36 kB / 1.433 GB, free: 8.016 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.277e-05/0.9207, allocations: 75.53 kB / 1.433 GB, free: 7.93 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001595/0.9208, allocations: 101.1 kB / 1.433 GB, free: 7.812 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.9209, allocations: 38.48 kB / 1.433 GB, free: 7.766 MB / 1.154 GB Notification: Performance of pre-optimization done (n=10): time 1.683e-06/0.9209, allocations: 0 / 1.433 GB, free: 7.766 MB / 1.154 GB Notification: Performance of matching and sorting (n=10): time 0.000645/0.9215, allocations: 248.7 kB / 1.433 GB, free: 7.516 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.461e-05/0.9216, allocations: 128.5 kB / 1.434 GB, free: 7.359 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/0.9226, allocations: 0.8408 MB / 1.434 GB, free: 6.512 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.486e-05/0.9226, allocations: 29.7 kB / 1.434 GB, free: 6.477 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002589/0.9229, allocations: 406.9 kB / 1.435 GB, free: 6.074 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 3.146e-05/0.9229, allocations: 43.45 kB / 1.435 GB, free: 6.031 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000122/0.9231, allocations: 85.97 kB / 1.435 GB, free: 5.941 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 9.807e-05/0.9232, allocations: 321.9 kB / 1.435 GB, free: 5.621 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002696/0.9234, allocations: 112.7 kB / 1.435 GB, free: 5.512 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004157/0.9239, allocations: 362 kB / 1.436 GB, free: 5.043 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005167/0.9244, allocations: 441.5 kB / 1.436 GB, free: 4.504 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.798e-06/0.9244, allocations: 3.938 kB / 1.436 GB, free: 4.5 MB / 1.154 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008711/0.9253, allocations: 0.4973 MB / 1.437 GB, free: 3.996 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.9253, allocations: 8 kB / 1.437 GB, free: 3.988 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.9253, allocations: 8 kB / 1.437 GB, free: 3.98 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.9254, allocations: 12 kB / 1.437 GB, free: 3.969 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003129/0.9257, allocations: 91.83 kB / 1.437 GB, free: 3.879 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.782e-05/0.9257, allocations: 20.05 kB / 1.437 GB, free: 3.859 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006243/0.9263, allocations: 115 kB / 1.437 GB, free: 3.746 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.877e-05/0.9264, allocations: 24 kB / 1.437 GB, free: 3.723 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.0002321/0.9266, allocations: 237.5 kB / 1.437 GB, free: 3.48 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001402/0.9268, allocations: 75.19 kB / 1.437 GB, free: 3.406 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001056/0.9269, allocations: 74.17 kB / 1.437 GB, free: 3.328 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.9269, allocations: 4 kB / 1.437 GB, free: 3.324 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.9269, allocations: 4 kB / 1.437 GB, free: 3.32 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002085/0.9271, allocations: 164.1 kB / 1.437 GB, free: 3.141 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.692e-05/0.9272, allocations: 11.94 kB / 1.437 GB, free: 3.129 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004401/0.9277, allocations: 15.97 kB / 1.437 GB, free: 3.113 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.426e-05/0.9277, allocations: 4 kB / 1.437 GB, free: 3.109 MB / 1.154 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002713/0.928, allocations: 430.6 kB / 1.438 GB, free: 2.68 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003179/0.9283, allocations: 0.5699 MB / 1.438 GB, free: 2.09 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.901e-05/0.9284, allocations: 47.91 kB / 1.438 GB, free: 2.043 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0007417/0.9291, allocations: 0.581 MB / 1.439 GB, free: 1.465 MB / 1.154 GB Notification: Performance of Backend: time 5.61e-07/0.9291, allocations: 0 / 1.439 GB, free: 1.465 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0016/0.9307, allocations: 492.5 kB / 1.439 GB, free: 1 MB / 1.154 GB Notification: Performance of SimCode: time 0.002683/0.9334, allocations: 1.798 MB / 1.441 GB, free: 15.15 MB / 1.17 GB Notification: Performance of Templates: time 0.02158/0.955, allocations: 13.94 MB / 1.455 GB, free: 1.406 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/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