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.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.001836/0.001836, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002361/0.002361, allocations: 215.1 kB / 22.99 MB, free: 4.945 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.453/1.453, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.214/3.214, allocations: 0.5107 GB / 0.8166 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002121/0.002121, allocations: 72.14 kB / 1.187 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3537/0.3558, allocations: 181.9 MB / 1.365 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.2282/0.5841, allocations: 165.5 MB / 1.526 GB, free: 7.473 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01761/0.6017, allocations: 11.99 MB / 1.538 GB, free: 11.45 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00125/0.6029, allocations: 39.69 kB / 1.538 GB, free: 11.41 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.001561/0.6045, allocations: 409.3 kB / 1.538 GB, free: 11.01 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.00279/0.6073, allocations: 0.9527 MB / 1.539 GB, free: 10.05 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.00206/0.6094, allocations: 0.7257 MB / 1.54 GB, free: 9.328 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.002182/0.6115, allocations: 1.516 MB / 1.542 GB, free: 7.809 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000864/0.6124, allocations: 495.1 kB / 1.542 GB, free: 7.305 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004254/0.6167, allocations: 1.872 MB / 1.544 GB, free: 5.426 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001458/0.6181, allocations: 0.4966 MB / 1.544 GB, free: 4.934 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0001231/0.6182, allocations: 52 kB / 1.544 GB, free: 4.883 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001511/0.6197, allocations: 0.721 MB / 1.545 GB, free: 4.16 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0003291/0.6201, allocations: 275.2 kB / 1.545 GB, free: 3.891 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0004005/0.6205, allocations: 318.5 kB / 1.546 GB, free: 3.578 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.001743/0.6222, allocations: 1.168 MB / 1.547 GB, free: 2.406 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.6222, allocations: 0 / 1.547 GB, free: 2.406 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6222, allocations: 3.938 kB / 1.547 GB, free: 2.402 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.907e-05/0.6222, allocations: 0 / 1.547 GB, free: 2.402 MB / 1.232 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.001554/0.6238, allocations: 0.9944 MB / 1.548 GB, free: 1.371 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.6238, allocations: 16.03 kB / 1.548 GB, free: 1.355 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009585/0.6248, allocations: 195.2 kB / 1.548 GB, free: 1.164 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00095/0.6257, allocations: 495.8 kB / 1.548 GB, free: 0.6602 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.451e-05/0.6258, allocations: 45.31 kB / 1.548 GB, free: 0.6133 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.291e-05/0.6259, allocations: 63.92 kB / 1.548 GB, free: 0.5508 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001275/0.6272, allocations: 0.7923 MB / 1.549 GB, free: 15.64 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.565e-05/0.6272, allocations: 7.938 kB / 1.549 GB, free: 15.64 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.854e-05/0.6273, allocations: 31.94 kB / 1.549 GB, free: 15.61 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.835e-05/0.6273, allocations: 24.98 kB / 1.549 GB, free: 15.58 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000946/0.6282, allocations: 463.1 kB / 1.55 GB, free: 15.13 MB / 1.248 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.004076/0.6323, allocations: 3.855 MB / 1.554 GB, free: 11.11 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001635/0.6325, allocations: 102.5 kB / 1.554 GB, free: 10.97 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/0.6326, allocations: 71.48 kB / 1.554 GB, free: 10.89 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001453/0.6327, allocations: 19.98 kB / 1.554 GB, free: 10.87 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/0.6328, allocations: 42.5 kB / 1.554 GB, free: 10.82 MB / 1.248 GB Notification: Performance of pre-optimization done (n=10): time 1.963e-06/0.6328, allocations: 0 / 1.554 GB, free: 10.82 MB / 1.248 GB Notification: Performance of matching and sorting (n=10): time 0.0005691/0.6333, allocations: 209.4 kB / 1.554 GB, free: 10.61 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.524e-05/0.6334, allocations: 140.5 kB / 1.554 GB, free: 10.44 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008311/0.6343, allocations: 0.5886 MB / 1.555 GB, free: 9.844 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/0.6343, allocations: 25.7 kB / 1.555 GB, free: 9.812 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003438/0.6346, allocations: 439.8 kB / 1.555 GB, free: 9.375 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 3.61e-05/0.6347, allocations: 39.69 kB / 1.555 GB, free: 9.336 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001421/0.6348, allocations: 93.97 kB / 1.555 GB, free: 9.238 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.00018/0.635, allocations: 362.7 kB / 1.556 GB, free: 8.875 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002824/0.6353, allocations: 108.7 kB / 1.556 GB, free: 8.77 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000592/0.6359, allocations: 0.5078 MB / 1.556 GB, free: 8.109 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006352/0.6365, allocations: 437.5 kB / 1.557 GB, free: 7.574 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.6365, allocations: 4 kB / 1.557 GB, free: 7.57 MB / 1.248 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009424/0.6375, allocations: 485.3 kB / 1.557 GB, free: 7.09 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.6375, allocations: 8 kB / 1.557 GB, free: 7.082 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.6375, allocations: 8 kB / 1.557 GB, free: 7.074 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.48e-05/0.6375, allocations: 12 kB / 1.557 GB, free: 7.062 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003348/0.6378, allocations: 95.81 kB / 1.557 GB, free: 6.969 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.739e-05/0.6379, allocations: 15.94 kB / 1.557 GB, free: 6.953 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005341/0.6384, allocations: 98.52 kB / 1.557 GB, free: 6.859 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.206e-05/0.6384, allocations: 23.98 kB / 1.557 GB, free: 6.836 MB / 1.248 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.0002915/0.6387, allocations: 233.5 kB / 1.558 GB, free: 6.598 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001316/0.6389, allocations: 51.67 kB / 1.558 GB, free: 6.547 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.717e-05/0.6389, allocations: 48.12 kB / 1.558 GB, free: 6.5 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.639, allocations: 8 kB / 1.558 GB, free: 6.492 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.639, allocations: 0 / 1.558 GB, free: 6.492 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.639, allocations: 4.469 kB / 1.558 GB, free: 6.488 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001348/0.6403, allocations: 0.9914 MB / 1.559 GB, free: 5.426 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.6403, allocations: 4 kB / 1.559 GB, free: 5.422 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.408e-05/0.6404, allocations: 28.17 kB / 1.559 GB, free: 5.395 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.6404, allocations: 8 kB / 1.559 GB, free: 5.387 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.6404, allocations: 4 kB / 1.559 GB, free: 5.383 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.6404, allocations: 4.125 kB / 1.559 GB, free: 5.379 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.69e-06/0.6404, allocations: 7.938 kB / 1.559 GB, free: 5.371 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000299/0.6407, allocations: 244.4 kB / 1.559 GB, free: 5.086 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001571/0.6409, allocations: 67.58 kB / 1.559 GB, free: 5.02 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.348e-05/0.641, allocations: 8 kB / 1.559 GB, free: 5.012 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002392/0.6412, allocations: 23.97 kB / 1.559 GB, free: 4.988 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.547e-05/0.6412, allocations: 8.094 kB / 1.559 GB, free: 4.98 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.6412, allocations: 7.938 kB / 1.559 GB, free: 4.973 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.00059/0.6418, allocations: 406.8 kB / 1.559 GB, free: 4.578 MB / 1.248 GB Notification: Performance of sort global known variables: time 9e-08/0.6418, allocations: 3.938 kB / 1.559 GB, free: 4.574 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0006135/0.6424, allocations: 183.4 kB / 1.56 GB, free: 4.395 MB / 1.248 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.0004173/0.6429, allocations: 170.8 kB / 1.56 GB, free: 4.227 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.0005421/0.6434, allocations: 237.2 kB / 1.56 GB, free: 3.996 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.6434, allocations: 0 / 1.56 GB, free: 3.996 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 7.462e-05/0.6435, allocations: 51.84 kB / 1.56 GB, free: 3.945 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009519/0.6444, allocations: 207.2 kB / 1.56 GB, free: 3.75 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001665/0.6461, allocations: 1.086 MB / 1.561 GB, free: 2.598 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003719/0.6465, allocations: 355.7 kB / 1.562 GB, free: 2.227 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/0.6466, allocations: 35.44 kB / 1.562 GB, free: 2.191 MB / 1.248 GB Notification: Performance of SimCode: time 4.51e-07/0.6466, allocations: 0 / 1.562 GB, free: 2.191 MB / 1.248 GB Notification: Performance of Templates: time 0.01398/0.6606, allocations: 8.79 MB / 1.57 GB, free: 9.473 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.075417528860271]