Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.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.001014/0.001014, allocations: 87.58 kB / 20.45 MB, free: 4.121 MB / 18.57 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.001367/0.001367, allocations: 161 kB / 23.82 MB, free: 0.7539 MB / 18.57 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.001/1.001, allocations: 177.1 MB / 204.2 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.78/1.78, allocations: 359 MB / 0.6052 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: translateModel(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.dp|res.sta_a.T|res.sta_b.T",fileNamePrefix="Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe") translateModel(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.dp|res.sta_a.T|res.sta_b.T",fileNamePrefix="Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.008e-05/3.208e-05, allocations: 6.25 kB / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1334/0.1334, allocations: 146.1 MB / 0.9297 GB, free: 9.965 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.001509/0.1349, allocations: 0.974 MB / 0.9307 GB, free: 8.992 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000195/0.1351, allocations: 11.88 kB / 0.9307 GB, free: 8.98 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0004538/0.1356, allocations: 107.2 kB / 0.9308 GB, free: 8.875 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.0008014/0.1364, allocations: 401.9 kB / 0.9312 GB, free: 8.48 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004814/0.1368, allocations: 243.4 kB / 0.9314 GB, free: 8.242 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0005603/0.1374, allocations: 0.5148 MB / 0.9319 GB, free: 7.727 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002837/0.1377, allocations: 144.4 kB / 0.932 GB, free: 7.582 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004051/0.1381, allocations: 275.2 kB / 0.9323 GB, free: 7.312 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001638/0.1383, allocations: 151.6 kB / 0.9325 GB, free: 7.164 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 2.556e-05/0.1383, allocations: 12 kB / 0.9325 GB, free: 7.152 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000351/0.1386, allocations: 255.2 kB / 0.9327 GB, free: 6.902 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 8.479e-05/0.1387, allocations: 87.73 kB / 0.9328 GB, free: 6.816 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 8.41e-05/0.1388, allocations: 79.83 kB / 0.9329 GB, free: 6.738 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0004675/0.1393, allocations: 350.8 kB / 0.9332 GB, free: 6.395 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1393, allocations: 0 / 0.9332 GB, free: 6.395 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.022e-06/0.1393, allocations: 0 / 0.9332 GB, free: 6.395 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.1393, allocations: 4 kB / 0.9332 GB, free: 6.391 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0009238/0.1402, allocations: 0.5855 MB / 0.9338 GB, free: 5.77 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.1402, allocations: 8.031 kB / 0.9338 GB, free: 5.762 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002219/0.1405, allocations: 72.59 kB / 0.9339 GB, free: 5.691 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002833/0.1407, allocations: 232.1 kB / 0.9341 GB, free: 5.438 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.1408, allocations: 12.7 kB / 0.9341 GB, free: 5.426 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.633e-05/0.1408, allocations: 20.38 kB / 0.9341 GB, free: 5.406 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002613/0.141, allocations: 171.5 kB / 0.9343 GB, free: 5.23 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.1411, allocations: 0 / 0.9343 GB, free: 5.23 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.745e-05/0.1411, allocations: 7.984 kB / 0.9343 GB, free: 5.223 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.55e-05/0.1411, allocations: 23.7 kB / 0.9343 GB, free: 5.199 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001811/0.1413, allocations: 99.94 kB / 0.9344 GB, free: 5.102 MB / 0.8855 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.0007628/0.142, allocations: 0.623 MB / 0.935 GB, free: 4.434 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000141/0.1422, allocations: 79.12 kB / 0.9351 GB, free: 4.344 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.327e-05/0.1422, allocations: 47.61 kB / 0.9351 GB, free: 4.293 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001014/0.1424, allocations: 19.98 kB / 0.9351 GB, free: 4.273 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.1424, allocations: 37.39 kB / 0.9352 GB, free: 4.227 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=14): time 1.833e-06/0.1424, allocations: 0 / 0.9352 GB, free: 4.227 MB / 0.8855 GB Notification: Performance of matching and sorting (n=14): time 0.0006114/0.143, allocations: 145.5 kB / 0.9353 GB, free: 4.078 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.296e-05/0.143, allocations: 59.39 kB / 0.9354 GB, free: 4.008 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.1431, allocations: 231.4 kB / 0.9356 GB, free: 3.766 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.1432, allocations: 29.7 kB / 0.9356 GB, free: 3.73 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 8.702e-05/0.1433, allocations: 195 kB / 0.9358 GB, free: 3.535 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.015e-05/0.1433, allocations: 51.53 kB / 0.9359 GB, free: 3.484 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.456e-05/0.1433, allocations: 47.3 kB / 0.9359 GB, free: 3.43 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.1435, allocations: 0.5 MB / 0.9364 GB, free: 2.918 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.707e-05/0.1435, allocations: 19.98 kB / 0.9364 GB, free: 2.898 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.1436, allocations: 143.7 kB / 0.9365 GB, free: 2.73 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.1437, allocations: 81.06 kB / 0.9366 GB, free: 2.641 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1437, allocations: 0 / 0.9366 GB, free: 2.641 MB / 0.8855 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001713/0.1439, allocations: 121.5 kB / 0.9367 GB, free: 2.516 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.1439, allocations: 4 kB / 0.9367 GB, free: 2.512 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.1439, allocations: 0 / 0.9367 GB, free: 2.512 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.1439, allocations: 4 kB / 0.9367 GB, free: 2.508 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.144, allocations: 27.97 kB / 0.9368 GB, free: 2.48 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.144, allocations: 0 / 0.9368 GB, free: 2.48 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.82e-05/0.1441, allocations: 16.02 kB / 0.9368 GB, free: 2.465 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.899e-05/0.1441, allocations: 11.94 kB / 0.9368 GB, free: 2.453 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 15 * 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 8.688e-05/0.1442, allocations: 168.5 kB / 0.937 GB, free: 2.277 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.446e-05/0.1443, allocations: 23.84 kB / 0.937 GB, free: 2.254 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.104e-05/0.1443, allocations: 21.47 kB / 0.937 GB, free: 2.238 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1443, allocations: 4 kB / 0.937 GB, free: 2.234 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1443, allocations: 0 / 0.937 GB, free: 2.234 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1443, allocations: 3.984 kB / 0.937 GB, free: 2.23 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005153/0.1448, allocations: 0.5417 MB / 0.9375 GB, free: 1.617 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1448, allocations: 0 / 0.9375 GB, free: 1.617 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.817e-05/0.1449, allocations: 35.91 kB / 0.9376 GB, free: 1.582 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.1449, allocations: 3.938 kB / 0.9376 GB, free: 1.578 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.1449, allocations: 8 kB / 0.9376 GB, free: 1.57 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.1449, allocations: 4 kB / 0.9376 GB, free: 1.566 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1449, allocations: 0 / 0.9376 GB, free: 1.566 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002341/0.1452, allocations: 329 kB / 0.9379 GB, free: 1.199 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.632e-05/0.1452, allocations: 35.83 kB / 0.9379 GB, free: 1.164 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/0.1452, allocations: 7.922 kB / 0.9379 GB, free: 1.156 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.192e-05/0.1453, allocations: 8 kB / 0.938 GB, free: 1.148 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.324e-05/0.1453, allocations: 15.92 kB / 0.938 GB, free: 1.133 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.1453, allocations: 4 kB / 0.938 GB, free: 1.129 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 7.662e-05/0.1454, allocations: 176.1 kB / 0.9381 GB, free: 0.957 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6e-08/0.1454, allocations: 0 / 0.9381 GB, free: 0.957 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002554/0.1457, allocations: 63.89 kB / 0.9382 GB, free: 0.8945 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (14): * Single equations (assignments): 14 * 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.0001964/0.1459, allocations: 131.2 kB / 0.9383 GB, free: 0.7539 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001835/0.1461, allocations: 83.52 kB / 0.9384 GB, free: 0.668 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1461, allocations: 0 / 0.9384 GB, free: 0.668 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 6.33e-05/0.1461, allocations: 48.17 kB / 0.9385 GB, free: 0.6172 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003959/0.1465, allocations: 98.06 kB / 0.9385 GB, free: 0.5273 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007947/0.1473, allocations: 436.4 kB / 0.939 GB, free: 44 kB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.61e-05/0.1474, allocations: 87.97 kB / 0.939 GB, free: 15.94 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001118/0.1475, allocations: 45.44 kB / 0.9391 GB, free: 15.89 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.72e-05/0.1475, allocations: 28.42 kB / 0.9391 GB, free: 15.86 MB / 0.9011 GB Notification: Performance of SimCode: time 7.52e-07/0.1475, allocations: 0 / 0.9391 GB, free: 15.86 MB / 0.9011 GB Notification: Performance of Templates: time 0.005905/0.1535, allocations: 3.43 MB / 0.9425 GB, free: 12.53 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FixedResistances_Validation_LosslessPipe.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.428416884038597]