Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002541/0.002541, allocations: 87.69 kB / 20.24 MB, free: 4.188 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.002176/0.002176, allocations: 161.7 kB / 23.55 MB, free: 0.875 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 1.547/1.547, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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 2.979/2.979, allocations: 377.8 MB / 0.6232 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 176] 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.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_12_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.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 0.8108 GB, free: 2.129 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.995e-05/3.182e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.125 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.01394/0.01398, allocations: 6.217 MB / 0.8169 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.008645/0.02262, allocations: 3.23 MB / 0.82 GB, free: 8.676 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007364/0.02336, allocations: 39.62 kB / 0.8201 GB, free: 8.637 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.003654/0.02701, allocations: 0.962 MB / 0.821 GB, free: 7.676 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.001958/0.02897, allocations: 0.4963 MB / 0.8215 GB, free: 7.18 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001896/0.03087, allocations: 0.5014 MB / 0.822 GB, free: 6.68 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.002203/0.03307, allocations: 1.143 MB / 0.8231 GB, free: 5.531 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001512/0.03458, allocations: 0.51 MB / 0.8236 GB, free: 5.02 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001406/0.03599, allocations: 0.6126 MB / 0.8242 GB, free: 4.406 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000985/0.03697, allocations: 429.1 kB / 0.8246 GB, free: 3.988 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001584/0.03713, allocations: 60 kB / 0.8247 GB, free: 3.93 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001237/0.03837, allocations: 446.8 kB / 0.8251 GB, free: 3.492 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0004989/0.03887, allocations: 311.1 kB / 0.8254 GB, free: 3.188 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0005357/0.0394, allocations: 275.3 kB / 0.8256 GB, free: 2.918 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.002322/0.04172, allocations: 1.215 MB / 0.8268 GB, free: 1.699 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.04173, allocations: 3.375 kB / 0.8268 GB, free: 1.699 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.613e-06/0.04173, allocations: 0 / 0.8268 GB, free: 1.699 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.338e-05/0.04174, allocations: 0 / 0.8268 GB, free: 1.699 MB / 0.7761 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.002617/0.04436, allocations: 1.146 MB / 0.828 GB, free: 0.5156 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.04441, allocations: 8.031 kB / 0.828 GB, free: 0.5078 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002646/0.04706, allocations: 340.1 kB / 0.8283 GB, free: 180 kB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001625/0.04868, allocations: 0.5661 MB / 0.8288 GB, free: 15.6 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.318e-05/0.04876, allocations: 45.69 kB / 0.8289 GB, free: 15.55 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001838/0.04894, allocations: 72.3 kB / 0.829 GB, free: 15.48 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002114/0.05105, allocations: 0.9561 MB / 0.8299 GB, free: 14.35 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.807e-05/0.0511, allocations: 12.11 kB / 0.8299 GB, free: 14.34 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/0.05121, allocations: 28.38 kB / 0.8299 GB, free: 14.31 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001451/0.05135, allocations: 65.22 kB / 0.83 GB, free: 14.25 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/0.05279, allocations: 381.5 kB / 0.8304 GB, free: 13.88 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008715/0.0615, allocations: 5.8 MB / 0.836 GB, free: 7.879 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000969/0.06247, allocations: 260.2 kB / 0.8363 GB, free: 7.613 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001053/0.06352, allocations: 264.6 kB / 0.8365 GB, free: 7.355 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 5.635e-05/0.06358, allocations: 8 kB / 0.8365 GB, free: 7.348 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.976e-05/0.06363, allocations: 41.38 kB / 0.8366 GB, free: 7.297 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=41): time 2.915e-06/0.06363, allocations: 0 / 0.8366 GB, free: 7.297 MB / 0.7917 GB Notification: Performance of matching and sorting (n=42): time 0.006054/0.06969, allocations: 1.194 MB / 0.8377 GB, free: 6.078 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.4e-05/0.06976, allocations: 55.41 kB / 0.8378 GB, free: 6.012 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009585/0.07072, allocations: 0.557 MB / 0.8383 GB, free: 5.438 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 5.221e-05/0.07077, allocations: 33.7 kB / 0.8384 GB, free: 5.398 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.000511/0.07128, allocations: 462.7 kB / 0.8388 GB, free: 4.941 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002324/0.07151, allocations: 162.7 kB / 0.839 GB, free: 4.781 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003086/0.07182, allocations: 124 kB / 0.8391 GB, free: 4.652 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0004613/0.07228, allocations: 0.5547 MB / 0.8396 GB, free: 4.086 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003829/0.07267, allocations: 117.2 kB / 0.8397 GB, free: 3.973 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007885/0.07346, allocations: 432.7 kB / 0.8401 GB, free: 3.418 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001314/0.07477, allocations: 0.6077 MB / 0.8407 GB, free: 2.68 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.135e-06/0.07478, allocations: 4 kB / 0.8407 GB, free: 2.676 MB / 0.7917 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002603/0.07738, allocations: 0.7724 MB / 0.8415 GB, free: 1.879 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.866e-05/0.07741, allocations: 8 kB / 0.8415 GB, free: 1.871 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.38e-05/0.07743, allocations: 15.98 kB / 0.8415 GB, free: 1.855 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001765/0.0792, allocations: 286.9 kB / 0.8418 GB, free: 1.559 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005375/0.07973, allocations: 95.77 kB / 0.8419 GB, free: 1.465 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01187/0.0916, allocations: 7.888 MB / 0.8496 GB, free: 9.086 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007258/0.09233, allocations: 27.98 kB / 0.8496 GB, free: 9.059 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.448e-05/0.0924, allocations: 24 kB / 0.8496 GB, free: 9.035 MB / 0.8073 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.0004695/0.09287, allocations: 232.5 kB / 0.8499 GB, free: 8.797 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001965/0.09307, allocations: 75.62 kB / 0.8499 GB, free: 8.723 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002206/0.09528, allocations: 0.5907 MB / 0.8505 GB, free: 8.105 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.09529, allocations: 4 kB / 0.8505 GB, free: 8.102 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/0.0953, allocations: 4 kB / 0.8505 GB, free: 8.098 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/0.09531, allocations: 7.922 kB / 0.8505 GB, free: 8.09 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004169/0.09948, allocations: 1.279 MB / 0.8518 GB, free: 6.727 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/0.09949, allocations: 4 kB / 0.8518 GB, free: 6.723 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002828/0.09977, allocations: 43.84 kB / 0.8518 GB, free: 6.68 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001612/0.1014, allocations: 278.7 kB / 0.8521 GB, free: 6.391 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.689e-05/0.1014, allocations: 11.98 kB / 0.8521 GB, free: 6.379 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01127/0.1127, allocations: 7.882 MB / 0.8598 GB, free: 14 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.19e-05/0.1127, allocations: 7.938 kB / 0.8598 GB, free: 14 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002277/0.115, allocations: 0.7782 MB / 0.8606 GB, free: 13.16 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003925/0.1154, allocations: 95.52 kB / 0.8606 GB, free: 13.06 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.918e-05/0.1155, allocations: 12 kB / 0.8607 GB, free: 13.05 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002699/0.1157, allocations: 15.98 kB / 0.8607 GB, free: 13.04 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/0.1159, allocations: 39.92 kB / 0.8607 GB, free: 13 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-05/0.1159, allocations: 16 kB / 0.8607 GB, free: 12.98 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0004194/0.1163, allocations: 346.8 kB / 0.8611 GB, free: 12.64 MB / 0.823 GB Notification: Performance of sort global known variables: time 8e-08/0.1163, allocations: 0 / 0.8611 GB, free: 12.64 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0008182/0.1171, allocations: 200 kB / 0.8612 GB, free: 12.45 MB / 0.823 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.0001865/0.1173, allocations: 107.2 kB / 0.8613 GB, free: 12.34 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002005/0.1193, allocations: 1.2 MB / 0.8625 GB, free: 11.07 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.1193, allocations: 0 / 0.8625 GB, free: 11.07 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001425/0.1208, allocations: 0.9791 MB / 0.8635 GB, free: 10.01 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/0.1218, allocations: 202.5 kB / 0.8637 GB, free: 9.816 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002206/0.124, allocations: 1.175 MB / 0.8648 GB, free: 8.582 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007443/0.1248, allocations: 390.9 kB / 0.8652 GB, free: 8.176 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0002806/0.125, allocations: 84.98 kB / 0.8653 GB, free: 8.09 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.524e-05/0.1251, allocations: 36.5 kB / 0.8653 GB, free: 8.055 MB / 0.823 GB Notification: Performance of SimCode: time 1.553e-06/0.1251, allocations: 0 / 0.8653 GB, free: 8.055 MB / 0.823 GB Notification: Performance of Templates: time 0.02234/0.1475, allocations: 10.53 MB / 0.8756 GB, free: 13.74 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.518902537995018]