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.001255/0.001255, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.304/1.304, allocations: 222.9 MB / 240.2 MB, free: 4.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.569/2.569, allocations: 461.9 MB / 0.7346 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001399, allocations: 65.45 kB / 0.8992 GB, free: 36.97 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.2789, allocations: 157.4 MB / 1.053 GB, free: 8.242 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.1801/0.459, allocations: 187.1 MB / 1.236 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.5314/0.9905, allocations: 13.01 MB / 1.248 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009879/0.9915, allocations: 29.06 kB / 1.248 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00122/0.9927, allocations: 416.7 kB / 1.249 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003882/0.9966, allocations: 0.9211 MB / 1.25 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00263/0.9993, allocations: 0.7048 MB / 1.25 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002932/1.002, allocations: 1.5 MB / 1.252 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001564/1.004, allocations: 0.6566 MB / 1.252 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00355/1.007, allocations: 1.719 MB / 1.254 GB, free: 2.594 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001215/1.009, allocations: 0.5077 MB / 1.255 GB, free: 2.594 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.143e-05/1.009, allocations: 53.09 kB / 1.255 GB, free: 2.594 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001412/1.01, allocations: 0.8685 MB / 1.256 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000281/1.01, allocations: 279.7 kB / 1.256 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003806/1.011, allocations: 384.3 kB / 1.256 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001353/1.012, allocations: 1.151 MB / 1.257 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/1.012, allocations: 3.812 kB / 1.257 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.184e-06/1.012, allocations: 0 / 1.257 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.039e-05/1.012, allocations: 2.078 kB / 1.257 GB, free: 2.508 MB / 0.9981 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.001286/1.013, allocations: 1.049 MB / 1.258 GB, free: 17.86 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/1.014, allocations: 12.22 kB / 1.258 GB, free: 17.86 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.436e-05/1.014, allocations: 103.1 kB / 1.258 GB, free: 17.82 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008204/1.014, allocations: 192.8 kB / 1.259 GB, free: 17.78 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000618/1.015, allocations: 0.5193 MB / 1.259 GB, free: 17.5 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003185/1.015, allocations: 103 kB / 1.259 GB, free: 17.5 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.012e-05/1.015, allocations: 61.41 kB / 1.259 GB, free: 17.5 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009561/1.016, allocations: 0.7765 MB / 1.26 GB, free: 17.19 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/1.016, allocations: 7.875 kB / 1.26 GB, free: 17.19 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.521e-05/1.017, allocations: 26.62 kB / 1.26 GB, free: 17.19 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.893e-05/1.017, allocations: 24.58 kB / 1.26 GB, free: 17.19 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008079/1.017, allocations: 474.4 kB / 1.261 GB, free: 17.19 MB / 1.014 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.00308/1.02, allocations: 4.404 MB / 1.265 GB, free: 13.87 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 9.519e-05/1.021, allocations: 107.7 kB / 1.265 GB, free: 13.78 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.11e-05/1.021, allocations: 72.66 kB / 1.265 GB, free: 13.75 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000149/1.021, allocations: 97.84 kB / 1.265 GB, free: 13.65 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/1.021, allocations: 39.3 kB / 1.265 GB, free: 13.61 MB / 1.014 GB Notification: Performance of pre-optimization done (n=10): time 1.432e-06/1.021, allocations: 0.8125 kB / 1.265 GB, free: 13.61 MB / 1.014 GB Notification: Performance of matching and sorting (n=10): time 0.00055/1.021, allocations: 248.2 kB / 1.265 GB, free: 13.54 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.326e-05/1.021, allocations: 135.9 kB / 1.265 GB, free: 13.38 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000938/1.022, allocations: 0.844 MB / 1.266 GB, free: 13.25 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/1.022, allocations: 29.27 kB / 1.266 GB, free: 13.21 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002267/1.023, allocations: 399.5 kB / 1.267 GB, free: 13.04 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.762e-05/1.023, allocations: 43.27 kB / 1.267 GB, free: 13.01 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/1.023, allocations: 94.39 kB / 1.267 GB, free: 12.99 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.088e-05/1.023, allocations: 324.3 kB / 1.267 GB, free: 12.68 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000309/1.023, allocations: 115 kB / 1.267 GB, free: 12.68 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004296/1.024, allocations: 369.5 kB / 1.268 GB, free: 12.38 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005292/1.024, allocations: 447.5 kB / 1.268 GB, free: 12.11 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.451e-06/1.024, allocations: 1.875 kB / 1.268 GB, free: 12.11 MB / 1.014 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009488/1.025, allocations: 0.5018 MB / 1.269 GB, free: 12.04 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/1.025, allocations: 8.438 kB / 1.269 GB, free: 12.04 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/1.025, allocations: 9.375 kB / 1.269 GB, free: 12.04 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/1.025, allocations: 9.75 kB / 1.269 GB, free: 12.04 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003273/1.026, allocations: 98.3 kB / 1.269 GB, free: 12.04 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.93e-05/1.026, allocations: 17.75 kB / 1.269 GB, free: 12.04 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000614/1.026, allocations: 123.2 kB / 1.269 GB, free: 12 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.12e-05/1.026, allocations: 26.72 kB / 1.269 GB, free: 12 MB / 1.014 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.0002265/1.027, allocations: 231.1 kB / 1.269 GB, free: 11.88 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/1.027, allocations: 75.66 kB / 1.269 GB, free: 11.84 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001037/1.027, allocations: 74 kB / 1.269 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/1.027, allocations: 4.922 kB / 1.269 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/1.027, allocations: 3.359 kB / 1.269 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/1.027, allocations: 1.406 kB / 1.269 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001239/1.028, allocations: 1.115 MB / 1.27 GB, free: 11.15 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/1.028, allocations: 2.125 kB / 1.27 GB, free: 11.15 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.121e-05/1.028, allocations: 23.88 kB / 1.27 GB, free: 11.14 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/1.028, allocations: 4.125 kB / 1.27 GB, free: 11.14 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/1.028, allocations: 10.55 kB / 1.27 GB, free: 11.14 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/1.028, allocations: 4.297 kB / 1.27 GB, free: 11.14 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/1.028, allocations: 6.922 kB / 1.27 GB, free: 11.14 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002861/1.028, allocations: 260 kB / 1.271 GB, free: 10.97 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001805/1.029, allocations: 181.7 kB / 1.271 GB, free: 10.83 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.364e-05/1.029, allocations: 7.484 kB / 1.271 GB, free: 10.83 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003165/1.029, allocations: 19.19 kB / 1.271 GB, free: 10.83 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.587e-05/1.029, allocations: 12.83 kB / 1.271 GB, free: 10.83 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.748e-06/1.029, allocations: 9.609 kB / 1.271 GB, free: 10.83 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008278/1.03, allocations: 0.5917 MB / 1.271 GB, free: 10.74 MB / 1.014 GB Notification: Performance of sort global known variables: time 8.92e-07/1.03, allocations: 0.8438 kB / 1.271 GB, free: 10.74 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005368/1.031, allocations: 158.8 kB / 1.272 GB, free: 10.73 MB / 1.014 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.0008062/1.031, allocations: 0.8811 MB / 1.272 GB, free: 10.02 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005441/1.032, allocations: 252.2 kB / 1.273 GB, free: 10.02 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/1.032, allocations: 1.219 kB / 1.273 GB, free: 10.02 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 6.325e-05/1.032, allocations: 52.06 kB / 1.273 GB, free: 10.02 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00154/1.034, allocations: 378.4 kB / 1.273 GB, free: 9.965 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007293/1.041, allocations: 5.732 MB / 1.279 GB, free: 7.426 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004601/1.041, allocations: 0.9359 MB / 1.28 GB, free: 6.727 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0005043/1.042, allocations: 146.5 kB / 1.28 GB, free: 6.715 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002366/1.042, allocations: 230.2 kB / 1.28 GB, free: 6.707 MB / 1.014 GB Notification: Performance of SimCode: time 2.1e-07/1.042, allocations: 1 kB / 1.28 GB, free: 6.707 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.311/6.353, allocations: 17.83 MB / 1.297 GB, free: 5.402 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.915/16.27, allocations: 6.219 kB / 1.297 GB, free: 5.402 MB / 1.014 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