Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.0009527/0.0009527, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.0009379/0.0009379, allocations: 169 kB / 24.06 MB, free: 452 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.9194/0.9194, allocations: 177.1 MB / 204.5 MB, free: 5.488 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.077/2.077, allocations: 429.5 MB / 0.6743 GB, free: 3.918 MB / 0.6355 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,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") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 3.938 kB / 0.8794 GB, free: 4.875 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 6.293e-05/6.451e-05, allocations: 2.312 kB / 0.8794 GB, free: 4.871 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01538/0.01545, allocations: 9.633 MB / 0.8888 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.01095/0.0264, allocations: 5.905 MB / 0.8946 GB, free: 5.332 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001604/0.028, allocations: 87.19 kB / 0.8947 GB, free: 5.246 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.001403/0.0294, allocations: 377.1 kB / 0.895 GB, free: 4.875 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.004385/0.03379, allocations: 1.423 MB / 0.8964 GB, free: 3.449 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.00172/0.03551, allocations: 0.6628 MB / 0.8971 GB, free: 2.785 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.003689/0.0392, allocations: 2.615 MB / 0.8996 GB, free: 164 kB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002272/0.04147, allocations: 1.184 MB / 0.9008 GB, free: 14.93 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002733/0.0442, allocations: 1.582 MB / 0.9023 GB, free: 13.35 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001796/0.046, allocations: 1.009 MB / 0.9033 GB, free: 12.34 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0004293/0.04643, allocations: 164 kB / 0.9034 GB, free: 12.18 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007962/0.04722, allocations: 323.6 kB / 0.9038 GB, free: 11.86 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0006665/0.04789, allocations: 0.6543 MB / 0.9044 GB, free: 11.21 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.001024/0.04892, allocations: 0.6391 MB / 0.905 GB, free: 10.57 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.002214/0.05113, allocations: 1.538 MB / 0.9065 GB, free: 9.023 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.05113, allocations: 0 / 0.9065 GB, free: 9.023 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.353e-06/0.05114, allocations: 0 / 0.9065 GB, free: 9.023 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.101e-05/0.0512, allocations: 0 / 0.9065 GB, free: 9.023 MB / 0.823 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.003946/0.05514, allocations: 2.143 MB / 0.9086 GB, free: 6.836 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.05518, allocations: 8.031 kB / 0.9086 GB, free: 6.828 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00614/0.06132, allocations: 0.893 MB / 0.9095 GB, free: 5.934 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002337/0.06366, allocations: 1.149 MB / 0.9106 GB, free: 4.738 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.47e-05/0.06374, allocations: 90.73 kB / 0.9107 GB, free: 4.648 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002906/0.06403, allocations: 124.3 kB / 0.9108 GB, free: 4.527 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003103/0.06714, allocations: 1.694 MB / 0.9125 GB, free: 2.598 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.173e-05/0.06717, allocations: 7.938 kB / 0.9125 GB, free: 2.59 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001118/0.06728, allocations: 55.98 kB / 0.9125 GB, free: 2.535 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003169/0.0676, allocations: 142.2 kB / 0.9127 GB, free: 2.395 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008363/0.06843, allocations: 0.6712 MB / 0.9133 GB, free: 1.711 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005741/0.07418, allocations: 7.821 MB / 0.921 GB, free: 9.684 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/0.07521, allocations: 0.563 MB / 0.9215 GB, free: 9.109 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003484/0.07555, allocations: 302.4 kB / 0.9218 GB, free: 8.812 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.255e-05/0.07561, allocations: 24.98 kB / 0.9218 GB, free: 8.789 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.07563, allocations: 46.39 kB / 0.9219 GB, free: 8.73 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=89): time 2.705e-06/0.07564, allocations: 0 / 0.9219 GB, free: 8.73 MB / 0.8386 GB Notification: Performance of matching and sorting (n=131): time 0.007599/0.08323, allocations: 4.155 MB / 0.9259 GB, free: 4.523 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/0.08326, allocations: 64.72 kB / 0.926 GB, free: 4.449 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005619/0.08382, allocations: 0.9362 MB / 0.9269 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.056e-05/0.0839, allocations: 45.7 kB / 0.9269 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003353/0.08424, allocations: 0.7929 MB / 0.9277 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002559/0.0845, allocations: 475.9 kB / 0.9282 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003141/0.08481, allocations: 269 kB / 0.9284 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.08494, allocations: 0.5393 MB / 0.929 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003809/0.08532, allocations: 319.8 kB / 0.9293 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000534/0.08586, allocations: 0.671 MB / 0.9299 GB, free: 248 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009733/0.08683, allocations: 1.062 MB / 0.931 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.08683, allocations: 7.938 kB / 0.931 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.003333/0.09017, allocations: 2.114 MB / 0.933 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.09018, allocations: 9.281 kB / 0.933 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.09019, allocations: 8 kB / 0.933 GB, free: 12.85 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003529/0.09372, allocations: 1.338 MB / 0.9344 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005904/0.09431, allocations: 207.6 kB / 0.9346 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01369/0.108, allocations: 25.93 MB / 0.9599 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007007/0.1087, allocations: 51.98 kB / 0.9599 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.961e-05/0.1088, allocations: 55.95 kB / 0.96 GB, free: 15.73 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003516/0.1091, allocations: 236.3 kB / 0.9602 GB, free: 15.49 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002316/0.1094, allocations: 195.1 kB / 0.9604 GB, free: 15.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00328/0.1127, allocations: 2.036 MB / 0.9624 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.1127, allocations: 12 kB / 0.9624 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/0.1127, allocations: 12 kB / 0.9624 GB, free: 13.17 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.1127, allocations: 7.969 kB / 0.9624 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004651/0.1173, allocations: 3.271 MB / 0.9656 GB, free: 9.754 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.1173, allocations: 4 kB / 0.9656 GB, free: 9.75 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004807/0.1178, allocations: 147.7 kB / 0.9657 GB, free: 9.605 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003231/0.1211, allocations: 1.276 MB / 0.967 GB, free: 8.273 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.061e-05/0.1211, allocations: 35.97 kB / 0.967 GB, free: 8.238 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01158/0.1327, allocations: 25.14 MB / 0.9916 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.1327, allocations: 4 kB / 0.9916 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002922/0.1356, allocations: 2.041 MB / 0.9936 GB, free: 11.45 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003677/0.136, allocations: 322.8 kB / 0.9939 GB, free: 11.13 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001343/0.1361, allocations: 31.92 kB / 0.9939 GB, free: 11.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005424/0.1367, allocations: 47.98 kB / 0.994 GB, free: 11.05 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002024/0.1369, allocations: 136.6 kB / 0.9941 GB, free: 10.92 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.205e-05/0.1369, allocations: 39.97 kB / 0.9941 GB, free: 10.88 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0003296/0.1373, allocations: 0.5409 MB / 0.9947 GB, free: 10.33 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8e-08/0.1373, allocations: 0 / 0.9947 GB, free: 10.33 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001186/0.1385, allocations: 0.5859 MB / 0.9952 GB, free: 9.746 MB / 0.9167 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000188/0.1387, allocations: 141 kB / 0.9954 GB, free: 9.602 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.003024/0.1417, allocations: 3.715 MB / 0.999 GB, free: 5.652 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.1417, allocations: 0 / 0.999 GB, free: 5.652 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.002276/0.144, allocations: 3.168 MB / 1.002 GB, free: 2.25 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001148/0.1451, allocations: 0.5122 MB / 1.003 GB, free: 1.754 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003549/0.1487, allocations: 2.947 MB / 1.005 GB, free: 14.71 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003727/0.149, allocations: 451.1 kB / 1.006 GB, free: 14.25 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0006611/0.1497, allocations: 292.5 kB / 1.006 GB, free: 13.96 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007617/0.1505, allocations: 493.7 kB / 1.007 GB, free: 13.48 MB / 0.9323 GB Notification: Performance of SimCode: time 8.42e-07/0.1505, allocations: 4 kB / 1.007 GB, free: 13.47 MB / 0.9323 GB Notification: Performance of Templates: time 0.3753/0.5258, allocations: 44.97 MB / 1.051 GB, free: 116.7 MB / 0.9323 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.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.558590122032911]