Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.001398/0.001398, allocations: 80.53 kB / 19.18 MB, free: 2.52 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.001529/0.001529, allocations: 164 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.527/1.527, allocations: 177.2 MB / 202.8 MB, free: 9.172 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.873/2.873, allocations: 377.8 MB / 0.6221 GB, free: 12.62 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.ACLine_R,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.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,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.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.9814 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.692e-05/2.856e-05, allocations: 2.281 kB / 0.9814 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.009468/0.009497, allocations: 6.476 MB / 0.9877 GB, free: 5.504 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005894/0.01539, allocations: 3.016 MB / 0.9907 GB, free: 2.477 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006665/0.01606, allocations: 39.62 kB / 0.9907 GB, free: 2.438 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002949/0.01901, allocations: 0.961 MB / 0.9917 GB, free: 1.477 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001658/0.02066, allocations: 0.5435 MB / 0.9922 GB, free: 0.9297 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001316/0.02198, allocations: 446.8 kB / 0.9926 GB, free: 0.4922 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001916/0.0239, allocations: 1.263 MB / 0.9939 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001027/0.02492, allocations: 0.5372 MB / 0.9944 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001262/0.02618, allocations: 0.6624 MB / 0.995 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009231/0.02711, allocations: 482.7 kB / 0.9955 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001881/0.0273, allocations: 68 kB / 0.9956 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007839/0.02808, allocations: 351.1 kB / 0.9959 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003943/0.02847, allocations: 331 kB / 0.9962 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0005232/0.029, allocations: 311.3 kB / 0.9965 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001892/0.03089, allocations: 1.25 MB / 0.9977 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.03089, allocations: 0 / 0.9977 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.092e-06/0.0309, allocations: 4 kB / 0.9977 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.237e-05/0.03094, allocations: 0 / 0.9977 GB, free: 11.25 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.00255/0.03349, allocations: 1.108 MB / 0.9988 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.03353, allocations: 12.03 kB / 0.9988 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00173/0.03526, allocations: 244.1 kB / 0.9991 GB, free: 9.855 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/0.03635, allocations: 0.543 MB / 0.9996 GB, free: 9.281 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.478e-05/0.0364, allocations: 49.67 kB / 0.9996 GB, free: 9.234 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/0.03652, allocations: 64.31 kB / 0.9997 GB, free: 9.172 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002016/0.03854, allocations: 1.336 MB / 1.001 GB, free: 7.66 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.599e-05/0.03858, allocations: 16.11 kB / 1.001 GB, free: 7.645 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.785e-05/0.03866, allocations: 36.3 kB / 1.001 GB, free: 7.609 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001728/0.03884, allocations: 85.2 kB / 1.001 GB, free: 7.523 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001369/0.04021, allocations: 0.7504 MB / 1.002 GB, free: 6.773 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005504/0.04571, allocations: 4.503 MB / 1.006 GB, free: 2.121 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00105/0.04676, allocations: 0.5049 MB / 1.007 GB, free: 1.602 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004813/0.04724, allocations: 292.6 kB / 1.007 GB, free: 1.316 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.285e-05/0.04727, allocations: 4.5 kB / 1.007 GB, free: 1.312 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.913e-05/0.04731, allocations: 43 kB / 1.007 GB, free: 1.262 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=47): time 4.398e-06/0.04732, allocations: 3.984 kB / 1.007 GB, free: 1.258 MB / 0.9512 GB Notification: Performance of matching and sorting (n=48): time 0.004146/0.05146, allocations: 1.682 MB / 1.009 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.05151, allocations: 55.91 kB / 1.009 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006649/0.05217, allocations: 0.5183 MB / 1.009 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.051e-05/0.05222, allocations: 37.7 kB / 1.009 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003118/0.05253, allocations: 419.9 kB / 1.01 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001732/0.05271, allocations: 182.3 kB / 1.01 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002214/0.05293, allocations: 126.6 kB / 1.01 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000201/0.05313, allocations: 370.8 kB / 1.01 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004553/0.05359, allocations: 269.9 kB / 1.011 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006242/0.05421, allocations: 0.4891 MB / 1.011 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001212/0.05542, allocations: 0.8163 MB / 1.012 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.044e-06/0.05543, allocations: 4 kB / 1.012 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002003/0.05743, allocations: 1.07 MB / 1.013 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.05745, allocations: 8 kB / 1.013 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.05746, allocations: 4 kB / 1.013 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009143/0.05838, allocations: 287.3 kB / 1.013 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005187/0.0589, allocations: 123.8 kB / 1.013 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007465/0.06636, allocations: 6.582 MB / 1.02 GB, free: 3.551 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006303/0.06699, allocations: 35.97 kB / 1.02 GB, free: 3.516 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.68e-05/0.06707, allocations: 35.94 kB / 1.02 GB, free: 3.48 MB / 0.9669 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (2,4,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.0004214/0.06749, allocations: 257.7 kB / 1.02 GB, free: 3.219 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001475/0.06764, allocations: 71.61 kB / 1.02 GB, free: 3.148 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001754/0.06939, allocations: 0.8818 MB / 1.021 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.962e-06/0.0694, allocations: 4 kB / 1.021 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.32e-05/0.06941, allocations: 4 kB / 1.021 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.06942, allocations: 7.984 kB / 1.021 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002886/0.07231, allocations: 1.521 MB / 1.023 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/0.07231, allocations: 4 kB / 1.023 GB, free: 0.6406 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002894/0.0726, allocations: 63.89 kB / 1.023 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000848/0.07345, allocations: 263.3 kB / 1.023 GB, free: 316 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.288e-05/0.07349, allocations: 12 kB / 1.023 GB, free: 304 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007954/0.08145, allocations: 6.583 MB / 1.029 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.08145, allocations: 3.938 kB / 1.029 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00193/0.08338, allocations: 0.9702 MB / 1.03 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003344/0.08371, allocations: 111.7 kB / 1.03 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.08382, allocations: 12 kB / 1.03 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004048/0.08422, allocations: 31.97 kB / 1.03 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/0.08435, allocations: 63.78 kB / 1.03 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.78e-05/0.08439, allocations: 8 kB / 1.03 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004549/0.08485, allocations: 350.8 kB / 1.031 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.08485, allocations: 0 / 1.031 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0008833/0.08573, allocations: 220 kB / 1.031 GB, free: 7.508 MB / 0.9825 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001854/0.08592, allocations: 115.7 kB / 1.031 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002287/0.0882, allocations: 1.236 MB / 1.032 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.08821, allocations: 0 / 1.032 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001392/0.0896, allocations: 0.8503 MB / 1.033 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/0.09067, allocations: 206.1 kB / 1.033 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002745/0.09341, allocations: 1.354 MB / 1.035 GB, free: 3.586 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005347/0.09395, allocations: 412.8 kB / 1.035 GB, free: 3.152 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0003885/0.09434, allocations: 125.4 kB / 1.035 GB, free: 3.027 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001538/0.09449, allocations: 40.5 kB / 1.035 GB, free: 2.988 MB / 0.9825 GB Notification: Performance of SimCode: time 6.01e-07/0.09449, allocations: 0 / 1.035 GB, free: 2.988 MB / 0.9825 GB Notification: Performance of Templates: time 0.02333/0.1178, allocations: 11.3 MB / 1.046 GB, free: 7.957 MB / 0.9981 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.488353326916695]