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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001744/0.001744, allocations: 114 kB / 18.14 MB, free: 3.805 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002085/0.002085, allocations: 201.2 kB / 21.43 MB, free: 0.5234 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 225.6 MB / 250.2 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.84/2.84, allocations: 476.7 MB / 0.7637 GB, free: 10.05 MB / 0.6231 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 67.89 kB / 1.108 GB, free: 6.973 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8449/0.8469, allocations: 168.7 MB / 1.273 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.2538/1.101, allocations: 188.1 MB / 1.457 GB, free: 7.488 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.02075/1.121, allocations: 13.18 MB / 1.469 GB, free: 10.27 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001328/1.123, allocations: 31.81 kB / 1.469 GB, free: 10.24 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001668/1.124, allocations: 437.2 kB / 1.47 GB, free: 9.812 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002858/1.127, allocations: 0.9566 MB / 1.471 GB, free: 8.852 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002222/1.13, allocations: 0.7163 MB / 1.471 GB, free: 8.141 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002636/1.132, allocations: 1.512 MB / 1.473 GB, free: 6.625 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001061/1.133, allocations: 0.4907 MB / 1.473 GB, free: 6.121 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004369/1.138, allocations: 1.794 MB / 1.475 GB, free: 4.32 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001665/1.139, allocations: 0.5334 MB / 1.476 GB, free: 3.789 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001967/1.139, allocations: 52 kB / 1.476 GB, free: 3.738 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00208/1.142, allocations: 0.9081 MB / 1.477 GB, free: 2.828 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0004283/1.142, allocations: 291.1 kB / 1.477 GB, free: 2.543 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0006954/1.143, allocations: 386 kB / 1.477 GB, free: 2.164 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002442/1.145, allocations: 1.175 MB / 1.478 GB, free: 0.9844 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/1.145, allocations: 0 / 1.478 GB, free: 0.9844 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.144e-06/1.145, allocations: 0 / 1.478 GB, free: 0.9844 MB / 1.17 GB Notification: Performance of Transformations before backend: time 3.799e-05/1.145, allocations: 4 kB / 1.478 GB, free: 0.9805 MB / 1.17 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.002048/1.147, allocations: 1.074 MB / 1.479 GB, free: 15.86 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/1.147, allocations: 8.031 kB / 1.479 GB, free: 15.85 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001494/1.147, allocations: 102.5 kB / 1.48 GB, free: 15.74 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001067/1.148, allocations: 203.2 kB / 1.48 GB, free: 15.54 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001174/1.15, allocations: 0.5524 MB / 1.48 GB, free: 14.95 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.229e-05/1.15, allocations: 41.31 kB / 1.48 GB, free: 14.91 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.331e-05/1.15, allocations: 60 kB / 1.48 GB, free: 14.85 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00137/1.151, allocations: 0.7789 MB / 1.481 GB, free: 13.96 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.24e-05/1.151, allocations: 4 kB / 1.481 GB, free: 13.95 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.907e-05/1.151, allocations: 27.94 kB / 1.481 GB, free: 13.93 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-05/1.151, allocations: 21 kB / 1.481 GB, free: 13.91 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001016/1.152, allocations: 471.2 kB / 1.482 GB, free: 13.45 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.005034/1.157, allocations: 4.383 MB / 1.486 GB, free: 8.832 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/1.158, allocations: 114.4 kB / 1.486 GB, free: 8.684 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001176/1.158, allocations: 71.42 kB / 1.486 GB, free: 8.602 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001841/1.158, allocations: 97.09 kB / 1.486 GB, free: 8.488 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.022e-05/1.158, allocations: 38.56 kB / 1.486 GB, free: 8.441 MB / 1.186 GB Notification: Performance of pre-optimization done (n=10): time 2.084e-06/1.158, allocations: 0 / 1.486 GB, free: 8.441 MB / 1.186 GB Notification: Performance of matching and sorting (n=10): time 0.0007686/1.159, allocations: 245 kB / 1.487 GB, free: 8.195 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.279e-05/1.159, allocations: 132.5 kB / 1.487 GB, free: 8.035 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001741/1.16, allocations: 0.845 MB / 1.487 GB, free: 7.184 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 4.074e-05/1.16, allocations: 25.7 kB / 1.487 GB, free: 7.152 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004051/1.161, allocations: 411.7 kB / 1.488 GB, free: 6.746 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 4.503e-05/1.161, allocations: 39.69 kB / 1.488 GB, free: 6.707 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001614/1.161, allocations: 93.97 kB / 1.488 GB, free: 6.609 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002087/1.161, allocations: 321.9 kB / 1.488 GB, free: 6.289 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004122/1.162, allocations: 120.6 kB / 1.488 GB, free: 6.172 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007571/1.162, allocations: 357.7 kB / 1.489 GB, free: 5.707 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009688/1.163, allocations: 441.5 kB / 1.489 GB, free: 5.168 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.149e-05/1.163, allocations: 4 kB / 1.489 GB, free: 5.164 MB / 1.186 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001728/1.165, allocations: 0.5007 MB / 1.49 GB, free: 4.656 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.327e-05/1.165, allocations: 8 kB / 1.49 GB, free: 4.648 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.186e-05/1.165, allocations: 8 kB / 1.49 GB, free: 4.641 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.113e-05/1.165, allocations: 8 kB / 1.49 GB, free: 4.633 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000536/1.166, allocations: 96.48 kB / 1.49 GB, free: 4.539 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.061e-05/1.166, allocations: 23.92 kB / 1.49 GB, free: 4.516 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001181/1.167, allocations: 119.2 kB / 1.49 GB, free: 4.398 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.954e-05/1.167, allocations: 24 kB / 1.49 GB, free: 4.375 MB / 1.186 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.0005029/1.168, allocations: 237.6 kB / 1.49 GB, free: 4.133 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003153/1.168, allocations: 75.53 kB / 1.49 GB, free: 4.059 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002206/1.168, allocations: 74.17 kB / 1.49 GB, free: 3.984 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/1.168, allocations: 0 / 1.49 GB, free: 3.984 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/1.168, allocations: 4 kB / 1.49 GB, free: 3.98 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/1.168, allocations: 4.406 kB / 1.49 GB, free: 3.977 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002608/1.171, allocations: 1.12 MB / 1.491 GB, free: 2.766 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.421e-06/1.171, allocations: 320 / 1.491 GB, free: 2.766 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001461/1.171, allocations: 27.88 kB / 1.491 GB, free: 2.738 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.179e-05/1.171, allocations: 4 kB / 1.491 GB, free: 2.734 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.513e-05/1.171, allocations: 11.98 kB / 1.491 GB, free: 2.723 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/1.171, allocations: 0 / 1.491 GB, free: 2.723 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.513e-06/1.171, allocations: 4 kB / 1.491 GB, free: 2.719 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006131/1.172, allocations: 276 kB / 1.492 GB, free: 2.402 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004593/1.172, allocations: 168.6 kB / 1.492 GB, free: 2.219 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002253/1.172, allocations: 11.98 kB / 1.492 GB, free: 2.207 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006011/1.173, allocations: 19.98 kB / 1.492 GB, free: 2.188 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.197e-05/1.173, allocations: 7.938 kB / 1.492 GB, free: 2.18 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.949e-05/1.173, allocations: 8 kB / 1.492 GB, free: 2.172 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001557/1.174, allocations: 0.5927 MB / 1.493 GB, free: 1.582 MB / 1.186 GB Notification: Performance of sort global known variables: time 2.1e-07/1.174, allocations: 0 / 1.493 GB, free: 1.582 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001225/1.176, allocations: 151.8 kB / 1.493 GB, free: 1.434 MB / 1.186 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.001864/1.178, allocations: 0.894 MB / 1.494 GB, free: 0.4961 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0009955/1.179, allocations: 237.1 kB / 1.494 GB, free: 272 kB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/1.179, allocations: 0 / 1.494 GB, free: 272 kB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0001221/1.179, allocations: 43.86 kB / 1.494 GB, free: 228 kB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002839/1.182, allocations: 389.5 kB / 1.494 GB, free: 15.86 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01226/1.194, allocations: 5.477 MB / 1.5 GB, free: 10.02 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009721/1.195, allocations: 0.9331 MB / 1.5 GB, free: 9.059 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0008356/1.196, allocations: 146.1 kB / 1.501 GB, free: 8.914 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005112/1.196, allocations: 235.4 kB / 1.501 GB, free: 8.684 MB / 1.201 GB Notification: Performance of SimCode: time 1.132e-06/1.196, allocations: 0 / 1.501 GB, free: 8.684 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07498/1.271, allocations: 18.07 MB / 1.518 GB, free: 6.926 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.62/10.89, allocations: 8.094 kB / 1.518 GB, free: 6.922 MB / 1.217 GB " [Timeout remaining time 289] (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_2/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: 17.164962506387383]