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.0009725/0.0009725, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.0009891/0.0009891, allocations: 185 kB / 24.09 MB, free: 416 kB / 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 0.9295/0.9295, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.721/1.721, allocations: 359 MB / 0.6055 GB, free: 10.89 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 1.583e-06/1.583e-06, allocations: 0 / 0.7875 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.065e-05/1.223e-05, allocations: 2.312 kB / 0.7875 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1243/0.1243, allocations: 143.4 MB / 0.9275 GB, free: 12.39 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.001389/0.1257, allocations: 0.9631 MB / 0.9285 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00017/0.1259, allocations: 15.88 kB / 0.9285 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0003765/0.1263, allocations: 99.3 kB / 0.9286 GB, free: 11.31 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.0006674/0.1269, allocations: 409.9 kB / 0.929 GB, free: 10.91 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003977/0.1273, allocations: 239.5 kB / 0.9292 GB, free: 10.68 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0004403/0.1278, allocations: 0.5108 MB / 0.9297 GB, free: 10.16 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002239/0.128, allocations: 148.4 kB / 0.9299 GB, free: 10.02 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003351/0.1283, allocations: 271.2 kB / 0.9301 GB, free: 9.75 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001395/0.1285, allocations: 147.6 kB / 0.9303 GB, free: 9.605 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 2.389e-05/0.1285, allocations: 16 kB / 0.9303 GB, free: 9.59 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003046/0.1288, allocations: 251.2 kB / 0.9305 GB, free: 9.344 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 7.267e-05/0.1289, allocations: 87.72 kB / 0.9306 GB, free: 9.258 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 6.039e-05/0.1289, allocations: 75.84 kB / 0.9307 GB, free: 9.184 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0003621/0.1293, allocations: 350.8 kB / 0.931 GB, free: 8.84 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1293, allocations: 4 kB / 0.931 GB, free: 8.836 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.032e-06/0.1293, allocations: 0 / 0.931 GB, free: 8.836 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.958e-06/0.1293, allocations: 0 / 0.931 GB, free: 8.836 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.0009928/0.1303, allocations: 0.5971 MB / 0.9316 GB, free: 8.203 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.002e-05/0.1303, allocations: 12.03 kB / 0.9316 GB, free: 8.191 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001767/0.1305, allocations: 72.59 kB / 0.9317 GB, free: 8.121 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002115/0.1307, allocations: 232.1 kB / 0.9319 GB, free: 7.867 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.1307, allocations: 12.7 kB / 0.9319 GB, free: 7.855 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.81e-05/0.1308, allocations: 12.38 kB / 0.9319 GB, free: 7.844 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001928/0.1309, allocations: 163.5 kB / 0.9321 GB, free: 7.676 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.131, allocations: 0 / 0.9321 GB, free: 7.676 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.131, allocations: 7.984 kB / 0.9321 GB, free: 7.668 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.73e-05/0.131, allocations: 15.77 kB / 0.9321 GB, free: 7.652 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000114/0.1311, allocations: 87.88 kB / 0.9322 GB, free: 7.566 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.0005892/0.1317, allocations: 0.5767 MB / 0.9327 GB, free: 6.953 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 9.465e-05/0.1318, allocations: 67.12 kB / 0.9328 GB, free: 6.875 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.19e-05/0.1318, allocations: 43.66 kB / 0.9328 GB, free: 6.828 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 7.543e-05/0.1319, allocations: 27.92 kB / 0.9329 GB, free: 6.801 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.672e-05/0.1319, allocations: 33.39 kB / 0.9329 GB, free: 6.758 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=14): time 1.303e-06/0.1319, allocations: 0 / 0.9329 GB, free: 6.758 MB / 0.8855 GB Notification: Performance of matching and sorting (n=14): time 0.0002534/0.1322, allocations: 137.4 kB / 0.933 GB, free: 6.617 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.987e-05/0.1322, allocations: 51.41 kB / 0.9331 GB, free: 6.555 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.1323, allocations: 239.1 kB / 0.9333 GB, free: 6.305 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.1323, allocations: 29.7 kB / 0.9333 GB, free: 6.27 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.123e-05/0.1324, allocations: 195 kB / 0.9335 GB, free: 6.074 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.726e-05/0.1324, allocations: 55.52 kB / 0.9336 GB, free: 6.02 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.57e-05/0.1325, allocations: 39.36 kB / 0.9336 GB, free: 5.973 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.1326, allocations: 0.5078 MB / 0.9341 GB, free: 5.453 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.766e-05/0.1326, allocations: 11.98 kB / 0.9341 GB, free: 5.441 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.128e-05/0.1327, allocations: 132.1 kB / 0.9342 GB, free: 5.281 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.398e-05/0.1327, allocations: 74.98 kB / 0.9343 GB, free: 5.195 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.1327, allocations: 0 / 0.9343 GB, free: 5.195 MB / 0.8855 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001221/0.1329, allocations: 111.6 kB / 0.9344 GB, free: 5.082 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.1329, allocations: 12.56 kB / 0.9344 GB, free: 5.07 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.1329, allocations: 0 / 0.9344 GB, free: 5.07 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.1329, allocations: 0 / 0.9344 GB, free: 5.07 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.347e-05/0.133, allocations: 27.92 kB / 0.9345 GB, free: 5.043 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.133, allocations: 4 kB / 0.9345 GB, free: 5.039 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.819e-05/0.133, allocations: 15.94 kB / 0.9345 GB, free: 5.023 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.133, allocations: 8.062 kB / 0.9345 GB, free: 5.016 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 7.292e-05/0.1331, allocations: 168.5 kB / 0.9346 GB, free: 4.84 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.879e-05/0.1331, allocations: 23.91 kB / 0.9347 GB, free: 4.816 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.393e-05/0.1332, allocations: 25.45 kB / 0.9347 GB, free: 4.797 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.1332, allocations: 4 kB / 0.9347 GB, free: 4.793 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.1332, allocations: 0 / 0.9347 GB, free: 4.793 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.1332, allocations: 0 / 0.9347 GB, free: 4.793 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004102/0.1336, allocations: 0.4993 MB / 0.9352 GB, free: 4.23 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.1336, allocations: 4 kB / 0.9352 GB, free: 4.227 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.343e-05/0.1337, allocations: 23.98 kB / 0.9352 GB, free: 4.203 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1337, allocations: 4 kB / 0.9352 GB, free: 4.199 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.238e-06/0.1337, allocations: 7.984 kB / 0.9352 GB, free: 4.191 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.648e-06/0.1337, allocations: 7.875 kB / 0.9352 GB, free: 4.184 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.1337, allocations: 4 kB / 0.9352 GB, free: 4.18 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001819/0.1339, allocations: 321.8 kB / 0.9355 GB, free: 3.816 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.616e-05/0.1339, allocations: 31.83 kB / 0.9356 GB, free: 3.785 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.1339, allocations: 4 kB / 0.9356 GB, free: 3.781 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.73e-05/0.134, allocations: 15.92 kB / 0.9356 GB, free: 3.766 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.785e-05/0.134, allocations: 8.031 kB / 0.9356 GB, free: 3.758 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.134, allocations: 7.984 kB / 0.9356 GB, free: 3.75 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.598e-05/0.1341, allocations: 163.1 kB / 0.9358 GB, free: 3.59 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6e-08/0.1341, allocations: 0 / 0.9358 GB, free: 3.59 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000213/0.1343, allocations: 63.89 kB / 0.9358 GB, free: 3.527 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.0001429/0.1344, allocations: 139.1 kB / 0.936 GB, free: 3.379 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00012/0.1345, allocations: 75.52 kB / 0.936 GB, free: 3.301 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.022e-06/0.1346, allocations: 0 / 0.936 GB, free: 3.301 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 5.074e-05/0.1346, allocations: 52.09 kB / 0.9361 GB, free: 3.246 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003428/0.1349, allocations: 96.78 kB / 0.9362 GB, free: 3.156 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005979/0.1355, allocations: 443.1 kB / 0.9366 GB, free: 2.668 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.065e-05/0.1356, allocations: 87.97 kB / 0.9367 GB, free: 2.562 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 8.413e-05/0.1357, allocations: 29.45 kB / 0.9367 GB, free: 2.531 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001551/0.1358, allocations: 134.1 kB / 0.9368 GB, free: 2.398 MB / 0.8855 GB Notification: Performance of SimCode: time 4.91e-07/0.1358, allocations: 4 kB / 0.9368 GB, free: 2.395 MB / 0.8855 GB Notification: Performance of Templates: time 0.005248/0.1411, allocations: 3.786 MB / 0.9405 GB, free: 14.69 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: 4.808880826923996]