Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.001405/0.001405, allocations: 83.69 kB / 20.45 MB, free: 4.129 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.001557/0.001557, allocations: 161 kB / 23.82 MB, free: 0.7617 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.9234/0.9234, allocations: 177.1 MB / 204.2 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.88/1.88, allocations: 377.8 MB / 0.6236 GB, free: 8.559 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.8115 GB, free: 1.734 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.123e-05/2.267e-05, allocations: 3.406 kB / 0.8115 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.009881/0.009903, allocations: 10.6 MB / 0.8219 GB, free: 7.102 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.008652/0.01856, allocations: 6.923 MB / 0.8286 GB, free: 200 kB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001203/0.01976, allocations: 94.12 kB / 0.8287 GB, free: 108 kB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001108/0.02087, allocations: 385 kB / 0.8291 GB, free: 15.73 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.003802/0.02467, allocations: 1.71 MB / 0.8308 GB, free: 14.03 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.001242/0.02591, allocations: 0.6511 MB / 0.8314 GB, free: 13.38 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.003237/0.02915, allocations: 2.851 MB / 0.8342 GB, free: 10.51 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001917/0.03106, allocations: 1.188 MB / 0.8354 GB, free: 9.289 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002544/0.03361, allocations: 2.106 MB / 0.8374 GB, free: 7.18 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001239/0.03485, allocations: 0.9699 MB / 0.8384 GB, free: 6.207 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0002686/0.03512, allocations: 156 kB / 0.8385 GB, free: 6.055 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005901/0.03571, allocations: 319.6 kB / 0.8388 GB, free: 5.742 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0004298/0.03614, allocations: 0.6386 MB / 0.8394 GB, free: 5.102 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0006062/0.03674, allocations: 0.6391 MB / 0.8401 GB, free: 4.461 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.001845/0.03859, allocations: 1.549 MB / 0.8416 GB, free: 2.906 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.03859, allocations: 4 kB / 0.8416 GB, free: 2.902 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.452e-06/0.03859, allocations: 0 / 0.8416 GB, free: 2.902 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 5.952e-05/0.03865, allocations: 0 / 0.8416 GB, free: 2.902 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.002517/0.04117, allocations: 2.182 MB / 0.8437 GB, free: 0.6758 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.04121, allocations: 8.031 kB / 0.8437 GB, free: 0.668 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004831/0.04604, allocations: 1.797 MB / 0.8455 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001611/0.04766, allocations: 1.234 MB / 0.8467 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.166e-05/0.04771, allocations: 86.69 kB / 0.8468 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001789/0.04789, allocations: 120.3 kB / 0.8469 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002641/0.05053, allocations: 1.955 MB / 0.8488 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.387e-05/0.05056, allocations: 15.83 kB / 0.8488 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001112/0.05067, allocations: 59.91 kB / 0.8489 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003592/0.05103, allocations: 194.1 kB / 0.849 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00132/0.05235, allocations: 0.8486 MB / 0.8499 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007451/0.0598, allocations: 8.351 MB / 0.858 GB, free: 1.5 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001453/0.06126, allocations: 0.8337 MB / 0.8588 GB, free: 0.6602 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005121/0.06177, allocations: 363 kB / 0.8592 GB, free: 312 kB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 6.45e-05/0.06183, allocations: 17 kB / 0.8592 GB, free: 292 kB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.06186, allocations: 46.39 kB / 0.8592 GB, free: 236 kB / 0.8073 GB Notification: Performance of pre-optimization done (n=89): time 2.795e-06/0.06187, allocations: 4 kB / 0.8592 GB, free: 232 kB / 0.8073 GB Notification: Performance of matching and sorting (n=153): time 0.01149/0.07336, allocations: 5.906 MB / 0.865 GB, free: 10.29 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/0.0734, allocations: 68.72 kB / 0.8651 GB, free: 10.21 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008685/0.07426, allocations: 1.012 MB / 0.8661 GB, free: 9.188 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 9.893e-05/0.07436, allocations: 49.7 kB / 0.8661 GB, free: 9.133 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004036/0.07477, allocations: 0.8098 MB / 0.8669 GB, free: 8.312 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000377/0.07514, allocations: 0.5422 MB / 0.8674 GB, free: 7.766 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003916/0.07554, allocations: 285.1 kB / 0.8677 GB, free: 7.48 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.07565, allocations: 476.8 kB / 0.8682 GB, free: 7.012 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007193/0.07637, allocations: 495.7 kB / 0.8686 GB, free: 6.527 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008734/0.07725, allocations: 0.8508 MB / 0.8695 GB, free: 5.547 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001878/0.07912, allocations: 1.383 MB / 0.8708 GB, free: 4.035 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.07913, allocations: 3.938 kB / 0.8708 GB, free: 4.031 MB / 0.823 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.004709/0.08384, allocations: 2.79 MB / 0.8735 GB, free: 1.195 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.08387, allocations: 11.94 kB / 0.8736 GB, free: 1.184 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.08388, allocations: 8.875 kB / 0.8736 GB, free: 1.176 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004492/0.08837, allocations: 1.676 MB / 0.8752 GB, free: 15.47 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007718/0.08914, allocations: 311.4 kB / 0.8755 GB, free: 15.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0156/0.1047, allocations: 19.39 MB / 0.8944 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/0.1061, allocations: 191.7 kB / 0.8946 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001197/0.1062, allocations: 63.97 kB / 0.8947 GB, free: 10.55 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004858/0.1067, allocations: 248.3 kB / 0.8949 GB, free: 10.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002993/0.107, allocations: 211 kB / 0.8951 GB, free: 10.09 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004955/0.1119, allocations: 2.714 MB / 0.8978 GB, free: 7.328 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-05/0.1119, allocations: 16 kB / 0.8978 GB, free: 7.312 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.684e-05/0.112, allocations: 16 kB / 0.8978 GB, free: 7.297 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.719e-06/0.112, allocations: 11.97 kB / 0.8978 GB, free: 7.285 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006551/0.1185, allocations: 4.101 MB / 0.9018 GB, free: 3.062 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.186e-06/0.1185, allocations: 4 kB / 0.9018 GB, free: 3.059 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006414/0.1192, allocations: 239.6 kB / 0.902 GB, free: 2.824 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004322/0.1235, allocations: 1.609 MB / 0.9036 GB, free: 1.188 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001306/0.1236, allocations: 47.95 kB / 0.9037 GB, free: 1.141 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01537/0.139, allocations: 19.27 MB / 0.9225 GB, free: 12.89 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.139, allocations: 4 kB / 0.9225 GB, free: 12.89 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004621/0.1436, allocations: 2.619 MB / 0.925 GB, free: 10.17 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001121/0.1447, allocations: 394.7 kB / 0.9254 GB, free: 9.781 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001867/0.1449, allocations: 28 kB / 0.9254 GB, free: 9.754 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008814/0.1458, allocations: 203.7 kB / 0.9256 GB, free: 9.555 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005018/0.1463, allocations: 164.9 kB / 0.9258 GB, free: 9.391 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.374e-05/0.1464, allocations: 51.97 kB / 0.9258 GB, free: 9.34 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0006601/0.1471, allocations: 0.6175 MB / 0.9265 GB, free: 8.719 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7e-08/0.1471, allocations: 0 / 0.9265 GB, free: 8.719 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001859/0.1489, allocations: 0.6601 MB / 0.9271 GB, free: 8.059 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002945/0.1492, allocations: 131.2 kB / 0.9272 GB, free: 7.922 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004299/0.1535, allocations: 3.436 MB / 0.9306 GB, free: 4.344 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.1535, allocations: 4 kB / 0.9306 GB, free: 4.34 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.003206/0.1567, allocations: 2.784 MB / 0.9333 GB, free: 1.406 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001617/0.1583, allocations: 0.5301 MB / 0.9338 GB, free: 0.8984 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005069/0.1634, allocations: 3.21 MB / 0.937 GB, free: 13.61 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006087/0.164, allocations: 0.5082 MB / 0.9374 GB, free: 13.07 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0008669/0.1649, allocations: 313.2 kB / 0.9377 GB, free: 12.76 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002635/0.1652, allocations: 100.4 kB / 0.9378 GB, free: 12.66 MB / 0.9011 GB Notification: Performance of SimCode: time 2.254e-06/0.1652, allocations: 4 kB / 0.9378 GB, free: 12.66 MB / 0.9011 GB Notification: Performance of Templates: time 0.05337/0.2185, allocations: 47.52 MB / 0.9843 GB, free: 13.84 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.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: 6.092699421104044]