Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001339/0.001339, allocations: 111.7 kB / 17.13 MB, free: 5.926 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.00138/0.00138, allocations: 204 kB / 20.09 MB, free: 2.977 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.468/1.468, allocations: 230.6 MB / 253.5 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.826/2.826, allocations: 0.49 GB / 0.7923 GB, free: 1.281 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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: translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|const.k|cheEquTra2.y|cheEquTra1.y",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|const.k|cheEquTra2.y|cheEquTra1.y",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") [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.001978/0.001978, allocations: 75.88 kB / 1.15 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9149/0.9169, allocations: 176.1 MB / 1.322 GB, free: 24.99 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.2295/1.146, allocations: 190.7 MB / 1.508 GB, free: 10.43 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01742/1.164, allocations: 13.11 MB / 1.521 GB, free: 13.28 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001415/1.165, allocations: 39.69 kB / 1.521 GB, free: 13.24 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001547/1.167, allocations: 429.2 kB / 1.521 GB, free: 12.82 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.00279/1.17, allocations: 0.9605 MB / 1.522 GB, free: 11.86 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002093/1.172, allocations: 0.7116 MB / 1.523 GB, free: 11.15 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002447/1.174, allocations: 1.485 MB / 1.525 GB, free: 9.66 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008984/1.175, allocations: 0.5532 MB / 1.525 GB, free: 9.094 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004204/1.179, allocations: 1.888 MB / 1.527 GB, free: 7.199 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001537/1.181, allocations: 0.5183 MB / 1.527 GB, free: 6.684 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001314/1.181, allocations: 55.94 kB / 1.528 GB, free: 6.629 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00179/1.183, allocations: 0.9042 MB / 1.528 GB, free: 5.723 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003359/1.183, allocations: 287.1 kB / 1.529 GB, free: 5.441 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0004924/1.184, allocations: 390 kB / 1.529 GB, free: 5.059 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001929/1.185, allocations: 1.171 MB / 1.53 GB, free: 3.883 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.768e-06/1.185, allocations: 4 kB / 1.53 GB, free: 3.879 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.854e-06/1.185, allocations: 0 / 1.53 GB, free: 3.879 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.881e-05/1.185, allocations: 0 / 1.53 GB, free: 3.879 MB / 1.201 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.001625/1.187, allocations: 1.077 MB / 1.531 GB, free: 2.746 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/1.187, allocations: 15.98 kB / 1.531 GB, free: 2.73 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009858/1.188, allocations: 199.3 kB / 1.531 GB, free: 2.535 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008911/1.189, allocations: 0.5524 MB / 1.532 GB, free: 1.945 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.008e-05/1.189, allocations: 49.3 kB / 1.532 GB, free: 1.898 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.403e-05/1.189, allocations: 60 kB / 1.532 GB, free: 1.84 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001225/1.19, allocations: 0.7711 MB / 1.533 GB, free: 0.957 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/1.19, allocations: 3.938 kB / 1.533 GB, free: 0.9531 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.671e-05/1.19, allocations: 27.94 kB / 1.533 GB, free: 0.9258 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.146e-05/1.19, allocations: 21 kB / 1.533 GB, free: 0.9023 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009274/1.191, allocations: 463.2 kB / 1.533 GB, free: 464 kB / 1.201 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.004292/1.196, allocations: 4.462 MB / 1.538 GB, free: 11.74 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001652/1.196, allocations: 102.4 kB / 1.538 GB, free: 11.6 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/1.196, allocations: 71.5 kB / 1.538 GB, free: 11.52 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000184/1.196, allocations: 97.09 kB / 1.538 GB, free: 11.41 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.679e-05/1.196, allocations: 38.5 kB / 1.538 GB, free: 11.36 MB / 1.217 GB Notification: Performance of pre-optimization done (n=10): time 1.964e-06/1.196, allocations: 0 / 1.538 GB, free: 11.36 MB / 1.217 GB Notification: Performance of matching and sorting (n=10): time 0.0007083/1.197, allocations: 249 kB / 1.538 GB, free: 11.11 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.791e-05/1.197, allocations: 132.5 kB / 1.538 GB, free: 10.95 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/1.198, allocations: 0.8372 MB / 1.539 GB, free: 10.1 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 3.141e-05/1.198, allocations: 33.7 kB / 1.539 GB, free: 10.06 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003396/1.198, allocations: 411.6 kB / 1.54 GB, free: 9.656 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 4.23e-05/1.199, allocations: 47.69 kB / 1.54 GB, free: 9.609 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001418/1.199, allocations: 89.97 kB / 1.54 GB, free: 9.516 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001385/1.199, allocations: 321.9 kB / 1.54 GB, free: 9.195 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003048/1.199, allocations: 120.7 kB / 1.54 GB, free: 9.078 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005079/1.2, allocations: 362 kB / 1.54 GB, free: 8.609 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006014/1.2, allocations: 437.8 kB / 1.541 GB, free: 8.074 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/1.2, allocations: 4 kB / 1.541 GB, free: 8.07 MB / 1.217 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009806/1.201, allocations: 0.4971 MB / 1.541 GB, free: 7.566 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/1.201, allocations: 8 kB / 1.541 GB, free: 7.559 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/1.201, allocations: 8 kB / 1.541 GB, free: 7.551 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.869e-05/1.201, allocations: 12 kB / 1.541 GB, free: 7.539 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003271/1.202, allocations: 99.77 kB / 1.542 GB, free: 7.441 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.7e-05/1.202, allocations: 11.94 kB / 1.542 GB, free: 7.43 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00066/1.202, allocations: 119.5 kB / 1.542 GB, free: 7.312 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.234e-05/1.202, allocations: 28.06 kB / 1.542 GB, free: 7.285 MB / 1.217 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.0002769/1.203, allocations: 221.6 kB / 1.542 GB, free: 7.059 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001664/1.203, allocations: 91.47 kB / 1.542 GB, free: 6.969 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001131/1.203, allocations: 70.19 kB / 1.542 GB, free: 6.898 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/1.203, allocations: 7.984 kB / 1.542 GB, free: 6.891 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/1.203, allocations: 0 / 1.542 GB, free: 6.891 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/1.203, allocations: 3.938 kB / 1.542 GB, free: 6.887 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001411/1.204, allocations: 1.124 MB / 1.543 GB, free: 5.672 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/1.204, allocations: 4 kB / 1.543 GB, free: 5.668 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.194e-05/1.204, allocations: 12 kB / 1.543 GB, free: 5.656 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/1.204, allocations: 4 kB / 1.543 GB, free: 5.652 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/1.204, allocations: 12.31 kB / 1.543 GB, free: 5.641 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.122e-06/1.204, allocations: 7.984 kB / 1.543 GB, free: 5.633 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.075e-05/1.204, allocations: 7.938 kB / 1.543 GB, free: 5.625 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003246/1.205, allocations: 260.2 kB / 1.543 GB, free: 5.324 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002191/1.205, allocations: 176.5 kB / 1.544 GB, free: 5.133 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.098e-05/1.205, allocations: 8 kB / 1.544 GB, free: 5.125 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003233/1.205, allocations: 19.97 kB / 1.544 GB, free: 5.105 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.77e-05/1.205, allocations: 19.88 kB / 1.544 GB, free: 5.086 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.797e-06/1.205, allocations: 4 kB / 1.544 GB, free: 5.082 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0008529/1.206, allocations: 0.5888 MB / 1.544 GB, free: 4.496 MB / 1.217 GB Notification: Performance of sort global known variables: time 1e-07/1.206, allocations: 4 kB / 1.544 GB, free: 4.492 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0006072/1.207, allocations: 151.8 kB / 1.544 GB, free: 4.344 MB / 1.217 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.0004396/1.207, allocations: 187.6 kB / 1.545 GB, free: 4.164 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0005565/1.208, allocations: 237.1 kB / 1.545 GB, free: 3.934 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/1.208, allocations: 4 kB / 1.545 GB, free: 3.93 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 6.941e-05/1.208, allocations: 44.72 kB / 1.545 GB, free: 3.887 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001585/1.21, allocations: 374.5 kB / 1.545 GB, free: 3.531 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001731/1.211, allocations: 1.128 MB / 1.546 GB, free: 2.336 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00056/1.212, allocations: 0.937 MB / 1.547 GB, free: 1.371 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/1.212, allocations: 51.44 kB / 1.547 GB, free: 1.32 MB / 1.217 GB Notification: Performance of SimCode: time 5.21e-07/1.212, allocations: 0 / 1.547 GB, free: 1.32 MB / 1.217 GB Notification: Performance of Templates: time 0.01785/1.23, allocations: 10.79 MB / 1.558 GB, free: 6.645 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 13.881816902998253]