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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00574/0.00574, allocations: 103.1 kB / 15.73 MB, free: 6.004 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.00132/0.00132, allocations: 193.8 kB / 16.68 MB, free: 5.93 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.392/1.392, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.678/2.678, allocations: 461.9 MB / 0.7348 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001409, allocations: 67.89 kB / 1.054 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9392/0.9406, allocations: 157.4 MB / 1.207 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.2149/1.156, allocations: 187.1 MB / 1.39 GB, free: 1.734 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01823/1.174, allocations: 13.02 MB / 1.403 GB, free: 4.68 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001305/1.175, allocations: 35.81 kB / 1.403 GB, free: 4.645 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001562/1.177, allocations: 417.2 kB / 1.403 GB, free: 4.234 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.003032/1.18, allocations: 0.9174 MB / 1.404 GB, free: 3.312 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002238/1.182, allocations: 0.705 MB / 1.405 GB, free: 2.613 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002401/1.185, allocations: 1.508 MB / 1.406 GB, free: 1.098 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001178/1.186, allocations: 0.6508 MB / 1.407 GB, free: 444 kB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004257/1.19, allocations: 1.739 MB / 1.409 GB, free: 14.69 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001473/1.192, allocations: 0.5 MB / 1.409 GB, free: 14.19 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001845/1.192, allocations: 56 kB / 1.409 GB, free: 14.14 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001846/1.194, allocations: 0.877 MB / 1.41 GB, free: 13.26 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0004094/1.194, allocations: 279.2 kB / 1.41 GB, free: 12.98 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0007066/1.195, allocations: 390 kB / 1.411 GB, free: 12.6 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002672/1.198, allocations: 1.164 MB / 1.412 GB, free: 11.43 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/1.198, allocations: 0 / 1.412 GB, free: 11.43 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.044e-06/1.198, allocations: 0 / 1.412 GB, free: 11.43 MB / 1.139 GB Notification: Performance of Transformations before backend: time 3.737e-05/1.198, allocations: 0 / 1.412 GB, free: 11.43 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.002039/1.2, allocations: 1.059 MB / 1.413 GB, free: 10.32 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/1.2, allocations: 12.03 kB / 1.413 GB, free: 10.31 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001304/1.2, allocations: 94.52 kB / 1.413 GB, free: 10.21 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001077/1.201, allocations: 190.9 kB / 1.413 GB, free: 10.02 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00115/1.202, allocations: 0.5558 MB / 1.414 GB, free: 9.426 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.578e-05/1.202, allocations: 41.31 kB / 1.414 GB, free: 9.387 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.723e-05/1.202, allocations: 56 kB / 1.414 GB, free: 9.332 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001261/1.204, allocations: 0.775 MB / 1.414 GB, free: 8.445 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/1.204, allocations: 3.938 kB / 1.414 GB, free: 8.441 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.913e-05/1.204, allocations: 35.86 kB / 1.414 GB, free: 8.406 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.969e-05/1.204, allocations: 28.98 kB / 1.414 GB, free: 8.379 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009249/1.205, allocations: 459.3 kB / 1.415 GB, free: 7.926 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.004406/1.209, allocations: 4.384 MB / 1.419 GB, free: 3.312 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001495/1.209, allocations: 110.4 kB / 1.419 GB, free: 3.168 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/1.209, allocations: 71.5 kB / 1.419 GB, free: 3.086 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001778/1.21, allocations: 93.09 kB / 1.419 GB, free: 2.977 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.547e-05/1.21, allocations: 42.5 kB / 1.42 GB, free: 2.926 MB / 1.139 GB Notification: Performance of pre-optimization done (n=10): time 2.284e-06/1.21, allocations: 4 kB / 1.42 GB, free: 2.922 MB / 1.139 GB Notification: Performance of matching and sorting (n=10): time 0.0007683/1.21, allocations: 236.5 kB / 1.42 GB, free: 2.684 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.294e-05/1.21, allocations: 128.5 kB / 1.42 GB, free: 2.527 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001249/1.212, allocations: 0.845 MB / 1.421 GB, free: 1.672 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 4.559e-05/1.212, allocations: 33.7 kB / 1.421 GB, free: 1.633 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003244/1.212, allocations: 398.8 kB / 1.421 GB, free: 1.238 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 4.32e-05/1.212, allocations: 39.55 kB / 1.421 GB, free: 1.199 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000134/1.212, allocations: 89.88 kB / 1.421 GB, free: 1.105 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001204/1.212, allocations: 329.9 kB / 1.422 GB, free: 0.7773 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002606/1.213, allocations: 104.7 kB / 1.422 GB, free: 0.6758 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000455/1.213, allocations: 366 kB / 1.422 GB, free: 208 kB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006017/1.214, allocations: 441.6 kB / 1.422 GB, free: 15.66 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/1.214, allocations: 0 / 1.422 GB, free: 15.66 MB / 1.154 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001076/1.215, allocations: 0.4966 MB / 1.423 GB, free: 15.16 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.991e-05/1.215, allocations: 8 kB / 1.423 GB, free: 15.15 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.863e-05/1.215, allocations: 8 kB / 1.423 GB, free: 15.14 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.324e-05/1.215, allocations: 12.72 kB / 1.423 GB, free: 15.13 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003516/1.215, allocations: 103.8 kB / 1.423 GB, free: 15.03 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.793e-05/1.215, allocations: 11.94 kB / 1.423 GB, free: 15.02 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008149/1.216, allocations: 119 kB / 1.423 GB, free: 14.9 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.418e-05/1.216, allocations: 27.98 kB / 1.423 GB, free: 14.87 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.000388/1.217, allocations: 225.6 kB / 1.423 GB, free: 14.64 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002393/1.217, allocations: 71.16 kB / 1.423 GB, free: 14.57 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001796/1.217, allocations: 70.17 kB / 1.424 GB, free: 14.5 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/1.217, allocations: 4 kB / 1.424 GB, free: 14.49 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/1.217, allocations: 0 / 1.424 GB, free: 14.49 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/1.217, allocations: 3.938 kB / 1.424 GB, free: 14.49 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001828/1.219, allocations: 1.128 MB / 1.425 GB, free: 13.27 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.286e-06/1.219, allocations: 8.031 kB / 1.425 GB, free: 13.27 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/1.219, allocations: 15.98 kB / 1.425 GB, free: 13.25 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.024e-05/1.219, allocations: 7.938 kB / 1.425 GB, free: 13.24 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/1.219, allocations: 4.125 kB / 1.425 GB, free: 13.24 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.443e-06/1.219, allocations: 8 kB / 1.425 GB, free: 13.23 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/1.219, allocations: 7.875 kB / 1.425 GB, free: 13.22 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003442/1.22, allocations: 267.8 kB / 1.425 GB, free: 12.91 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002554/1.22, allocations: 168.2 kB / 1.425 GB, free: 12.73 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001412/1.22, allocations: 8 kB / 1.425 GB, free: 12.72 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003382/1.22, allocations: 11.98 kB / 1.425 GB, free: 12.71 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.06e-05/1.22, allocations: 23.86 kB / 1.425 GB, free: 12.69 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/1.22, allocations: 4 kB / 1.425 GB, free: 12.68 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0007959/1.221, allocations: 0.5888 MB / 1.426 GB, free: 12.1 MB / 1.154 GB Notification: Performance of sort global known variables: time 2.3e-07/1.221, allocations: 0 / 1.426 GB, free: 12.1 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0006365/1.222, allocations: 155.8 kB / 1.426 GB, free: 11.95 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.0009429/1.223, allocations: 0.887 MB / 1.427 GB, free: 11.02 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0005806/1.223, allocations: 241.2 kB / 1.427 GB, free: 10.79 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/1.223, allocations: 0 / 1.427 GB, free: 10.79 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 7.424e-05/1.223, allocations: 51.84 kB / 1.427 GB, free: 10.73 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001686/1.225, allocations: 367.4 kB / 1.427 GB, free: 10.38 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008068/1.233, allocations: 5.451 MB / 1.433 GB, free: 4.578 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005044/1.234, allocations: 0.937 MB / 1.434 GB, free: 3.613 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0005708/1.234, allocations: 154.1 kB / 1.434 GB, free: 3.461 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000312/1.235, allocations: 227.4 kB / 1.434 GB, free: 3.238 MB / 1.154 GB Notification: Performance of SimCode: time 1.413e-06/1.235, allocations: 0 / 1.434 GB, free: 3.238 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04546/1.28, allocations: 18.27 MB / 1.452 GB, free: 1.344 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.853/10.13, allocations: 10.47 kB / 1.452 GB, free: 1.336 MB / 1.17 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > 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