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.001339/0.001339, allocations: 80.41 kB / 20.23 MB, free: 4.195 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.001675/0.001675, allocations: 161.7 kB / 23.55 MB, free: 0.8867 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.463/1.463, allocations: 177.1 MB / 203.9 MB, free: 5.215 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.948/2.948, allocations: 377.8 MB / 0.6232 GB, free: 8.516 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.ACLineMedium,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.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,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.ACLineMedium") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 0.8108 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.215e-05/3.402e-05, allocations: 5.125 kB / 0.8108 GB, free: 0.9531 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.0204/0.02043, allocations: 13.74 MB / 0.8242 GB, free: 3.184 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01857/0.039, allocations: 9.833 MB / 0.8338 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001778/0.04078, allocations: 87.19 kB / 0.8339 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.005127/0.04591, allocations: 1.7 MB / 0.8356 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.005926/0.05183, allocations: 1.895 MB / 0.8374 GB, free: 5.684 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.002104/0.05394, allocations: 0.7597 MB / 0.8382 GB, free: 4.922 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.004597/0.05853, allocations: 2.831 MB / 0.8409 GB, free: 2.078 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00202/0.06055, allocations: 1.199 MB / 0.8421 GB, free: 0.8438 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003422/0.06398, allocations: 2.098 MB / 0.8441 GB, free: 14.74 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001642/0.06562, allocations: 0.9387 MB / 0.8451 GB, free: 13.8 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0002648/0.06588, allocations: 160 kB / 0.8452 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001586/0.06747, allocations: 0.7366 MB / 0.8459 GB, free: 12.91 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0008592/0.06833, allocations: 0.6308 MB / 0.8465 GB, free: 12.27 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0009303/0.06926, allocations: 0.6468 MB / 0.8472 GB, free: 11.62 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.003958/0.07322, allocations: 2.784 MB / 0.8499 GB, free: 8.832 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.07322, allocations: 0 / 0.8499 GB, free: 8.832 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.703e-06/0.07322, allocations: 0 / 0.8499 GB, free: 8.832 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.423e-05/0.07326, allocations: 0 / 0.8499 GB, free: 8.832 MB / 0.7605 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.004725/0.07798, allocations: 2.132 MB / 0.852 GB, free: 6.66 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.07802, allocations: 8.031 kB / 0.852 GB, free: 6.652 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01286/0.09088, allocations: 2.339 MB / 0.8543 GB, free: 4.309 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003063/0.09395, allocations: 1.259 MB / 0.8555 GB, free: 3.004 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.592e-05/0.09404, allocations: 86.67 kB / 0.8556 GB, free: 2.918 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002975/0.09434, allocations: 124.3 kB / 0.8557 GB, free: 2.797 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006723/0.1011, allocations: 2.897 MB / 0.8585 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.067e-05/0.1011, allocations: 11.94 kB / 0.8585 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001834/0.1013, allocations: 47.98 kB / 0.8586 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007535/0.1021, allocations: 190.1 kB / 0.8588 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008384/0.1104, allocations: 2.807 MB / 0.8615 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01662/0.1271, allocations: 8.239 MB / 0.8696 GB, free: 4.234 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007178/0.1342, allocations: 2.195 MB / 0.8717 GB, free: 2.035 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003414/0.1376, allocations: 1.202 MB / 0.8729 GB, free: 0.832 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.759e-05/0.1377, allocations: 17 kB / 0.8729 GB, free: 0.8125 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.506e-05/0.1378, allocations: 51.56 kB / 0.8729 GB, free: 0.7539 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=89): time 2.725e-06/0.1378, allocations: 0 / 0.8729 GB, free: 0.7539 MB / 0.7761 GB Notification: Performance of matching and sorting (n=153): time 0.068/0.2058, allocations: 16.4 MB / 0.889 GB, free: 320 kB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.685e-05/0.2059, allocations: 76.64 kB / 0.889 GB, free: 228 kB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001651/0.2075, allocations: 1.038 MB / 0.89 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0002188/0.2077, allocations: 53.7 kB / 0.8901 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007213/0.2085, allocations: 0.7519 MB / 0.8908 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006386/0.2091, allocations: 0.5344 MB / 0.8913 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006566/0.2097, allocations: 287.5 kB / 0.8916 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.2099, allocations: 305.1 kB / 0.8919 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004002/0.2139, allocations: 1.53 MB / 0.8934 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004252/0.2182, allocations: 1.796 MB / 0.8952 GB, free: 9.805 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008617/0.2268, allocations: 3.412 MB / 0.8985 GB, free: 6.297 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.157e-05/0.2268, allocations: 7.938 kB / 0.8985 GB, free: 6.289 MB / 0.8073 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01636/0.2431, allocations: 5.39 MB / 0.9038 GB, free: 0.8594 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.808e-05/0.2432, allocations: 11.94 kB / 0.9038 GB, free: 0.8477 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.769e-05/0.2432, allocations: 4.844 kB / 0.9038 GB, free: 0.8438 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01156/0.2548, allocations: 2.443 MB / 0.9062 GB, free: 14.38 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00218/0.2569, allocations: 407.3 kB / 0.9066 GB, free: 13.98 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03864/0.2956, allocations: 23.32 MB / 0.9293 GB, free: 5.848 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00292/0.2985, allocations: 315.6 kB / 0.9296 GB, free: 5.539 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002485/0.2988, allocations: 67.97 kB / 0.9297 GB, free: 5.473 MB / 0.8386 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.001007/0.2998, allocations: 465.4 kB / 0.9301 GB, free: 5.008 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008052/0.3006, allocations: 223 kB / 0.9304 GB, free: 4.789 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01638/0.3169, allocations: 5.373 MB / 0.9356 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.52e-05/0.317, allocations: 16 kB / 0.9356 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.956e-05/0.317, allocations: 20 kB / 0.9356 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.598e-05/0.3171, allocations: 11.91 kB / 0.9356 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02031/0.3374, allocations: 7.001 MB / 0.9425 GB, free: 8.223 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.817e-05/0.3374, allocations: 4 kB / 0.9425 GB, free: 8.219 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001903/0.3393, allocations: 351.7 kB / 0.9428 GB, free: 7.875 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01118/0.3505, allocations: 2.296 MB / 0.9451 GB, free: 5.559 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002784/0.3508, allocations: 39.97 kB / 0.9451 GB, free: 5.52 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03584/0.3866, allocations: 22.52 MB / 0.9671 GB, free: 14.19 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.835e-06/0.3866, allocations: 7.984 kB / 0.9671 GB, free: 14.18 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01525/0.4018, allocations: 5.024 MB / 0.972 GB, free: 9.074 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001696/0.4035, allocations: 414.7 kB / 0.9724 GB, free: 8.668 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004345/0.404, allocations: 31.94 kB / 0.9724 GB, free: 8.637 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002367/0.4063, allocations: 319.5 kB / 0.9727 GB, free: 8.324 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006639/0.407, allocations: 164.8 kB / 0.9729 GB, free: 8.164 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001622/0.4072, allocations: 55.97 kB / 0.973 GB, free: 8.109 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001122/0.4083, allocations: 0.6879 MB / 0.9736 GB, free: 7.418 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7e-08/0.4083, allocations: 0 / 0.9736 GB, free: 7.418 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002556/0.4109, allocations: 0.6719 MB / 0.9743 GB, free: 6.746 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.0003658/0.4112, allocations: 139.2 kB / 0.9744 GB, free: 6.598 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01284/0.4241, allocations: 4.972 MB / 0.9793 GB, free: 1.516 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/0.4241, allocations: 4.125 kB / 0.9793 GB, free: 1.512 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.008799/0.4329, allocations: 3.295 MB / 0.9825 GB, free: 14.11 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002601/0.4355, allocations: 0.5365 MB / 0.983 GB, free: 13.6 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01065/0.4461, allocations: 4.358 MB / 0.9873 GB, free: 9.172 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001432/0.4475, allocations: 0.9837 MB / 0.9882 GB, free: 8.152 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.001595/0.4491, allocations: 365.2 kB / 0.9886 GB, free: 7.789 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004223/0.4496, allocations: 112.4 kB / 0.9887 GB, free: 7.68 MB / 0.9011 GB Notification: Performance of SimCode: time 2.014e-06/0.4496, allocations: 0 / 0.9887 GB, free: 7.68 MB / 0.9011 GB Notification: Performance of Templates: time 0.4241/0.8737, allocations: 47.92 MB / 1.035 GB, free: 214.7 MB / 0.9323 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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: 9.75860903901048]