Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.0009263/0.0009263, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0009414/0.0009414, allocations: 169 kB / 23.27 MB, free: 1.219 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.9089/0.9089, allocations: 177.1 MB / 203.7 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.276/2.276, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.ACLine_L,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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 0.8897 GB, free: 9.711 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.382e-05/2.56e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.707 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.004346/0.004371, allocations: 4.142 MB / 0.8938 GB, free: 5.547 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002417/0.006789, allocations: 1.552 MB / 0.8953 GB, free: 3.988 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003708/0.00716, allocations: 43.62 kB / 0.8954 GB, free: 3.945 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.000581/0.00774, allocations: 194.6 kB / 0.8955 GB, free: 3.754 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0007221/0.008463, allocations: 405.4 kB / 0.8959 GB, free: 3.355 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006461/0.009109, allocations: 383.3 kB / 0.8963 GB, free: 2.98 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001058/0.01017, allocations: 1.147 MB / 0.8974 GB, free: 1.828 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006708/0.01084, allocations: 0.5177 MB / 0.8979 GB, free: 1.305 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007718/0.01161, allocations: 0.6195 MB / 0.8985 GB, free: 0.6836 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000556/0.01217, allocations: 442.8 kB / 0.8989 GB, free: 256 kB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 7.91e-05/0.01224, allocations: 56 kB / 0.899 GB, free: 200 kB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002442/0.01249, allocations: 139.8 kB / 0.8991 GB, free: 60 kB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.000462/0.01295, allocations: 311.1 kB / 0.8994 GB, free: 15.75 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002158/0.01317, allocations: 267.3 kB / 0.8997 GB, free: 15.49 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0006344/0.0138, allocations: 0.6694 MB / 0.9003 GB, free: 14.82 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.0138, allocations: 0 / 0.9003 GB, free: 14.82 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.162e-06/0.01381, allocations: 0 / 0.9003 GB, free: 14.82 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.452e-05/0.01382, allocations: 0 / 0.9003 GB, free: 14.82 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001106/0.01493, allocations: 1.059 MB / 0.9014 GB, free: 13.72 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.01497, allocations: 8.625 kB / 0.9014 GB, free: 13.71 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007883/0.01575, allocations: 279.8 kB / 0.9016 GB, free: 13.44 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006361/0.01639, allocations: 0.5368 MB / 0.9022 GB, free: 12.88 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.781e-05/0.01642, allocations: 45.67 kB / 0.9022 GB, free: 12.84 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.759e-05/0.01649, allocations: 68.36 kB / 0.9023 GB, free: 12.77 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006673/0.01715, allocations: 0.8545 MB / 0.9031 GB, free: 11.73 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.519e-05/0.01718, allocations: 16.08 kB / 0.9031 GB, free: 11.72 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.917e-05/0.01722, allocations: 32.36 kB / 0.9032 GB, free: 11.69 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.273e-05/0.01728, allocations: 65.22 kB / 0.9032 GB, free: 11.62 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002873/0.01757, allocations: 280.5 kB / 0.9035 GB, free: 11.35 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003209/0.02078, allocations: 5.514 MB / 0.9089 GB, free: 5.645 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003324/0.02111, allocations: 234.8 kB / 0.9091 GB, free: 5.402 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000298/0.02141, allocations: 227.5 kB / 0.9093 GB, free: 5.176 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.739e-05/0.02144, allocations: 12 kB / 0.9093 GB, free: 5.164 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.02146, allocations: 38.08 kB / 0.9094 GB, free: 5.117 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=41): time 2.805e-06/0.02146, allocations: 0 / 0.9094 GB, free: 5.117 MB / 0.8698 GB Notification: Performance of matching and sorting (n=42): time 0.001723/0.02318, allocations: 0.9604 MB / 0.9103 GB, free: 4.133 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.576e-05/0.02321, allocations: 59.41 kB / 0.9104 GB, free: 4.062 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002589/0.02347, allocations: 470.2 kB / 0.9108 GB, free: 3.586 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.02349, allocations: 33.7 kB / 0.9108 GB, free: 3.547 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001835/0.02368, allocations: 454.6 kB / 0.9113 GB, free: 3.098 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 8.166e-05/0.02376, allocations: 166.6 kB / 0.9114 GB, free: 2.934 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.02386, allocations: 115.9 kB / 0.9115 GB, free: 2.812 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.024, allocations: 0.5429 MB / 0.9121 GB, free: 2.258 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.48e-05/0.02409, allocations: 77.25 kB / 0.9121 GB, free: 2.184 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002091/0.0243, allocations: 384.6 kB / 0.9125 GB, free: 1.676 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003489/0.02465, allocations: 0.5061 MB / 0.913 GB, free: 1.039 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.02465, allocations: 4 kB / 0.913 GB, free: 1.035 MB / 0.8698 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0009705/0.02562, allocations: 0.6596 MB / 0.9137 GB, free: 360 kB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.02564, allocations: 12.03 kB / 0.9137 GB, free: 348 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.02565, allocations: 8 kB / 0.9137 GB, free: 340 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005237/0.02617, allocations: 250.5 kB / 0.9139 GB, free: 72 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001716/0.02634, allocations: 91.83 kB / 0.914 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003929/0.03027, allocations: 7.586 MB / 0.9214 GB, free: 7.934 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002292/0.0305, allocations: 16 kB / 0.9214 GB, free: 7.918 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.276e-05/0.03052, allocations: 24 kB / 0.9214 GB, free: 7.895 MB / 0.8855 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001937/0.03072, allocations: 188.4 kB / 0.9216 GB, free: 7.699 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.479e-05/0.03079, allocations: 75.61 kB / 0.9217 GB, free: 7.625 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006108/0.0314, allocations: 0.5129 MB / 0.9222 GB, free: 7.09 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.03141, allocations: 7.938 kB / 0.9222 GB, free: 7.082 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.03141, allocations: 4 kB / 0.9222 GB, free: 7.078 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.03142, allocations: 3.984 kB / 0.9222 GB, free: 7.074 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001084/0.0325, allocations: 1.006 MB / 0.9232 GB, free: 5.992 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.0325, allocations: 0 / 0.9232 GB, free: 5.992 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.239e-05/0.03259, allocations: 39.92 kB / 0.9232 GB, free: 5.953 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004712/0.03306, allocations: 238.7 kB / 0.9235 GB, free: 5.703 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/0.03308, allocations: 12 kB / 0.9235 GB, free: 5.691 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00353/0.03661, allocations: 7.564 MB / 0.9309 GB, free: 13.67 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.03661, allocations: 7.938 kB / 0.9309 GB, free: 13.66 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000704/0.03732, allocations: 0.6879 MB / 0.9315 GB, free: 12.91 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/0.03744, allocations: 95.5 kB / 0.9316 GB, free: 12.82 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.019e-05/0.03747, allocations: 12 kB / 0.9316 GB, free: 12.81 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.03759, allocations: 8 kB / 0.9316 GB, free: 12.8 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.827e-05/0.03767, allocations: 39.92 kB / 0.9317 GB, free: 12.76 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.03769, allocations: 8 kB / 0.9317 GB, free: 12.75 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.000144/0.03783, allocations: 286.7 kB / 0.932 GB, free: 12.48 MB / 0.9011 GB Notification: Performance of sort global known variables: time 9e-08/0.03783, allocations: 3.938 kB / 0.932 GB, free: 12.47 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.00054/0.03837, allocations: 196 kB / 0.9322 GB, free: 12.28 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001207/0.03849, allocations: 111.2 kB / 0.9323 GB, free: 12.16 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.000884/0.03938, allocations: 1.113 MB / 0.9333 GB, free: 10.98 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.03938, allocations: 4.125 kB / 0.9334 GB, free: 10.98 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0008116/0.04019, allocations: 0.9321 MB / 0.9343 GB, free: 9.969 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00056/0.04075, allocations: 201.2 kB / 0.9345 GB, free: 9.773 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001397/0.04215, allocations: 1.166 MB / 0.9356 GB, free: 8.547 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000155/0.0423, allocations: 202.3 kB / 0.9358 GB, free: 8.328 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001652/0.04247, allocations: 65.05 kB / 0.9358 GB, free: 8.262 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002378/0.0427, allocations: 206.1 kB / 0.936 GB, free: 8.059 MB / 0.9011 GB Notification: Performance of SimCode: time 1.423e-06/0.04271, allocations: 0 / 0.936 GB, free: 8.059 MB / 0.9011 GB Notification: Performance of Templates: time 0.01416/0.05686, allocations: 11.09 MB / 0.9469 GB, free: 13.16 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.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.247016593813896]