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.001402/0.001402, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.00155/0.00155, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.329/1.329, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.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.149/2.149, allocations: 390.3 MB / 0.6653 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 68.88 kB / 0.8132 GB, free: 33.09 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.2492, allocations: 140.4 MB / 0.9503 GB, free: 8.852 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.008107/0.2573, allocations: 6.147 MB / 0.9563 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004988/0.2624, allocations: 3.188 MB / 0.9594 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005655/0.2629, allocations: 31.81 kB / 0.9594 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002457/0.2654, allocations: 0.9181 MB / 0.9603 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.001173/0.2666, allocations: 481.5 kB / 0.9608 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001226/0.2678, allocations: 0.4985 MB / 0.9613 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.00126/0.2691, allocations: 1.096 MB / 0.9623 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009411/0.2701, allocations: 0.6391 MB / 0.963 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006084/0.2707, allocations: 442.4 kB / 0.9634 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006346/0.2713, allocations: 474.2 kB / 0.9638 GB, free: 10.92 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001275/0.2715, allocations: 60 kB / 0.9639 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008633/0.2723, allocations: 491 kB / 0.9644 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002839/0.2726, allocations: 287.2 kB / 0.9646 GB, free: 10.1 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0004246/0.2731, allocations: 401.9 kB / 0.965 GB, free: 9.703 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001347/0.2744, allocations: 1.168 MB / 0.9662 GB, free: 8.531 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.2744, allocations: 0 / 0.9662 GB, free: 8.531 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2744, allocations: 0 / 0.9662 GB, free: 8.531 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.62e-05/0.2745, allocations: 4 kB / 0.9662 GB, free: 8.527 MB / 0.7481 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.001694/0.2762, allocations: 1.048 MB / 0.9672 GB, free: 7.43 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.2762, allocations: 12.03 kB / 0.9672 GB, free: 7.418 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001523/0.2778, allocations: 223.7 kB / 0.9674 GB, free: 7.199 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001037/0.2788, allocations: 0.5491 MB / 0.968 GB, free: 6.609 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.601e-05/0.2789, allocations: 45.67 kB / 0.968 GB, free: 6.562 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001459/0.279, allocations: 64.36 kB / 0.9681 GB, free: 6.5 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001564/0.2806, allocations: 1.026 MB / 0.9691 GB, free: 5.367 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.752e-05/0.2806, allocations: 11.94 kB / 0.9691 GB, free: 5.355 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-05/0.2807, allocations: 31.98 kB / 0.9691 GB, free: 5.324 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.517e-05/0.2808, allocations: 69.28 kB / 0.9692 GB, free: 5.258 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001102/0.2819, allocations: 0.684 MB / 0.9698 GB, free: 4.57 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005285/0.2872, allocations: 5.772 MB / 0.9755 GB, free: 14.37 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008437/0.2881, allocations: 0.5962 MB / 0.9761 GB, free: 13.73 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007888/0.2889, allocations: 416.6 kB / 0.9765 GB, free: 13.32 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 3.795e-05/0.289, allocations: 4 kB / 0.9765 GB, free: 13.31 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.289, allocations: 38.56 kB / 0.9765 GB, free: 13.27 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=41): time 4.158e-06/0.289, allocations: 0 / 0.9765 GB, free: 13.27 MB / 0.7637 GB Notification: Performance of matching and sorting (n=42): time 0.004461/0.2935, allocations: 2.06 MB / 0.9785 GB, free: 11.11 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.2935, allocations: 63.41 kB / 0.9786 GB, free: 11.04 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005263/0.2941, allocations: 458.8 kB / 0.979 GB, free: 10.58 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 3.389e-05/0.2941, allocations: 29.7 kB / 0.979 GB, free: 10.54 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002441/0.2944, allocations: 391 kB / 0.9794 GB, free: 10.15 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001266/0.2945, allocations: 149.9 kB / 0.9795 GB, free: 10 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001596/0.2947, allocations: 110.2 kB / 0.9797 GB, free: 9.887 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.2948, allocations: 362.8 kB / 0.98 GB, free: 9.523 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003528/0.2952, allocations: 245.2 kB / 0.9802 GB, free: 9.285 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004861/0.2957, allocations: 465 kB / 0.9807 GB, free: 8.734 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009072/0.2966, allocations: 0.7481 MB / 0.9814 GB, free: 7.891 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.2966, allocations: 4 kB / 0.9814 GB, free: 7.887 MB / 0.7637 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001923/0.2985, allocations: 1.066 MB / 0.9825 GB, free: 6.801 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.2986, allocations: 15.97 kB / 0.9825 GB, free: 6.785 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.2986, allocations: 4 kB / 0.9825 GB, free: 6.781 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001111/0.2997, allocations: 339 kB / 0.9828 GB, free: 6.438 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003297/0.3, allocations: 103.8 kB / 0.9829 GB, free: 6.336 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007627/0.3077, allocations: 7.513 MB / 0.9902 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00048/0.3082, allocations: 28.03 kB / 0.9903 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.446e-05/0.3083, allocations: 35.98 kB / 0.9903 GB, free: 14.2 MB / 0.7794 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.0003589/0.3086, allocations: 241.6 kB / 0.9905 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001516/0.3088, allocations: 67.19 kB / 0.9906 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001694/0.3105, allocations: 0.9117 MB / 0.9915 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.3105, allocations: 4 kB / 0.9915 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.3105, allocations: 4 kB / 0.9915 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.3105, allocations: 0 / 0.9915 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00254/0.3131, allocations: 1.7 MB / 0.9931 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.3131, allocations: 288 / 0.9931 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001727/0.3133, allocations: 43.97 kB / 0.9932 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009521/0.3142, allocations: 335.2 kB / 0.9935 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.35e-05/0.3143, allocations: 8 kB / 0.9935 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007034/0.3213, allocations: 7.516 MB / 1.001 GB, free: 2.688 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.3213, allocations: 4 kB / 1.001 GB, free: 2.684 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001721/0.3231, allocations: 1.022 MB / 1.002 GB, free: 1.613 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002486/0.3233, allocations: 172.4 kB / 1.002 GB, free: 1.426 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.638e-05/0.3234, allocations: 8 kB / 1.002 GB, free: 1.418 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002955/0.3237, allocations: 19.97 kB / 1.002 GB, free: 1.398 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/0.3238, allocations: 43.95 kB / 1.002 GB, free: 1.355 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.578e-05/0.3239, allocations: 15.94 kB / 1.002 GB, free: 1.34 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003509/0.3242, allocations: 310.9 kB / 1.002 GB, free: 1.039 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3242, allocations: 0 / 1.002 GB, free: 1.039 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0007769/0.325, allocations: 199.9 kB / 1.003 GB, free: 0.8438 MB / 0.7794 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.0001524/0.3252, allocations: 107.5 kB / 1.003 GB, free: 0.7305 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001961/0.3271, allocations: 1.242 MB / 1.004 GB, free: 15.44 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/0.3272, allocations: 7.938 kB / 1.004 GB, free: 15.43 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001239/0.3284, allocations: 0.8735 MB / 1.005 GB, free: 14.5 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.3294, allocations: 208.4 kB / 1.005 GB, free: 14.31 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002146/0.3316, allocations: 1.311 MB / 1.006 GB, free: 12.95 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006382/0.3322, allocations: 0.9882 MB / 1.007 GB, free: 11.93 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.3324, allocations: 43.42 kB / 1.007 GB, free: 11.89 MB / 0.795 GB Notification: Performance of SimCode: time 5e-07/0.3324, allocations: 0 / 1.007 GB, free: 11.89 MB / 0.795 GB Notification: Performance of Templates: time 0.022/0.3544, allocations: 18.65 MB / 1.025 GB, free: 9.262 MB / 0.8106 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/jenkins1/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