Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_11_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.001269/0.001269, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001216/0.001216, allocations: 192.1 kB / 16.25 MB, free: 6.637 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.323/1.323, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.643/2.643, allocations: 469.8 MB / 0.7421 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001764/0.001764, allocations: 66.91 kB / 0.9082 GB, free: 34.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2401/0.2419, allocations: 159.2 MB / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.191/0.4329, allocations: 184.7 MB / 1.244 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.439/0.8719, allocations: 12.9 MB / 1.257 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007932/0.8728, allocations: 29.47 kB / 1.257 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008932/0.8737, allocations: 353.8 kB / 1.257 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001511/0.8752, allocations: 0.8643 MB / 1.258 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001292/0.8765, allocations: 0.635 MB / 1.258 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001216/0.8777, allocations: 1.493 MB / 1.26 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005899/0.8783, allocations: 0.6292 MB / 1.26 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002717/0.8811, allocations: 1.686 MB / 1.262 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001091/0.8822, allocations: 0.5433 MB / 1.263 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.888e-05/0.8822, allocations: 54 kB / 1.263 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001137/0.8834, allocations: 0.905 MB / 1.264 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002328/0.8836, allocations: 283 kB / 1.264 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002945/0.8839, allocations: 386.1 kB / 1.264 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001144/0.8851, allocations: 1.199 MB / 1.265 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.8851, allocations: 0 / 1.265 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8851, allocations: 1.688 kB / 1.265 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.468e-06/0.8851, allocations: 2.125 kB / 1.265 GB, free: 4.09 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.001242/0.8864, allocations: 1.051 MB / 1.266 GB, free: 19.44 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 2.982e-05/0.8864, allocations: 9.375 kB / 1.266 GB, free: 19.44 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.298e-05/0.8865, allocations: 98.59 kB / 1.266 GB, free: 19.4 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008266/0.8873, allocations: 193.2 kB / 1.267 GB, free: 19.36 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006107/0.8879, allocations: 0.5273 MB / 1.267 GB, free: 19.08 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003007/0.8882, allocations: 98.81 kB / 1.267 GB, free: 19.08 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.369e-05/0.8883, allocations: 54.91 kB / 1.267 GB, free: 19.08 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009197/0.8892, allocations: 0.7622 MB / 1.268 GB, free: 18.8 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.8893, allocations: 7.406 kB / 1.268 GB, free: 18.8 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.328e-05/0.8893, allocations: 28.22 kB / 1.268 GB, free: 18.8 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.496e-05/0.8893, allocations: 23.52 kB / 1.268 GB, free: 18.8 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007724/0.8901, allocations: 476.9 kB / 1.269 GB, free: 18.8 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.003252/0.8934, allocations: 4.159 MB / 1.273 GB, free: 15.72 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 8.64e-05/0.8935, allocations: 104.8 kB / 1.273 GB, free: 15.63 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.882e-05/0.8936, allocations: 76.03 kB / 1.273 GB, free: 15.6 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001531/0.8937, allocations: 96.05 kB / 1.273 GB, free: 15.5 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.8938, allocations: 42.2 kB / 1.273 GB, free: 15.46 MB / 1.014 GB Notification: Performance of pre-optimization done (n=10): time 1.362e-06/0.8938, allocations: 2.078 kB / 1.273 GB, free: 15.46 MB / 1.014 GB Notification: Performance of matching and sorting (n=10): time 0.0005859/0.8944, allocations: 244.4 kB / 1.273 GB, free: 15.39 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.133e-05/0.8944, allocations: 134.8 kB / 1.273 GB, free: 15.24 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001092/0.8955, allocations: 0.8411 MB / 1.274 GB, free: 15.09 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.804e-05/0.8956, allocations: 27.48 kB / 1.274 GB, free: 15.06 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002314/0.8958, allocations: 401.8 kB / 1.275 GB, free: 14.88 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.411e-05/0.8958, allocations: 34.55 kB / 1.275 GB, free: 14.86 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.896, allocations: 88.91 kB / 1.275 GB, free: 14.84 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.8961, allocations: 318.8 kB / 1.275 GB, free: 14.54 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002768/0.8964, allocations: 111.3 kB / 1.275 GB, free: 14.54 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003484/0.8967, allocations: 349 kB / 1.275 GB, free: 14.25 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004356/0.8972, allocations: 416.8 kB / 1.276 GB, free: 14 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.8972, allocations: 1.406 kB / 1.276 GB, free: 14 MB / 1.014 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000834/0.898, allocations: 486 kB / 1.276 GB, free: 13.94 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.8981, allocations: 8.844 kB / 1.276 GB, free: 13.94 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.8981, allocations: 8.734 kB / 1.276 GB, free: 13.94 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.8981, allocations: 9.812 kB / 1.276 GB, free: 13.94 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002934/0.8984, allocations: 95.02 kB / 1.276 GB, free: 13.94 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.528e-05/0.8984, allocations: 19.41 kB / 1.276 GB, free: 13.93 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006292/0.899, allocations: 129.3 kB / 1.277 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.934e-05/0.8991, allocations: 20.77 kB / 1.277 GB, free: 13.89 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (43): * Single equations (assignments): 43 * 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.000222/0.8993, allocations: 226.4 kB / 1.277 GB, free: 13.77 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/0.8995, allocations: 72.14 kB / 1.277 GB, free: 13.74 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.143e-05/0.8996, allocations: 71.48 kB / 1.277 GB, free: 13.72 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.8996, allocations: 1.938 kB / 1.277 GB, free: 13.72 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.8996, allocations: 7.938 kB / 1.277 GB, free: 13.72 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.8996, allocations: 1.922 kB / 1.277 GB, free: 13.72 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001199/0.9008, allocations: 1.128 MB / 1.278 GB, free: 13.04 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.9008, allocations: 3.219 kB / 1.278 GB, free: 13.04 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.241e-05/0.9009, allocations: 19.92 kB / 1.278 GB, free: 13.04 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.9009, allocations: 3.562 kB / 1.278 GB, free: 13.04 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.9009, allocations: 3.938 kB / 1.278 GB, free: 13.04 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.9009, allocations: 5.578 kB / 1.278 GB, free: 13.04 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.808e-06/0.9009, allocations: 5.781 kB / 1.278 GB, free: 13.04 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002469/0.9012, allocations: 269.5 kB / 1.278 GB, free: 12.86 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001833/0.9014, allocations: 166.5 kB / 1.278 GB, free: 12.73 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.206e-05/0.9015, allocations: 6.609 kB / 1.278 GB, free: 12.73 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003216/0.9018, allocations: 23.36 kB / 1.279 GB, free: 12.73 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.287e-05/0.9018, allocations: 16.45 kB / 1.279 GB, free: 12.72 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.375e-06/0.9018, allocations: 7.656 kB / 1.279 GB, free: 12.72 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007732/0.9026, allocations: 0.585 MB / 1.279 GB, free: 12.63 MB / 1.014 GB Notification: Performance of sort global known variables: time 9.92e-07/0.9026, allocations: 0.8125 kB / 1.279 GB, free: 12.63 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005797/0.9032, allocations: 152.1 kB / 1.279 GB, free: 12.62 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.0008849/0.9041, allocations: 0.8947 MB / 1.28 GB, free: 11.91 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005475/0.9047, allocations: 238.9 kB / 1.28 GB, free: 11.9 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.9047, allocations: 1.719 kB / 1.28 GB, free: 11.9 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 7.754e-05/0.9048, allocations: 47.89 kB / 1.28 GB, free: 11.9 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001468/0.9062, allocations: 392.4 kB / 1.281 GB, free: 11.84 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006696/0.9129, allocations: 5.787 MB / 1.286 GB, free: 9.164 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005336/0.9135, allocations: 0.9377 MB / 1.287 GB, free: 8.465 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0005019/0.914, allocations: 135.1 kB / 1.287 GB, free: 8.453 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002186/0.9142, allocations: 229.9 kB / 1.288 GB, free: 8.445 MB / 1.014 GB Notification: Performance of SimCode: time 3.81e-07/0.9142, allocations: 0 / 1.288 GB, free: 8.445 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.951/2.866, allocations: 17.56 MB / 1.305 GB, free: 7.262 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.1308/2.996, allocations: 283.5 kB / 1.305 GB, free: 6.879 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.177/6.174, allocations: 3.094 kB / 1.305 GB, free: 6.879 MB / 1.014 GB (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState_fmu --startTime=0 --stopTime=2 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches