Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001857/0.001857, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 13.93 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.002424/0.002424, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.47/1.47, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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 3.146/3.146, allocations: 429.6 MB / 0.673 GB, free: 3.895 MB / 0.6355 GB " [Timeout remaining time 176] 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_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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0.875 kB / 0.8776 GB, free: 6.52 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.386e-05/2.553e-05, allocations: 7.25 kB / 0.8776 GB, free: 6.512 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.009096/0.009122, allocations: 5.909 MB / 0.8834 GB, free: 0.6055 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.005762/0.01488, allocations: 3.108 MB / 0.8864 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003589/0.01524, allocations: 39.62 kB / 0.8864 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.002657/0.0179, allocations: 0.9335 MB / 0.8873 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001152/0.01905, allocations: 0.4931 MB / 0.8878 GB, free: 12.03 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001236/0.02029, allocations: 0.5062 MB / 0.8883 GB, free: 11.52 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001657/0.02194, allocations: 1.131 MB / 0.8894 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008555/0.0228, allocations: 0.5061 MB / 0.8899 GB, free: 9.875 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009176/0.02372, allocations: 0.6078 MB / 0.8905 GB, free: 9.266 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006803/0.0244, allocations: 430.8 kB / 0.8909 GB, free: 8.844 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001034/0.0245, allocations: 56 kB / 0.891 GB, free: 8.789 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008374/0.02534, allocations: 454.7 kB / 0.8914 GB, free: 8.344 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0003407/0.02568, allocations: 307.1 kB / 0.8917 GB, free: 8.043 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0003596/0.02604, allocations: 279.3 kB / 0.892 GB, free: 7.77 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001554/0.02759, allocations: 1.207 MB / 0.8932 GB, free: 6.559 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.0276, allocations: 0 / 0.8932 GB, free: 6.559 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.002e-06/0.0276, allocations: 0 / 0.8932 GB, free: 6.559 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.086e-05/0.02761, allocations: 0 / 0.8932 GB, free: 6.559 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001766/0.02937, allocations: 1.006 MB / 0.8941 GB, free: 5.52 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.02941, allocations: 8.031 kB / 0.8941 GB, free: 5.512 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001666/0.03108, allocations: 347.6 kB / 0.8945 GB, free: 5.172 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001012/0.03209, allocations: 0.5588 MB / 0.895 GB, free: 4.59 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.747e-05/0.03215, allocations: 45.67 kB / 0.8951 GB, free: 4.547 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001253/0.03227, allocations: 64.36 kB / 0.8951 GB, free: 4.484 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002012/0.03428, allocations: 1.127 MB / 0.8962 GB, free: 3.215 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.098e-05/0.03431, allocations: 16.08 kB / 0.8962 GB, free: 3.199 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.126e-05/0.0344, allocations: 32.36 kB / 0.8963 GB, free: 3.168 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000108/0.0345, allocations: 69.2 kB / 0.8963 GB, free: 3.102 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001197/0.0357, allocations: 0.6879 MB / 0.897 GB, free: 2.414 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005443/0.04114, allocations: 4.409 MB / 0.9013 GB, free: 13.85 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008786/0.04202, allocations: 419.3 kB / 0.9017 GB, free: 13.43 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008845/0.04291, allocations: 388.5 kB / 0.9021 GB, free: 13.05 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.715e-05/0.04294, allocations: 12 kB / 0.9021 GB, free: 13.04 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.04298, allocations: 30.56 kB / 0.9021 GB, free: 13 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=41): time 1.773e-06/0.04298, allocations: 0 / 0.9021 GB, free: 13 MB / 0.8698 GB Notification: Performance of matching and sorting (n=42): time 0.004972/0.04795, allocations: 1.746 MB / 0.9038 GB, free: 11.23 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/0.048, allocations: 59.39 kB / 0.9039 GB, free: 11.16 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005561/0.04856, allocations: 441.8 kB / 0.9043 GB, free: 10.72 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.421e-05/0.0486, allocations: 33.7 kB / 0.9043 GB, free: 10.68 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003596/0.04896, allocations: 403.9 kB / 0.9047 GB, free: 10.28 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001571/0.04912, allocations: 154.7 kB / 0.9049 GB, free: 10.13 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001952/0.04932, allocations: 110.2 kB / 0.905 GB, free: 10.02 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002215/0.04954, allocations: 358.8 kB / 0.9053 GB, free: 9.656 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004292/0.04997, allocations: 249.2 kB / 0.9056 GB, free: 9.414 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006443/0.05061, allocations: 460.9 kB / 0.906 GB, free: 8.871 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/0.05176, allocations: 0.7641 MB / 0.9067 GB, free: 8.012 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.05177, allocations: 0 / 0.9067 GB, free: 8.012 MB / 0.8698 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002201/0.05397, allocations: 1.062 MB / 0.9078 GB, free: 6.93 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.05399, allocations: 10.5 kB / 0.9078 GB, free: 6.922 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.588e-05/0.054, allocations: 8 kB / 0.9078 GB, free: 6.914 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00134/0.05534, allocations: 355.4 kB / 0.9081 GB, free: 6.555 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003516/0.0557, allocations: 103.8 kB / 0.9082 GB, free: 6.453 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008996/0.06469, allocations: 6.989 MB / 0.9151 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004023/0.06509, allocations: 32.02 kB / 0.9151 GB, free: 15.02 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.171e-05/0.06515, allocations: 24 kB / 0.9151 GB, free: 14.99 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 (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.0003855/0.06553, allocations: 249.5 kB / 0.9154 GB, free: 14.74 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000135/0.06567, allocations: 75.62 kB / 0.9154 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001943/0.06761, allocations: 0.8841 MB / 0.9163 GB, free: 13.76 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.707e-06/0.06762, allocations: 8 kB / 0.9163 GB, free: 13.75 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/0.06763, allocations: 11.98 kB / 0.9163 GB, free: 13.74 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.06764, allocations: 4.125 kB / 0.9163 GB, free: 13.74 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003072/0.07071, allocations: 1.517 MB / 0.9178 GB, free: 12.15 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.07071, allocations: 0 / 0.9178 GB, free: 12.15 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001846/0.0709, allocations: 47.91 kB / 0.9178 GB, free: 12.11 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001225/0.07212, allocations: 343.5 kB / 0.9182 GB, free: 11.76 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.597e-05/0.07216, allocations: 12 kB / 0.9182 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009044/0.0812, allocations: 6.99 MB / 0.925 GB, free: 4.348 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/0.08121, allocations: 7.938 kB / 0.925 GB, free: 4.34 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002016/0.08322, allocations: 0.9917 MB / 0.926 GB, free: 3.301 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002733/0.0835, allocations: 107.5 kB / 0.9261 GB, free: 3.195 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.169e-05/0.08356, allocations: 8 kB / 0.9261 GB, free: 3.188 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002742/0.08383, allocations: 19.97 kB / 0.9261 GB, free: 3.168 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/0.08396, allocations: 43.92 kB / 0.9261 GB, free: 3.125 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.115e-05/0.08399, allocations: 8 kB / 0.9262 GB, free: 3.117 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003697/0.08436, allocations: 290.9 kB / 0.9264 GB, free: 2.836 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.08436, allocations: 0 / 0.9264 GB, free: 2.836 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0008228/0.08518, allocations: 204 kB / 0.9266 GB, free: 2.637 MB / 0.8855 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.0001769/0.08536, allocations: 103.2 kB / 0.9267 GB, free: 2.523 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002118/0.08748, allocations: 1.158 MB / 0.9279 GB, free: 1.316 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.08748, allocations: 3.938 kB / 0.9279 GB, free: 1.312 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001398/0.08888, allocations: 0.8474 MB / 0.9287 GB, free: 424 kB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/0.0899, allocations: 205.1 kB / 0.9289 GB, free: 228 kB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002283/0.09218, allocations: 1.248 MB / 0.9301 GB, free: 14.92 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005087/0.09269, allocations: 402.9 kB / 0.9305 GB, free: 14.5 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.000272/0.09296, allocations: 97 kB / 0.9306 GB, free: 14.4 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.71e-05/0.09305, allocations: 32.5 kB / 0.9306 GB, free: 14.37 MB / 0.9011 GB Notification: Performance of SimCode: time 8.41e-07/0.09305, allocations: 0 / 0.9306 GB, free: 14.37 MB / 0.9011 GB Notification: Performance of Templates: time 0.02054/0.1136, allocations: 10.44 MB / 0.9408 GB, free: 4.133 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.358983095968142]