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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 101.5 kB / 19.73 MB, free: 2.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002063/0.002063, allocations: 209.6 kB / 23.04 MB, free: 5.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.615/1.615, allocations: 230.6 MB / 256.8 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.849/2.849, allocations: 476.7 MB / 0.7715 GB, free: 4.32 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 63.12 kB / 1.118 GB, free: 39.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3344, allocations: 170 MB / 1.284 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.2482/0.5826, allocations: 191 MB / 1.471 GB, free: 11.83 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01884/0.6014, allocations: 13.2 MB / 1.484 GB, free: 14.59 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001312/0.6027, allocations: 39.69 kB / 1.484 GB, free: 14.55 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.00163/0.6044, allocations: 433.2 kB / 1.484 GB, free: 14.12 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002914/0.6073, allocations: 0.9761 MB / 1.485 GB, free: 13.14 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002497/0.6098, allocations: 0.7356 MB / 1.486 GB, free: 12.41 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002801/0.6126, allocations: 1.539 MB / 1.487 GB, free: 10.87 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009416/0.6135, allocations: 499.1 kB / 1.488 GB, free: 10.37 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00469/0.6182, allocations: 1.818 MB / 1.489 GB, free: 8.543 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001744/0.62, allocations: 0.5448 MB / 1.49 GB, free: 8.004 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001379/0.6201, allocations: 56 kB / 1.49 GB, free: 7.949 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002148/0.6222, allocations: 0.9198 MB / 1.491 GB, free: 7.027 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0004172/0.6227, allocations: 283.2 kB / 1.491 GB, free: 6.75 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0005768/0.6232, allocations: 390 kB / 1.492 GB, free: 6.367 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002321/0.6256, allocations: 1.179 MB / 1.493 GB, free: 5.184 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.6256, allocations: 3.938 kB / 1.493 GB, free: 5.18 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.114e-06/0.6256, allocations: 0 / 1.493 GB, free: 5.18 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.803e-05/0.6256, allocations: 0 / 1.493 GB, free: 5.18 MB / 1.186 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.001808/0.6274, allocations: 0.9984 MB / 1.494 GB, free: 4.145 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.6274, allocations: 8.031 kB / 1.494 GB, free: 4.137 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.644e-05/0.6275, allocations: 17.31 kB / 1.494 GB, free: 4.121 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001283/0.6276, allocations: 110.4 kB / 1.494 GB, free: 4.004 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001011/0.6286, allocations: 191.3 kB / 1.494 GB, free: 3.816 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001074/0.6297, allocations: 499.8 kB / 1.495 GB, free: 3.297 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.985e-05/0.6298, allocations: 41.31 kB / 1.495 GB, free: 3.258 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.065e-05/0.6298, allocations: 63.97 kB / 1.495 GB, free: 3.195 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001313/0.6312, allocations: 0.7789 MB / 1.495 GB, free: 2.305 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.609e-05/0.6312, allocations: 11.88 kB / 1.495 GB, free: 2.293 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.587e-05/0.6312, allocations: 24 kB / 1.495 GB, free: 2.27 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.676e-05/0.6313, allocations: 24.98 kB / 1.495 GB, free: 2.246 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009834/0.6323, allocations: 459.3 kB / 1.496 GB, free: 1.797 MB / 1.186 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.004628/0.6369, allocations: 4.331 MB / 1.5 GB, free: 13.25 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001588/0.637, allocations: 106.4 kB / 1.5 GB, free: 13.11 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.6372, allocations: 67.5 kB / 1.5 GB, free: 13.03 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001395/0.6373, allocations: 23.98 kB / 1.5 GB, free: 13 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/0.6373, allocations: 34.56 kB / 1.5 GB, free: 12.96 MB / 1.201 GB Notification: Performance of pre-optimization done (n=10): time 1.993e-06/0.6373, allocations: 0 / 1.5 GB, free: 12.96 MB / 1.201 GB Notification: Performance of matching and sorting (n=10): time 0.0007608/0.6381, allocations: 249.2 kB / 1.501 GB, free: 12.71 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/0.6382, allocations: 140.5 kB / 1.501 GB, free: 12.54 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001293/0.6395, allocations: 0.8369 MB / 1.502 GB, free: 11.7 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.581e-05/0.6395, allocations: 29.7 kB / 1.502 GB, free: 11.66 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.00038/0.6399, allocations: 411.6 kB / 1.502 GB, free: 11.25 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 4.443e-05/0.64, allocations: 47.69 kB / 1.502 GB, free: 11.21 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001706/0.6401, allocations: 89.97 kB / 1.502 GB, free: 11.11 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001726/0.6403, allocations: 322 kB / 1.502 GB, free: 10.79 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002923/0.6406, allocations: 108.7 kB / 1.502 GB, free: 10.69 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005166/0.6411, allocations: 373.5 kB / 1.503 GB, free: 10.21 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006264/0.6417, allocations: 437.5 kB / 1.503 GB, free: 9.672 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.6417, allocations: 4 kB / 1.503 GB, free: 9.668 MB / 1.201 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001028/0.6428, allocations: 0.4972 MB / 1.504 GB, free: 9.164 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.842e-05/0.6428, allocations: 8 kB / 1.504 GB, free: 9.156 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/0.6428, allocations: 16.03 kB / 1.504 GB, free: 9.141 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.517e-05/0.6428, allocations: 12 kB / 1.504 GB, free: 9.129 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003608/0.6432, allocations: 95.83 kB / 1.504 GB, free: 9.035 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.892e-05/0.6432, allocations: 15.92 kB / 1.504 GB, free: 9.02 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006771/0.6439, allocations: 119.7 kB / 1.504 GB, free: 8.902 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.17e-05/0.6439, allocations: 24 kB / 1.504 GB, free: 8.879 MB / 1.201 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.0003078/0.6443, allocations: 231.4 kB / 1.504 GB, free: 8.645 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001643/0.6444, allocations: 83.48 kB / 1.504 GB, free: 8.562 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001162/0.6445, allocations: 66.27 kB / 1.504 GB, free: 8.496 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.6445, allocations: 7.984 kB / 1.504 GB, free: 8.488 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.6445, allocations: 4 kB / 1.504 GB, free: 8.484 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.6446, allocations: 7.938 kB / 1.504 GB, free: 8.477 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001465/0.646, allocations: 1.084 MB / 1.505 GB, free: 7.309 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-06/0.646, allocations: 4.125 kB / 1.505 GB, free: 7.305 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.978e-05/0.6461, allocations: 27.94 kB / 1.505 GB, free: 7.277 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.6461, allocations: 0 / 1.505 GB, free: 7.277 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.6461, allocations: 4 kB / 1.505 GB, free: 7.273 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.6461, allocations: 4 kB / 1.505 GB, free: 7.27 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.6461, allocations: 4 kB / 1.506 GB, free: 7.266 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003311/0.6465, allocations: 272.5 kB / 1.506 GB, free: 6.953 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002111/0.6467, allocations: 103.4 kB / 1.506 GB, free: 6.852 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.626e-05/0.6468, allocations: 4 kB / 1.506 GB, free: 6.848 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000343/0.6471, allocations: 15.98 kB / 1.506 GB, free: 6.832 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.268e-05/0.6472, allocations: 19.92 kB / 1.506 GB, free: 6.812 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.256e-06/0.6472, allocations: 4 kB / 1.506 GB, free: 6.809 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0008629/0.648, allocations: 0.5849 MB / 1.506 GB, free: 6.227 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.648, allocations: 0 / 1.506 GB, free: 6.227 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0006057/0.6486, allocations: 155.8 kB / 1.507 GB, free: 6.074 MB / 1.201 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.0009586/0.6496, allocations: 0.8739 MB / 1.507 GB, free: 5.152 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0005686/0.6502, allocations: 241 kB / 1.508 GB, free: 4.918 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.6502, allocations: 0 / 1.508 GB, free: 4.918 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 7.183e-05/0.6502, allocations: 48.66 kB / 1.508 GB, free: 4.871 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001738/0.652, allocations: 384 kB / 1.508 GB, free: 4.5 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008695/0.6607, allocations: 5.47 MB / 1.513 GB, free: 14.68 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006473/0.6613, allocations: 0.9408 MB / 1.514 GB, free: 13.71 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0006423/0.662, allocations: 154 kB / 1.515 GB, free: 13.55 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000346/0.6623, allocations: 231.4 kB / 1.515 GB, free: 13.33 MB / 1.217 GB Notification: Performance of SimCode: time 1.031e-06/0.6623, allocations: 0 / 1.515 GB, free: 13.33 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0495/0.7118, allocations: 18.42 MB / 1.533 GB, free: 11.28 MB / 1.233 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.99/13.7, allocations: 5.562 kB / 1.533 GB, free: 11.27 MB / 1.233 GB " [Timeout remaining time 286] (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 --stepSize=0.0008 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) [Timeout 420.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.814315839961637]