Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.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.001805/0.001805, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.002135/0.002135, allocations: 162.2 kB / 22.46 MB, free: 5.359 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.485/1.485, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.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.023/3.023, allocations: 389 MB / 0.633 GB, free: 1 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volLinSys.heatPort.Q_flow|volNonLinSys.heatPort.Q_flow|volQflow.heatPort.Q_flow|volT.heatPort.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volLinSys.heatPort.Q_flow|volNonLinSys.heatPort.Q_flow|volQflow.heatPort.Q_flow|volT.heatPort.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 1 GB, free: 7.266 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.87e-05/3.012e-05, allocations: 2.281 kB / 1 GB, free: 7.262 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.0595/0.05953, allocations: 45.53 MB / 1.045 GB, free: 9.57 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02211/0.08164, allocations: 11.85 MB / 1.056 GB, free: 13.68 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002674/0.08431, allocations: 111.1 kB / 1.056 GB, free: 13.57 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002417/0.08673, allocations: 0.7757 MB / 1.057 GB, free: 12.79 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.006134/0.09287, allocations: 1.975 MB / 1.059 GB, free: 10.81 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004352/0.09722, allocations: 1.417 MB / 1.06 GB, free: 9.406 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.006312/0.1035, allocations: 3.262 MB / 1.064 GB, free: 6.137 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002102/0.1056, allocations: 0.9165 MB / 1.064 GB, free: 5.18 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005026/0.1107, allocations: 1.887 MB / 1.066 GB, free: 3.301 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001692/0.1123, allocations: 0.7941 MB / 1.067 GB, free: 2.504 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.000231/0.1126, allocations: 107.9 kB / 1.067 GB, free: 2.398 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002262/0.1148, allocations: 0.8923 MB / 1.068 GB, free: 1.504 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003889/0.1152, allocations: 318.5 kB / 1.068 GB, free: 1.191 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.000742/0.116, allocations: 462.8 kB / 1.069 GB, free: 0.7383 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003565/0.1195, allocations: 2.021 MB / 1.071 GB, free: 14.71 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.1195, allocations: 0 / 1.071 GB, free: 14.71 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.743e-06/0.1195, allocations: 0 / 1.071 GB, free: 14.71 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.904e-05/0.1196, allocations: 0 / 1.071 GB, free: 14.71 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002952/0.1225, allocations: 1.655 MB / 1.072 GB, free: 13.02 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.1226, allocations: 11.98 kB / 1.072 GB, free: 13.01 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007802/0.1233, allocations: 223.9 kB / 1.073 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002227/0.1256, allocations: 1.022 MB / 1.074 GB, free: 11.71 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.116e-05/0.1256, allocations: 66.38 kB / 1.074 GB, free: 11.65 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/0.1258, allocations: 84.38 kB / 1.074 GB, free: 11.57 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002051/0.1278, allocations: 1.141 MB / 1.075 GB, free: 10.31 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/0.1278, allocations: 0 / 1.075 GB, free: 10.31 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.163e-05/0.1279, allocations: 36 kB / 1.075 GB, free: 10.28 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.097e-05/0.1279, allocations: 24 kB / 1.075 GB, free: 10.25 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001638/0.1296, allocations: 0.6477 MB / 1.076 GB, free: 9.605 MB / 1.029 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.005582/0.1352, allocations: 3.792 MB / 1.079 GB, free: 5.688 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001259/0.1364, allocations: 374.6 kB / 1.08 GB, free: 5.312 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005569/0.137, allocations: 200.7 kB / 1.08 GB, free: 5.113 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004329/0.1374, allocations: 107.9 kB / 1.08 GB, free: 5.008 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.653e-05/0.1375, allocations: 38.56 kB / 1.08 GB, free: 4.961 MB / 1.029 GB Notification: Performance of pre-optimization done (n=29): time 2.314e-06/0.1375, allocations: 0 / 1.08 GB, free: 4.961 MB / 1.029 GB Notification: Performance of matching and sorting (n=29): time 0.003118/0.1406, allocations: 0.8349 MB / 1.081 GB, free: 4.109 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.254e-05/0.1406, allocations: 59.34 kB / 1.081 GB, free: 4.039 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001271/0.1419, allocations: 0.8596 MB / 1.082 GB, free: 3.16 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.423e-05/0.1419, allocations: 33.7 kB / 1.082 GB, free: 3.121 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005415/0.1425, allocations: 0.6011 MB / 1.082 GB, free: 2.512 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/0.1426, allocations: 107.2 kB / 1.082 GB, free: 2.406 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002006/0.1428, allocations: 114 kB / 1.082 GB, free: 2.285 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000184/0.143, allocations: 329.9 kB / 1.083 GB, free: 1.957 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006167/0.1436, allocations: 200.8 kB / 1.083 GB, free: 1.762 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008822/0.1445, allocations: 0.5429 MB / 1.084 GB, free: 1.098 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001327/0.1458, allocations: 0.6028 MB / 1.084 GB, free: 416 kB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.1458, allocations: 4 kB / 1.084 GB, free: 412 kB / 1.029 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001855/0.1477, allocations: 0.7413 MB / 1.085 GB, free: 15.64 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.1477, allocations: 8 kB / 1.085 GB, free: 15.63 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/0.1477, allocations: 19.88 kB / 1.085 GB, free: 15.61 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007632/0.1485, allocations: 159.1 kB / 1.085 GB, free: 15.45 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006541/0.1491, allocations: 143.8 kB / 1.085 GB, free: 15.31 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001394/0.1505, allocations: 1.731 MB / 1.087 GB, free: 13.5 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006891/0.1512, allocations: 71.62 kB / 1.087 GB, free: 13.43 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.559e-05/0.1513, allocations: 31.98 kB / 1.087 GB, free: 13.4 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (52): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0004379/0.1517, allocations: 274.3 kB / 1.087 GB, free: 13.12 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001626/0.1519, allocations: 99.34 kB / 1.087 GB, free: 13.03 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001951/0.1538, allocations: 0.7146 MB / 1.088 GB, free: 12.3 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/0.1538, allocations: 4 kB / 1.088 GB, free: 12.29 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1538, allocations: 8 kB / 1.088 GB, free: 12.29 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.1539, allocations: 0 / 1.088 GB, free: 12.29 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002932/0.1568, allocations: 1.435 MB / 1.089 GB, free: 10.79 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/0.1568, allocations: 0 / 1.089 GB, free: 10.79 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005124/0.1573, allocations: 100 kB / 1.089 GB, free: 10.69 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006097/0.1579, allocations: 146.5 kB / 1.09 GB, free: 10.54 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.448e-05/0.158, allocations: 11.98 kB / 1.09 GB, free: 10.53 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001382/0.1593, allocations: 1.704 MB / 1.091 GB, free: 8.746 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/0.1593, allocations: 7.969 kB / 1.091 GB, free: 8.738 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00176/0.1611, allocations: 0.7687 MB / 1.092 GB, free: 7.926 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003751/0.1615, allocations: 167.1 kB / 1.092 GB, free: 7.762 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.1616, allocations: 8 kB / 1.092 GB, free: 7.754 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000594/0.1622, allocations: 43.94 kB / 1.092 GB, free: 7.711 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.697e-05/0.1623, allocations: 31.89 kB / 1.092 GB, free: 7.68 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.354e-05/0.1623, allocations: 19.98 kB / 1.092 GB, free: 7.66 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0008688/0.1632, allocations: 0.5806 MB / 1.093 GB, free: 7.07 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.1632, allocations: 0 / 1.093 GB, free: 7.07 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001179/0.1644, allocations: 394.8 kB / 1.093 GB, free: 6.684 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,2), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007966/0.1652, allocations: 393.2 kB / 1.094 GB, free: 6.293 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001782/0.1669, allocations: 0.5482 MB / 1.094 GB, free: 5.746 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.1669, allocations: 0 / 1.094 GB, free: 5.746 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0008901/0.1678, allocations: 280 kB / 1.094 GB, free: 5.473 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002162/0.17, allocations: 419.7 kB / 1.095 GB, free: 5.074 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00353/0.1735, allocations: 1.795 MB / 1.097 GB, free: 3.23 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005844/0.1741, allocations: 0.5091 MB / 1.097 GB, free: 2.684 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0006364/0.1747, allocations: 166.9 kB / 1.097 GB, free: 2.516 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001585/0.1749, allocations: 68.48 kB / 1.097 GB, free: 2.449 MB / 1.045 GB Notification: Performance of SimCode: time 1.132e-06/0.1749, allocations: 0 / 1.097 GB, free: 2.449 MB / 1.045 GB Notification: Performance of Templates: time 0.0375/0.2124, allocations: 18.46 MB / 1.115 GB, free: 372 kB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.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: 9.19553205370903]