Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.001401/0.001401, allocations: 83.73 kB / 9.853 MB, free: 0.8398 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001775/0.003177, allocations: 447.8 kB / 10.29 MB, free: 408 kB / 10.45 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.001611/0.001611, allocations: 161.5 kB / 11.19 MB, free: 2.992 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001831/0.003442, allocations: 476.2 kB / 11.65 MB, free: 2.527 MB / 13.93 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 1.033/1.033, allocations: 177.2 MB / 189.5 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08676/1.119, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.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.251/2.251, allocations: 439.8 MB / 0.6677 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2214/2.473, allocations: 143.9 MB / 0.8083 GB, free: 12.79 MB / 0.7917 GB " [Timeout remaining time 178] Using package Buildings with version 15.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.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 0.8095 GB, free: 11.5 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.126e-05/1.239e-05, allocations: 6.25 kB / 0.8095 GB, free: 11.5 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.01415/0.01416, allocations: 18.77 MB / 0.8279 GB, free: 8.648 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.01082/0.02497, allocations: 9.741 MB / 0.8374 GB, free: 14.88 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001134/0.02611, allocations: 198.4 kB / 0.8376 GB, free: 14.68 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.001147/0.02726, allocations: 0.818 MB / 0.8384 GB, free: 13.86 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.003452/0.03071, allocations: 2.896 MB / 0.8412 GB, free: 10.95 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001748/0.03246, allocations: 1.603 MB / 0.8428 GB, free: 9.34 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.005815/0.03827, allocations: 8.569 MB / 0.8511 GB, free: 0.7461 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004096/0.04237, allocations: 4.864 MB / 0.8559 GB, free: 11.72 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00487/0.04724, allocations: 5.435 MB / 0.8612 GB, free: 6.258 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002978/0.05022, allocations: 3.639 MB / 0.8647 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0005848/0.0508, allocations: 0.5859 MB / 0.8653 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009686/0.05177, allocations: 0.6872 MB / 0.866 GB, free: 1.336 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.001774/0.05354, allocations: 2.732 MB / 0.8686 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.001699/0.05524, allocations: 2.054 MB / 0.8706 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.003642/0.05888, allocations: 4.931 MB / 0.8755 GB, free: 7.594 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.539e-05/0.0589, allocations: 0 / 0.8755 GB, free: 7.594 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.062e-06/0.0589, allocations: 0 / 0.8755 GB, free: 7.594 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.129e-05/0.05897, allocations: 0 / 0.8755 GB, free: 7.594 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.004437/0.06341, allocations: 4.885 MB / 0.8802 GB, free: 2.648 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.06344, allocations: 16.02 kB / 0.8803 GB, free: 2.633 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002821/0.06626, allocations: 1.359 MB / 0.8816 GB, free: 1.254 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002718/0.06898, allocations: 2.38 MB / 0.8839 GB, free: 14.77 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001496/0.06913, allocations: 320.8 kB / 0.8842 GB, free: 14.46 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000407/0.06954, allocations: 428.3 kB / 0.8846 GB, free: 14.04 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00368/0.07322, allocations: 4.164 MB / 0.8887 GB, free: 9.445 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.07e-05/0.07329, allocations: 23.77 kB / 0.8887 GB, free: 9.422 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002634/0.07355, allocations: 184 kB / 0.8889 GB, free: 9.242 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000364/0.07391, allocations: 312.1 kB / 0.8892 GB, free: 8.934 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001478/0.07539, allocations: 1.133 MB / 0.8903 GB, free: 7.773 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01123/0.08663, allocations: 15.26 MB / 0.9052 GB, free: 8.016 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005242/0.08715, allocations: 499.2 kB / 0.9057 GB, free: 7.523 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003956/0.08754, allocations: 420.1 kB / 0.9061 GB, free: 7.109 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 6.361e-05/0.08761, allocations: 25.25 kB / 0.9061 GB, free: 7.086 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.08764, allocations: 55.86 kB / 0.9061 GB, free: 7.02 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=130): time 2.865e-06/0.08764, allocations: 0 / 0.9061 GB, free: 7.02 MB / 0.8855 GB Notification: Performance of matching and sorting (n=133): time 0.006653/0.0943, allocations: 3.925 MB / 0.91 GB, free: 3.062 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.014e-05/0.09433, allocations: 72.72 kB / 0.91 GB, free: 2.977 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009328/0.09526, allocations: 1.536 MB / 0.9115 GB, free: 1.41 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.728e-05/0.09533, allocations: 53.7 kB / 0.9116 GB, free: 1.352 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006413/0.09597, allocations: 1.747 MB / 0.9133 GB, free: 15.58 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002348/0.0962, allocations: 495.7 kB / 0.9138 GB, free: 15.09 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002982/0.0965, allocations: 315.2 kB / 0.9141 GB, free: 14.78 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 5.697e-05/0.09656, allocations: 301.1 kB / 0.9144 GB, free: 14.48 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002671/0.09683, allocations: 207.9 kB / 0.9146 GB, free: 14.28 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005019/0.09733, allocations: 0.7602 MB / 0.9153 GB, free: 13.28 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001132/0.09846, allocations: 1.167 MB / 0.9164 GB, free: 11.88 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/0.09847, allocations: 4 kB / 0.9164 GB, free: 11.87 MB / 0.9011 GB Notification: Performance of matching and sorting (n=228) (initialization): time 0.002034/0.1005, allocations: 1.649 MB / 0.9181 GB, free: 10.18 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.1005, allocations: 12 kB / 0.9181 GB, free: 10.17 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/0.1005, allocations: 19.94 kB / 0.9181 GB, free: 10.15 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001815/0.1024, allocations: 0.8481 MB / 0.9189 GB, free: 9.262 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007447/0.1031, allocations: 363.5 kB / 0.9193 GB, free: 8.906 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007446/0.1105, allocations: 12.54 MB / 0.9315 GB, free: 11.49 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006544/0.1112, allocations: 55.98 kB / 0.9316 GB, free: 11.44 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.188e-05/0.1113, allocations: 64 kB / 0.9316 GB, free: 11.38 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (183): * Single equations (assignments): 174 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006125/0.1119, allocations: 232 kB / 0.9318 GB, free: 11.14 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000223/0.1121, allocations: 199.8 kB / 0.932 GB, free: 10.94 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001796/0.1139, allocations: 1.36 MB / 0.9334 GB, free: 9.527 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.1139, allocations: 20 kB / 0.9334 GB, free: 9.508 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.1139, allocations: 8 kB / 0.9334 GB, free: 9.5 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.1139, allocations: 7.969 kB / 0.9334 GB, free: 9.492 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003758/0.1177, allocations: 2.933 MB / 0.9363 GB, free: 6.445 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.1177, allocations: 4 kB / 0.9363 GB, free: 6.441 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004386/0.1181, allocations: 176.2 kB / 0.9364 GB, free: 6.27 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001996/0.1201, allocations: 0.8206 MB / 0.9372 GB, free: 5.41 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.96e-05/0.1202, allocations: 24 kB / 0.9373 GB, free: 5.387 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007161/0.1273, allocations: 12.55 MB / 0.9495 GB, free: 7.953 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.1274, allocations: 4 kB / 0.9495 GB, free: 7.949 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002054/0.1294, allocations: 1.498 MB / 0.951 GB, free: 6.348 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004/0.1298, allocations: 306.5 kB / 0.9513 GB, free: 6.047 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001619/0.13, allocations: 31.98 kB / 0.9513 GB, free: 6.016 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004369/0.1304, allocations: 39.92 kB / 0.9513 GB, free: 5.977 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002177/0.1306, allocations: 116.7 kB / 0.9514 GB, free: 5.863 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.597e-05/0.1307, allocations: 28 kB / 0.9515 GB, free: 5.836 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0005361/0.1312, allocations: 0.7701 MB / 0.9522 GB, free: 5.047 MB / 0.9323 GB Notification: Performance of sort global known variables: time 6e-08/0.1312, allocations: 0 / 0.9522 GB, free: 5.047 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001589/0.1328, allocations: 0.8671 MB / 0.9531 GB, free: 4.18 MB / 0.9323 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 (91): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,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.00017/0.133, allocations: 132.2 kB / 0.9532 GB, free: 4.039 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002025/0.135, allocations: 2.273 MB / 0.9554 GB, free: 1.656 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.084e-05/0.135, allocations: 29.81 kB / 0.9554 GB, free: 1.625 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001409/0.1364, allocations: 1.786 MB / 0.9572 GB, free: 15.72 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001892/0.1383, allocations: 0.8862 MB / 0.9581 GB, free: 14.86 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007067/0.1454, allocations: 6.765 MB / 0.9647 GB, free: 7.992 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007836/0.1462, allocations: 1.051 MB / 0.9657 GB, free: 6.922 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0006424/0.1468, allocations: 304.3 kB / 0.966 GB, free: 6.621 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001056/0.1479, allocations: 0.6747 MB / 0.9666 GB, free: 5.93 MB / 0.948 GB Notification: Performance of SimCode: time 1.112e-06/0.1479, allocations: 0 / 0.9666 GB, free: 5.93 MB / 0.948 GB Notification: Performance of Templates: time 0.05495/0.2028, allocations: 49.48 MB / 1.015 GB, free: 5.57 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_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.097769333049655]