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.006283/0.006284, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001419/0.001419, allocations: 187.4 kB / 16.67 MB, free: 5.977 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.291/1.291, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.707/2.707, allocations: 461.9 MB / 0.7348 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 71.78 kB / 1.054 GB, free: 7.641 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3139, allocations: 157.4 MB / 1.207 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.9225/1.236, allocations: 187.1 MB / 1.39 GB, free: 2.039 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01661/1.253, allocations: 13.03 MB / 1.403 GB, free: 7.484 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001346/1.255, allocations: 27.44 kB / 1.403 GB, free: 7.477 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001367/1.256, allocations: 409.7 kB / 1.403 GB, free: 7.137 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002472/1.258, allocations: 0.9283 MB / 1.404 GB, free: 6.406 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0019/1.26, allocations: 0.7056 MB / 1.405 GB, free: 5.883 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002187/1.263, allocations: 1.503 MB / 1.406 GB, free: 5.023 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009827/1.264, allocations: 0.6665 MB / 1.407 GB, free: 4.613 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004072/1.268, allocations: 1.723 MB / 1.409 GB, free: 3.477 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001462/1.269, allocations: 0.512 MB / 1.409 GB, free: 3.172 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 9.828e-05/1.269, allocations: 54.25 kB / 1.409 GB, free: 3.172 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00178/1.271, allocations: 0.8663 MB / 1.41 GB, free: 2.703 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002648/1.271, allocations: 282.9 kB / 1.41 GB, free: 2.516 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0004066/1.272, allocations: 387.9 kB / 1.411 GB, free: 2.27 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001653/1.273, allocations: 1.165 MB / 1.412 GB, free: 1.535 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/1.273, allocations: 5.094 kB / 1.412 GB, free: 1.531 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.512e-06/1.273, allocations: 0 / 1.412 GB, free: 1.531 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.194e-05/1.273, allocations: 4 kB / 1.412 GB, free: 1.527 MB / 1.092 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.001548/1.275, allocations: 1.054 MB / 1.413 GB, free: 0.6641 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.642e-05/1.275, allocations: 9.5 kB / 1.413 GB, free: 0.6641 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001204/1.275, allocations: 98.42 kB / 1.413 GB, free: 0.5781 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009467/1.276, allocations: 189.3 kB / 1.413 GB, free: 0.4922 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008871/1.277, allocations: 0.5525 MB / 1.414 GB, free: 36 kB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.748e-05/1.277, allocations: 46.06 kB / 1.414 GB, free: 16 kB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/1.277, allocations: 57.81 kB / 1.414 GB, free: 15.99 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001102/1.278, allocations: 0.7758 MB / 1.414 GB, free: 15.36 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/1.278, allocations: 6.344 kB / 1.414 GB, free: 15.36 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.881e-05/1.278, allocations: 31.69 kB / 1.414 GB, free: 15.34 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.17e-05/1.278, allocations: 24.69 kB / 1.415 GB, free: 15.34 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008311/1.279, allocations: 457 kB / 1.415 GB, free: 15.12 MB / 1.107 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.003653/1.283, allocations: 4.382 MB / 1.419 GB, free: 11.01 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/1.283, allocations: 97.55 kB / 1.419 GB, free: 10.9 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.511e-05/1.283, allocations: 76.47 kB / 1.419 GB, free: 10.84 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001618/1.283, allocations: 97.94 kB / 1.419 GB, free: 10.74 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/1.283, allocations: 41.83 kB / 1.42 GB, free: 10.7 MB / 1.107 GB Notification: Performance of pre-optimization done (n=10): time 2.194e-06/1.283, allocations: 0 / 1.42 GB, free: 10.7 MB / 1.107 GB Notification: Performance of matching and sorting (n=10): time 0.0006816/1.284, allocations: 241.1 kB / 1.42 GB, free: 10.56 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.462e-05/1.284, allocations: 135.2 kB / 1.42 GB, free: 10.4 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/1.285, allocations: 0.8311 MB / 1.421 GB, free: 9.941 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.594e-05/1.285, allocations: 32.36 kB / 1.421 GB, free: 9.906 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002926/1.286, allocations: 408 kB / 1.421 GB, free: 9.547 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 3.44e-05/1.286, allocations: 34.98 kB / 1.421 GB, free: 9.52 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000131/1.286, allocations: 90.25 kB / 1.421 GB, free: 9.461 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001127/1.286, allocations: 328.3 kB / 1.422 GB, free: 9.141 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002649/1.286, allocations: 115.9 kB / 1.422 GB, free: 9.086 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004379/1.287, allocations: 361.8 kB / 1.422 GB, free: 8.703 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000546/1.287, allocations: 445.1 kB / 1.422 GB, free: 8.281 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/1.287, allocations: 2.562 kB / 1.422 GB, free: 8.281 MB / 1.107 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009576/1.288, allocations: 0.5018 MB / 1.423 GB, free: 8.016 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/1.288, allocations: 8.844 kB / 1.423 GB, free: 8.016 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/1.288, allocations: 7.469 kB / 1.423 GB, free: 8.016 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.644e-05/1.288, allocations: 10.09 kB / 1.423 GB, free: 8.016 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003159/1.288, allocations: 96.98 kB / 1.423 GB, free: 7.992 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.739e-05/1.289, allocations: 13.55 kB / 1.423 GB, free: 7.988 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007352/1.289, allocations: 120.2 kB / 1.423 GB, free: 7.914 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.573e-05/1.289, allocations: 28.41 kB / 1.423 GB, free: 7.906 MB / 1.107 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.0002966/1.29, allocations: 223.8 kB / 1.423 GB, free: 7.727 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001591/1.29, allocations: 78.31 kB / 1.423 GB, free: 7.684 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001146/1.29, allocations: 74.05 kB / 1.424 GB, free: 7.637 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/1.29, allocations: 6.094 kB / 1.424 GB, free: 7.633 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/1.29, allocations: 2.375 kB / 1.424 GB, free: 7.633 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/1.29, allocations: 0 / 1.424 GB, free: 7.633 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00135/1.291, allocations: 1.12 MB / 1.425 GB, free: 6.637 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/1.291, allocations: 2.406 kB / 1.425 GB, free: 6.637 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.268e-05/1.291, allocations: 23.05 kB / 1.425 GB, free: 6.633 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/1.291, allocations: 2.719 kB / 1.425 GB, free: 6.633 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/1.291, allocations: 5.062 kB / 1.425 GB, free: 6.633 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/1.291, allocations: 6.031 kB / 1.425 GB, free: 6.629 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/1.291, allocations: 6.688 kB / 1.425 GB, free: 6.625 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002804/1.292, allocations: 260.3 kB / 1.425 GB, free: 6.402 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002373/1.292, allocations: 176 kB / 1.425 GB, free: 6.238 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.492e-05/1.292, allocations: 4.625 kB / 1.425 GB, free: 6.238 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00032/1.292, allocations: 18.48 kB / 1.425 GB, free: 6.23 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.093e-05/1.292, allocations: 20.61 kB / 1.425 GB, free: 6.215 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.705e-06/1.292, allocations: 5.281 kB / 1.425 GB, free: 6.215 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0007686/1.293, allocations: 0.5844 MB / 1.426 GB, free: 5.895 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.61e-07/1.293, allocations: 0 / 1.426 GB, free: 5.895 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0005841/1.294, allocations: 155.1 kB / 1.426 GB, free: 5.871 MB / 1.107 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.0008226/1.295, allocations: 0.8924 MB / 1.427 GB, free: 5.078 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0005337/1.295, allocations: 242.8 kB / 1.427 GB, free: 4.973 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/1.295, allocations: 320 / 1.427 GB, free: 4.973 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 6.381e-05/1.295, allocations: 48.7 kB / 1.427 GB, free: 4.949 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001598/1.297, allocations: 386.8 kB / 1.427 GB, free: 4.746 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007076/1.304, allocations: 5.44 MB / 1.433 GB, free: 14.99 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005303/1.305, allocations: 0.9331 MB / 1.434 GB, free: 14.03 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0005461/1.305, allocations: 146.1 kB / 1.434 GB, free: 13.89 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002718/1.305, allocations: 235.4 kB / 1.434 GB, free: 13.66 MB / 1.123 GB Notification: Performance of SimCode: time 8.81e-07/1.305, allocations: 0 / 1.434 GB, free: 13.66 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03868/1.344, allocations: 18.26 MB / 1.452 GB, free: 11.75 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.993/10.34, allocations: 10.41 kB / 1.452 GB, free: 11.75 MB / 1.139 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