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.001985/0.001985, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002388/0.002388, allocations: 162.3 kB / 22.46 MB, free: 5.375 MB / 14.72 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.495/1.495, allocations: 177.1 MB / 202.8 MB, free: 9.16 MB / 190.1 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.818/2.818, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 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 2.475e-06/2.475e-06, allocations: 0 / 0.9814 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.678e-05/2.926e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01894/0.01897, allocations: 13.74 MB / 0.9949 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01686/0.03582, allocations: 9.83 MB / 1.004 GB, free: 4.301 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002034/0.03786, allocations: 83.25 kB / 1.005 GB, free: 4.219 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.005325/0.04318, allocations: 1.683 MB / 1.006 GB, free: 2.531 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.006957/0.05014, allocations: 1.894 MB / 1.008 GB, free: 0.6328 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002396/0.05254, allocations: 0.7642 MB / 1.009 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.004992/0.05753, allocations: 2.848 MB / 1.012 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002564/0.06009, allocations: 1.188 MB / 1.013 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00466/0.06475, allocations: 2.101 MB / 1.015 GB, free: 9.684 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002193/0.06694, allocations: 0.9309 MB / 1.016 GB, free: 8.75 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0005155/0.06746, allocations: 164 kB / 1.016 GB, free: 8.59 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002034/0.06949, allocations: 0.7249 MB / 1.017 GB, free: 7.863 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0009913/0.07049, allocations: 0.6386 MB / 1.017 GB, free: 7.223 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001642/0.07213, allocations: 0.6313 MB / 1.018 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00488/0.07701, allocations: 2.78 MB / 1.02 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.07701, allocations: 0 / 1.02 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.913e-06/0.07702, allocations: 0 / 1.02 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001112/0.07713, allocations: 0 / 1.02 GB, free: 3.801 MB / 0.9669 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.005085/0.08221, allocations: 2.116 MB / 1.023 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.08226, allocations: 12.03 kB / 1.023 GB, free: 1.633 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01252/0.09478, allocations: 2.125 MB / 1.025 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003112/0.09789, allocations: 1.189 MB / 1.026 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001161/0.09801, allocations: 82.69 kB / 1.026 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005837/0.09859, allocations: 124.3 kB / 1.026 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007606/0.1062, allocations: 2.886 MB / 1.029 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-05/0.1063, allocations: 11.88 kB / 1.029 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002597/0.1065, allocations: 51.97 kB / 1.029 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007389/0.1073, allocations: 202.1 kB / 1.029 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008793/0.1161, allocations: 2.783 MB / 1.032 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01675/0.1328, allocations: 8.114 MB / 1.04 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007265/0.1401, allocations: 2.183 MB / 1.042 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003451/0.1435, allocations: 1.202 MB / 1.043 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.977e-05/0.1436, allocations: 13 kB / 1.043 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.379e-05/0.1437, allocations: 47.5 kB / 1.043 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=89): time 3.547e-06/0.1437, allocations: 0 / 1.043 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of matching and sorting (n=153): time 0.06424/0.2079, allocations: 15.97 MB / 1.059 GB, free: 12.16 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.925e-05/0.208, allocations: 68.72 kB / 1.059 GB, free: 12.09 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001593/0.2096, allocations: 1.042 MB / 1.06 GB, free: 11.04 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002567/0.2098, allocations: 49.7 kB / 1.06 GB, free: 10.98 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006108/0.2104, allocations: 0.7441 MB / 1.061 GB, free: 10.23 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000608/0.211, allocations: 0.5421 MB / 1.061 GB, free: 9.68 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006122/0.2116, allocations: 287.5 kB / 1.061 GB, free: 9.391 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.2118, allocations: 301.1 kB / 1.062 GB, free: 9.094 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003869/0.2157, allocations: 1.51 MB / 1.063 GB, free: 7.582 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004186/0.2198, allocations: 1.78 MB / 1.065 GB, free: 5.703 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008518/0.2284, allocations: 3.365 MB / 1.068 GB, free: 2.242 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.45e-05/0.2284, allocations: 7.938 kB / 1.068 GB, free: 2.234 MB / 1.014 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01504/0.2434, allocations: 5.196 MB / 1.073 GB, free: 13 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.834e-05/0.2435, allocations: 15.94 kB / 1.073 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/0.2435, allocations: 4 kB / 1.073 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007529/0.251, allocations: 1.88 MB / 1.075 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002234/0.2532, allocations: 411.2 kB / 1.075 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03279/0.286, allocations: 22.85 MB / 1.098 GB, free: 3.012 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00295/0.289, allocations: 307.5 kB / 1.098 GB, free: 2.711 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002376/0.2892, allocations: 67.97 kB / 1.098 GB, free: 2.645 MB / 1.045 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.0009975/0.2902, allocations: 473.4 kB / 1.099 GB, free: 2.172 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003704/0.2906, allocations: 167 kB / 1.099 GB, free: 2.008 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0151/0.3057, allocations: 5.24 MB / 1.104 GB, free: 12.73 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.775e-05/0.3057, allocations: 20 kB / 1.104 GB, free: 12.71 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.048e-05/0.3058, allocations: 20 kB / 1.104 GB, free: 12.69 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.192e-05/0.3058, allocations: 7.969 kB / 1.104 GB, free: 12.68 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01839/0.3242, allocations: 6.802 MB / 1.111 GB, free: 5.773 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.177e-05/0.3242, allocations: 96 / 1.111 GB, free: 5.773 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001888/0.3261, allocations: 351.4 kB / 1.111 GB, free: 5.43 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006676/0.3327, allocations: 1.709 MB / 1.113 GB, free: 3.699 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002729/0.333, allocations: 47.95 kB / 1.113 GB, free: 3.652 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5987/0.9317, allocations: 21.99 MB / 1.134 GB, free: 177.3 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/0.9317, allocations: 2.812 kB / 1.134 GB, free: 177.3 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02137/0.9531, allocations: 4.803 MB / 1.139 GB, free: 176.9 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00164/0.9547, allocations: 415.6 kB / 1.139 GB, free: 176.9 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004457/0.9552, allocations: 34.31 kB / 1.139 GB, free: 176.9 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003672/0.9588, allocations: 316.2 kB / 1.139 GB, free: 176.9 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007984/0.9596, allocations: 157.2 kB / 1.14 GB, free: 176.9 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002399/0.9599, allocations: 53.58 kB / 1.14 GB, free: 176.9 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001312/0.9612, allocations: 0.6896 MB / 1.14 GB, free: 176.8 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.21e-07/0.9612, allocations: 0 / 1.14 GB, free: 176.8 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.003018/0.9642, allocations: 0.6556 MB / 1.141 GB, free: 176.8 MB / 1.076 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.0004294/0.9646, allocations: 147.1 kB / 1.141 GB, free: 176.7 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.01364/0.9783, allocations: 4.914 MB / 1.146 GB, free: 174.9 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.9783, allocations: 0 / 1.146 GB, free: 174.9 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.006273/0.9846, allocations: 3.263 MB / 1.149 GB, free: 173.3 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002196/0.9867, allocations: 0.5118 MB / 1.15 GB, free: 173.2 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007824/0.9946, allocations: 4.326 MB / 1.154 GB, free: 171.4 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008965/0.9955, allocations: 0.9768 MB / 1.155 GB, free: 171.2 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001171/0.9966, allocations: 368.6 kB / 1.155 GB, free: 171.1 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003638/0.997, allocations: 106.6 kB / 1.155 GB, free: 171.1 MB / 1.076 GB Notification: Performance of SimCode: time 1.102e-06/0.997, allocations: 0 / 1.155 GB, free: 171.1 MB / 1.076 GB Notification: Performance of Templates: time 0.0706/1.068, allocations: 46.6 MB / 1.201 GB, free: 160.3 MB / 1.076 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: 10.132606334984303]