Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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.001638/0.001638, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001909/0.001909, allocations: 169 kB / 24.28 MB, free: 276 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.9546/0.9546, allocations: 177.1 MB / 204.6 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.723/1.723, allocations: 359 MB / 0.6055 GB, free: 10.99 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.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 0.7871 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.537e-05/1.676e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.008039/0.008055, allocations: 10.12 MB / 0.797 GB, free: 2.617 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003752/0.01181, allocations: 3.094 MB / 0.8 GB, free: 15.53 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003588/0.01217, allocations: 48.22 kB / 0.8001 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001081/0.01325, allocations: 0.7097 MB / 0.8008 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0009008/0.01415, allocations: 0.7447 MB / 0.8015 GB, free: 14.03 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008152/0.01496, allocations: 0.6505 MB / 0.8021 GB, free: 13.38 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.001864/0.01683, allocations: 2.777 MB / 0.8048 GB, free: 10.6 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001296/0.01812, allocations: 1.377 MB / 0.8062 GB, free: 9.18 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001418/0.01954, allocations: 1.59 MB / 0.8077 GB, free: 7.586 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001286/0.02083, allocations: 1.414 MB / 0.8091 GB, free: 6.172 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0002089/0.02104, allocations: 216.8 kB / 0.8093 GB, free: 5.961 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005643/0.0216, allocations: 471.2 kB / 0.8098 GB, free: 5.5 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0006251/0.02223, allocations: 1.061 MB / 0.8108 GB, free: 4.438 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0005377/0.02276, allocations: 0.7251 MB / 0.8115 GB, free: 3.711 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001384/0.02415, allocations: 2.018 MB / 0.8135 GB, free: 1.688 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.02415, allocations: 0 / 0.8135 GB, free: 1.688 MB / 0.7605 GB Notification: Performance of FrontEnd: time 9.92e-07/0.02415, allocations: 0.8438 kB / 0.8135 GB, free: 1.688 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.662e-05/0.02417, allocations: 0 / 0.8135 GB, free: 1.688 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.002044/0.02621, allocations: 2.07 MB / 0.8155 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.02625, allocations: 12.03 kB / 0.8155 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003342/0.02959, allocations: 1.175 MB / 0.8167 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001064/0.03065, allocations: 1.063 MB / 0.8177 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.708e-05/0.03071, allocations: 119.3 kB / 0.8178 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001682/0.03088, allocations: 144.3 kB / 0.818 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001899/0.03278, allocations: 1.661 MB / 0.8196 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.031e-05/0.03281, allocations: 12.11 kB / 0.8196 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001259/0.03293, allocations: 64.09 kB / 0.8196 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001423/0.03308, allocations: 175 kB / 0.8198 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001334/0.03441, allocations: 0.7205 MB / 0.8205 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006886/0.0413, allocations: 8.663 MB / 0.829 GB, free: 1.34 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007786/0.04207, allocations: 486.8 kB / 0.8294 GB, free: 0.8516 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004734/0.04255, allocations: 335.4 kB / 0.8298 GB, free: 0.5195 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.152e-05/0.0426, allocations: 12.66 kB / 0.8298 GB, free: 0.5078 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.04263, allocations: 42.05 kB / 0.8298 GB, free: 468 kB / 0.7761 GB Notification: Performance of pre-optimization done (n=82): time 2.184e-06/0.04263, allocations: 0 / 0.8298 GB, free: 468 kB / 0.7761 GB Notification: Performance of matching and sorting (n=139): time 0.01142/0.05404, allocations: 5.743 MB / 0.8354 GB, free: 10.7 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.05409, allocations: 68.72 kB / 0.8355 GB, free: 10.62 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006547/0.05474, allocations: 0.7569 MB / 0.8362 GB, free: 9.848 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 7.928e-05/0.05482, allocations: 49.7 kB / 0.8363 GB, free: 9.793 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003786/0.0552, allocations: 0.8074 MB / 0.8371 GB, free: 8.973 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003258/0.05552, allocations: 0.5114 MB / 0.8376 GB, free: 8.457 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003691/0.05589, allocations: 293.2 kB / 0.8378 GB, free: 8.16 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.05606, allocations: 0.5238 MB / 0.8384 GB, free: 7.629 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006228/0.05668, allocations: 335.8 kB / 0.8387 GB, free: 7.301 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008755/0.05755, allocations: 0.783 MB / 0.8394 GB, free: 6.359 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0015/0.05905, allocations: 1.197 MB / 0.8406 GB, free: 5 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.05906, allocations: 4 kB / 0.8406 GB, free: 4.996 MB / 0.7917 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.005268/0.06433, allocations: 2.834 MB / 0.8434 GB, free: 2.133 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.675e-05/0.06435, allocations: 12.03 kB / 0.8434 GB, free: 2.121 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.06437, allocations: 8 kB / 0.8434 GB, free: 2.113 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004604/0.06897, allocations: 1.869 MB / 0.8452 GB, free: 236 kB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004246/0.0694, allocations: 191.7 kB / 0.8454 GB, free: 44 kB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01536/0.08476, allocations: 14.82 MB / 0.8599 GB, free: 0.7383 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000715/0.08547, allocations: 95.89 kB / 0.86 GB, free: 0.6445 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9e-05/0.08556, allocations: 55.98 kB / 0.86 GB, free: 0.5898 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005587/0.08612, allocations: 244.2 kB / 0.8603 GB, free: 348 kB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001987/0.08632, allocations: 155.3 kB / 0.8604 GB, free: 192 kB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00521/0.09153, allocations: 2.737 MB / 0.8631 GB, free: 13.41 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/0.09154, allocations: 16.25 kB / 0.8631 GB, free: 13.4 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.6e-05/0.09156, allocations: 16 kB / 0.8631 GB, free: 13.38 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.09157, allocations: 15.91 kB / 0.8631 GB, free: 13.37 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007042/0.09861, allocations: 4.69 MB / 0.8677 GB, free: 8.555 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.09861, allocations: 0 / 0.8677 GB, free: 8.555 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002384/0.09885, allocations: 123.8 kB / 0.8678 GB, free: 8.434 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004438/0.1033, allocations: 1.763 MB / 0.8695 GB, free: 6.656 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.229e-05/0.1034, allocations: 24 kB / 0.8696 GB, free: 6.633 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01344/0.1168, allocations: 13.63 MB / 0.8829 GB, free: 8.52 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.1168, allocations: 4 kB / 0.8829 GB, free: 8.516 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004824/0.1216, allocations: 2.8 MB / 0.8856 GB, free: 5.605 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004751/0.1221, allocations: 382.9 kB / 0.886 GB, free: 5.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001296/0.1222, allocations: 35.95 kB / 0.886 GB, free: 5.195 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004349/0.1227, allocations: 75.91 kB / 0.8861 GB, free: 5.121 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003257/0.123, allocations: 132.9 kB / 0.8862 GB, free: 4.992 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.429e-05/0.1231, allocations: 32 kB / 0.8862 GB, free: 4.961 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003985/0.1235, allocations: 474.9 kB / 0.8867 GB, free: 4.504 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1235, allocations: 0 / 0.8867 GB, free: 4.504 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001563/0.125, allocations: 0.7227 MB / 0.8874 GB, free: 3.781 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (62): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001837/0.1252, allocations: 139.1 kB / 0.8875 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.003059/0.1283, allocations: 2.485 MB / 0.89 GB, free: 1.09 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.1283, allocations: 4.562 kB / 0.89 GB, free: 1.086 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.002342/0.1306, allocations: 2.015 MB / 0.8919 GB, free: 15 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007234/0.1313, allocations: 225 kB / 0.8921 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003603/0.1349, allocations: 3.26 MB / 0.8953 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004116/0.1353, allocations: 0.5384 MB / 0.8959 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003624/0.1357, allocations: 253.2 kB / 0.8961 GB, free: 10.61 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.1358, allocations: 56.5 kB / 0.8961 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of SimCode: time 1.062e-06/0.1358, allocations: 0 / 0.8961 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of Templates: time 0.03808/0.1739, allocations: 42.85 MB / 0.938 GB, free: 15.95 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.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.4764596179593354]