Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 194.1 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.62/1.62, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.502/2.502, allocations: 390.2 MB / 0.6643 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002413/0.002413, allocations: 59.91 kB / 0.812 GB, free: 14.76 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8157/0.8181, allocations: 140.4 MB / 0.9491 GB, free: 9.043 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.007888/0.8261, allocations: 6.164 MB / 0.9551 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005178/0.8313, allocations: 3.149 MB / 0.9582 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009712/0.8323, allocations: 27.16 kB / 0.9582 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002388/0.8347, allocations: 0.8794 MB / 0.9591 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001438/0.8361, allocations: 440 kB / 0.9595 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001322/0.8375, allocations: 465.5 kB / 0.9599 GB, free: 484 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001816/0.8393, allocations: 1.099 MB / 0.961 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001421/0.8407, allocations: 0.7111 MB / 0.9617 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001006/0.8417, allocations: 445.7 kB / 0.9621 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001051/0.8428, allocations: 489.9 kB / 0.9626 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002058/0.843, allocations: 57.75 kB / 0.9627 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001348/0.8444, allocations: 491.2 kB / 0.9631 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005023/0.8449, allocations: 285.2 kB / 0.9634 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0009077/0.8458, allocations: 403.7 kB / 0.9638 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002497/0.8483, allocations: 1.205 MB / 0.965 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.8484, allocations: 4 kB / 0.965 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.375e-06/0.8484, allocations: 1.375 kB / 0.965 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.968e-05/0.8484, allocations: 0 / 0.965 GB, free: 13.41 MB / 0.7325 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.00308/0.8515, allocations: 1.054 MB / 0.966 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.8516, allocations: 13.62 kB / 0.966 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001965/0.8536, allocations: 218.4 kB / 0.9662 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/0.8548, allocations: 0.5468 MB / 0.9668 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.413e-05/0.8548, allocations: 45.95 kB / 0.9668 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001666/0.855, allocations: 69.58 kB / 0.9669 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001947/0.857, allocations: 1.026 MB / 0.9679 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.802e-05/0.857, allocations: 15.98 kB / 0.9679 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.545e-05/0.8571, allocations: 28.67 kB / 0.9679 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000117/0.8572, allocations: 66.03 kB / 0.968 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001295/0.8586, allocations: 0.6916 MB / 0.9686 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006728/0.8653, allocations: 5.771 MB / 0.9743 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/0.8664, allocations: 0.5957 MB / 0.9749 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009975/0.8674, allocations: 421.6 kB / 0.9753 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.483e-05/0.8675, allocations: 8.188 kB / 0.9753 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.383e-05/0.8675, allocations: 36.78 kB / 0.9753 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=41): time 2.615e-06/0.8675, allocations: 0 / 0.9753 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of matching and sorting (n=42): time 0.005379/0.8729, allocations: 2.061 MB / 0.9773 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.102e-05/0.873, allocations: 55.03 kB / 0.9774 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009145/0.8739, allocations: 463.1 kB / 0.9778 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.716e-05/0.874, allocations: 30.86 kB / 0.9778 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003926/0.8744, allocations: 382.3 kB / 0.9782 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001844/0.8746, allocations: 153.2 kB / 0.9784 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002367/0.8748, allocations: 109.4 kB / 0.9785 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002258/0.8751, allocations: 366.7 kB / 0.9788 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000457/0.8755, allocations: 245.3 kB / 0.979 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006742/0.8762, allocations: 463.5 kB / 0.9795 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001212/0.8774, allocations: 0.748 MB / 0.9802 GB, free: 1 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.105e-05/0.8775, allocations: 2.906 kB / 0.9802 GB, free: 1 MB / 0.7325 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002298/0.8798, allocations: 1.071 MB / 0.9813 GB, free: 36 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/0.8798, allocations: 11.94 kB / 0.9813 GB, free: 24 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.8798, allocations: 8 kB / 0.9813 GB, free: 16 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001148/0.881, allocations: 335.3 kB / 0.9816 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003439/0.8813, allocations: 99.81 kB / 0.9817 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008107/0.8895, allocations: 7.521 MB / 0.989 GB, free: 7.496 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007712/0.8903, allocations: 28.03 kB / 0.9891 GB, free: 7.469 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/0.8904, allocations: 28 kB / 0.9891 GB, free: 7.441 MB / 0.7481 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.0006506/0.8911, allocations: 245.6 kB / 0.9893 GB, free: 7.191 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002136/0.8913, allocations: 63.28 kB / 0.9894 GB, free: 7.129 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001923/0.8932, allocations: 0.9117 MB / 0.9903 GB, free: 6.195 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.8933, allocations: 4 kB / 0.9903 GB, free: 6.191 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.745e-05/0.8933, allocations: 7.984 kB / 0.9903 GB, free: 6.184 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.8933, allocations: 8 kB / 0.9903 GB, free: 6.176 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00314/0.8964, allocations: 1.7 MB / 0.992 GB, free: 4.387 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.8965, allocations: 8.188 kB / 0.992 GB, free: 4.379 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001751/0.8966, allocations: 43.91 kB / 0.992 GB, free: 4.336 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009566/0.8976, allocations: 323.1 kB / 0.9923 GB, free: 4.008 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.048e-05/0.8977, allocations: 8 kB / 0.9923 GB, free: 4 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007364/0.905, allocations: 7.517 MB / 0.9997 GB, free: 11.92 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/0.9051, allocations: 4 kB / 0.9997 GB, free: 11.92 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001934/0.907, allocations: 1.022 MB / 1.001 GB, free: 10.85 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004166/0.9074, allocations: 172.4 kB / 1.001 GB, free: 10.66 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001516/0.9076, allocations: 8 kB / 1.001 GB, free: 10.65 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003568/0.908, allocations: 23.97 kB / 1.001 GB, free: 10.63 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001547/0.9081, allocations: 43.89 kB / 1.001 GB, free: 10.59 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.218e-05/0.9082, allocations: 12 kB / 1.001 GB, free: 10.57 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.000425/0.9086, allocations: 314.9 kB / 1.001 GB, free: 10.27 MB / 0.7637 GB Notification: Performance of sort global known variables: time 5.01e-07/0.9086, allocations: 0 / 1.001 GB, free: 10.27 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001052/0.9097, allocations: 195.9 kB / 1.001 GB, free: 10.08 MB / 0.7637 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.0001856/0.9099, allocations: 113.1 kB / 1.002 GB, free: 9.961 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.00225/0.9121, allocations: 1.242 MB / 1.003 GB, free: 8.668 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.239e-06/0.9121, allocations: 0 / 1.003 GB, free: 8.668 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001273/0.9134, allocations: 0.8657 MB / 1.004 GB, free: 7.75 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/0.9146, allocations: 211.6 kB / 1.004 GB, free: 7.555 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002609/0.9172, allocations: 1.53 MB / 1.005 GB, free: 5.98 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007721/0.918, allocations: 0.9921 MB / 1.006 GB, free: 4.957 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0003595/0.9184, allocations: 105.3 kB / 1.006 GB, free: 4.852 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.9185, allocations: 35.44 kB / 1.006 GB, free: 4.816 MB / 0.7637 GB Notification: Performance of SimCode: time 5.41e-07/0.9185, allocations: 0 / 1.006 GB, free: 4.816 MB / 0.7637 GB Notification: Performance of Templates: time 0.02412/0.9426, allocations: 10.04 MB / 1.016 GB, free: 10.88 MB / 0.7794 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches