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.001359/0.001359, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001253/0.001253, allocations: 166 kB / 24.87 MB, free: 9.258 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 0.953/0.953, allocations: 177.1 MB / 205.3 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.739/1.739, allocations: 359 MB / 0.6063 GB, free: 10.86 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.422e-06/1.422e-06, allocations: 0 / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.874e-05/2.016e-05, allocations: 3.094 kB / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.119/0.1191, allocations: 143.4 MB / 0.9283 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.001414/0.1205, allocations: 0.9683 MB / 0.9292 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001993/0.1207, allocations: 11.88 kB / 0.9292 GB, free: 11.4 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0004088/0.1211, allocations: 103.2 kB / 0.9293 GB, free: 11.3 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.0007398/0.1218, allocations: 401.9 kB / 0.9297 GB, free: 10.9 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004271/0.1222, allocations: 243.4 kB / 0.93 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.000506/0.1228, allocations: 0.5186 MB / 0.9305 GB, free: 10.14 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000245/0.123, allocations: 140.4 kB / 0.9306 GB, free: 10 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003633/0.1234, allocations: 275.2 kB / 0.9309 GB, free: 9.734 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001632/0.1235, allocations: 143.6 kB / 0.931 GB, free: 9.594 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 2.248e-05/0.1235, allocations: 12 kB / 0.931 GB, free: 9.582 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003282/0.1239, allocations: 259.2 kB / 0.9313 GB, free: 9.328 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 7.975e-05/0.124, allocations: 87.72 kB / 0.9313 GB, free: 9.242 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 6.931e-05/0.124, allocations: 79.78 kB / 0.9314 GB, free: 9.164 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.000549/0.1246, allocations: 346.9 kB / 0.9317 GB, free: 8.824 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1246, allocations: 0 / 0.9317 GB, free: 8.824 MB / 0.8855 GB Notification: Performance of FrontEnd: time 8.12e-07/0.1246, allocations: 8 kB / 0.9318 GB, free: 8.816 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.1246, allocations: 0 / 0.9318 GB, free: 8.816 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.0008049/0.1254, allocations: 0.5932 MB / 0.9323 GB, free: 8.188 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.1254, allocations: 8.031 kB / 0.9323 GB, free: 8.18 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001985/0.1256, allocations: 76.58 kB / 0.9324 GB, free: 8.105 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002327/0.1259, allocations: 224.2 kB / 0.9326 GB, free: 7.859 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.1259, allocations: 12.7 kB / 0.9326 GB, free: 7.848 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.231e-05/0.1259, allocations: 20.38 kB / 0.9327 GB, free: 7.828 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002115/0.1261, allocations: 155.5 kB / 0.9328 GB, free: 7.668 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.026e-06/0.1261, allocations: 0 / 0.9328 GB, free: 7.668 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.1261, allocations: 8 kB / 0.9328 GB, free: 7.66 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.053e-05/0.1261, allocations: 15.78 kB / 0.9328 GB, free: 7.645 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.1263, allocations: 71.94 kB / 0.9329 GB, free: 7.574 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.0006244/0.1269, allocations: 0.5884 MB / 0.9335 GB, free: 6.949 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001071/0.127, allocations: 70.91 kB / 0.9335 GB, free: 6.871 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.54e-05/0.127, allocations: 47.69 kB / 0.9336 GB, free: 6.82 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 7.384e-05/0.1271, allocations: 16 kB / 0.9336 GB, free: 6.805 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.915e-05/0.1271, allocations: 41.39 kB / 0.9336 GB, free: 6.754 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=14): time 1.173e-06/0.1271, allocations: 0 / 0.9336 GB, free: 6.754 MB / 0.8855 GB Notification: Performance of matching and sorting (n=14): time 0.0002706/0.1274, allocations: 129.5 kB / 0.9338 GB, free: 6.621 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.707e-05/0.1274, allocations: 55.41 kB / 0.9338 GB, free: 6.555 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.1275, allocations: 239.1 kB / 0.934 GB, free: 6.305 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.1276, allocations: 33.7 kB / 0.9341 GB, free: 6.266 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.669e-05/0.1276, allocations: 195 kB / 0.9343 GB, free: 6.07 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.992e-05/0.1277, allocations: 55.53 kB / 0.9343 GB, free: 6.016 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.028e-05/0.1277, allocations: 47.28 kB / 0.9344 GB, free: 5.961 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.1278, allocations: 0.5039 MB / 0.9349 GB, free: 5.445 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.366e-05/0.1279, allocations: 15.98 kB / 0.9349 GB, free: 5.43 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.664e-05/0.1279, allocations: 132.1 kB / 0.935 GB, free: 5.27 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.746e-05/0.128, allocations: 69.05 kB / 0.9351 GB, free: 5.191 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.128, allocations: 4 kB / 0.9351 GB, free: 5.188 MB / 0.8855 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001393/0.1282, allocations: 109.5 kB / 0.9352 GB, free: 5.074 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.1282, allocations: 4 kB / 0.9352 GB, free: 5.07 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1282, allocations: 0 / 0.9352 GB, free: 5.07 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.337e-06/0.1282, allocations: 4 kB / 0.9352 GB, free: 5.066 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.389e-05/0.1283, allocations: 31.98 kB / 0.9352 GB, free: 5.035 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.365e-06/0.1283, allocations: 0 / 0.9352 GB, free: 5.035 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.778e-05/0.1283, allocations: 15.94 kB / 0.9352 GB, free: 5.02 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.491e-05/0.1284, allocations: 8 kB / 0.9352 GB, free: 5.012 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.984e-05/0.1284, allocations: 176.5 kB / 0.9354 GB, free: 4.828 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.973e-05/0.1285, allocations: 15.91 kB / 0.9354 GB, free: 4.812 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.932e-05/0.1285, allocations: 29.45 kB / 0.9354 GB, free: 4.789 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1285, allocations: 4 kB / 0.9354 GB, free: 4.785 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.1285, allocations: 0 / 0.9354 GB, free: 4.785 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.1285, allocations: 0 / 0.9354 GB, free: 4.785 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004382/0.129, allocations: 0.4916 MB / 0.9359 GB, free: 4.23 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.129, allocations: 0 / 0.9359 GB, free: 4.23 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.189e-05/0.129, allocations: 31.92 kB / 0.936 GB, free: 4.199 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.129, allocations: 0 / 0.936 GB, free: 4.199 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.129, allocations: 8 kB / 0.936 GB, free: 4.191 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.129, allocations: 11.92 kB / 0.936 GB, free: 4.18 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.129, allocations: 0 / 0.936 GB, free: 4.18 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001886/0.1292, allocations: 313.8 kB / 0.9363 GB, free: 3.824 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.434e-05/0.1293, allocations: 35.81 kB / 0.9363 GB, free: 3.789 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.1293, allocations: 8 kB / 0.9363 GB, free: 3.781 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.896e-05/0.1294, allocations: 7.938 kB / 0.9363 GB, free: 3.773 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.695e-05/0.1294, allocations: 23.91 kB / 0.9363 GB, free: 3.75 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.1294, allocations: 4 kB / 0.9364 GB, free: 3.746 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.763e-05/0.1295, allocations: 167.1 kB / 0.9365 GB, free: 3.582 MB / 0.8855 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1295, allocations: 0 / 0.9365 GB, free: 3.582 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002256/0.1297, allocations: 63.89 kB / 0.9366 GB, free: 3.52 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.0001471/0.1298, allocations: 127.1 kB / 0.9367 GB, free: 3.383 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001335/0.13, allocations: 74.41 kB / 0.9368 GB, free: 3.309 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.13, allocations: 0 / 0.9368 GB, free: 3.309 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 5.429e-05/0.13, allocations: 51.58 kB / 0.9368 GB, free: 3.254 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003711/0.1304, allocations: 102.9 kB / 0.9369 GB, free: 3.156 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006259/0.131, allocations: 444.3 kB / 0.9373 GB, free: 2.664 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.074e-05/0.1311, allocations: 87.97 kB / 0.9374 GB, free: 2.559 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 8.648e-05/0.1312, allocations: 25.48 kB / 0.9374 GB, free: 2.531 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000158/0.1313, allocations: 134.1 kB / 0.9376 GB, free: 2.398 MB / 0.8855 GB Notification: Performance of SimCode: time 6.11e-07/0.1313, allocations: 0 / 0.9376 GB, free: 2.398 MB / 0.8855 GB Notification: Performance of Templates: time 0.005388/0.1367, allocations: 3.848 MB / 0.9413 GB, free: 14.65 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.0706046163104475]