Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001583/0.001583, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001945/0.001945, allocations: 194.6 kB / 16.53 MB, free: 6.699 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.432/1.432, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.653/2.653, allocations: 437 MB / 0.7103 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 63.91 kB / 0.8692 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7207/0.7221, allocations: 151.6 MB / 1.017 GB, free: 2.539 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.008768/0.731, allocations: 6.163 MB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005582/0.7366, allocations: 3.172 MB / 1.026 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00074/0.7374, allocations: 27.81 kB / 1.026 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002434/0.7399, allocations: 0.9348 MB / 1.027 GB, free: 8.203 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.00166/0.7415, allocations: 473.5 kB / 1.028 GB, free: 7.738 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0016/0.7431, allocations: 0.493 MB / 1.028 GB, free: 7.246 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001879/0.745, allocations: 1.104 MB / 1.029 GB, free: 6.137 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001024/0.7461, allocations: 0.6446 MB / 1.03 GB, free: 5.492 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000616/0.7467, allocations: 434.4 kB / 1.03 GB, free: 5.066 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005614/0.7473, allocations: 474.1 kB / 1.031 GB, free: 4.602 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.086e-05/0.7474, allocations: 56 kB / 1.031 GB, free: 4.547 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009584/0.7483, allocations: 494.9 kB / 1.031 GB, free: 4.062 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002676/0.7486, allocations: 283.2 kB / 1.032 GB, free: 3.785 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003909/0.749, allocations: 398 kB / 1.032 GB, free: 3.395 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001612/0.7506, allocations: 1.168 MB / 1.033 GB, free: 2.223 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.7507, allocations: 0 / 1.033 GB, free: 2.223 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.796e-06/0.7507, allocations: 0 / 1.033 GB, free: 2.223 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.559e-05/0.7507, allocations: 4 kB / 1.033 GB, free: 2.219 MB / 0.7794 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.00176/0.7525, allocations: 1.061 MB / 1.034 GB, free: 1.109 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.7525, allocations: 8.031 kB / 1.034 GB, free: 1.102 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00147/0.754, allocations: 227.6 kB / 1.034 GB, free: 0.8789 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007734/0.7548, allocations: 0.5453 MB / 1.035 GB, free: 296 kB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.019e-05/0.7548, allocations: 45.69 kB / 1.035 GB, free: 252 kB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/0.7549, allocations: 68.27 kB / 1.035 GB, free: 184 kB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001382/0.7563, allocations: 1.026 MB / 1.036 GB, free: 15.04 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.359e-05/0.7564, allocations: 15.91 kB / 1.036 GB, free: 15.03 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.579e-05/0.7564, allocations: 31.98 kB / 1.036 GB, free: 15 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.06e-05/0.7565, allocations: 65.28 kB / 1.036 GB, free: 14.93 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/0.7576, allocations: 0.6918 MB / 1.037 GB, free: 14.24 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005209/0.7628, allocations: 5.752 MB / 1.042 GB, free: 8.059 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008477/0.7637, allocations: 0.5964 MB / 1.043 GB, free: 7.418 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007611/0.7644, allocations: 424.6 kB / 1.043 GB, free: 7 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.33e-05/0.7645, allocations: 4.688 kB / 1.043 GB, free: 6.996 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.7645, allocations: 34.56 kB / 1.043 GB, free: 6.953 MB / 0.795 GB Notification: Performance of pre-optimization done (n=41): time 2.325e-06/0.7645, allocations: 0 / 1.043 GB, free: 6.953 MB / 0.795 GB Notification: Performance of matching and sorting (n=42): time 0.00451/0.769, allocations: 2.061 MB / 1.045 GB, free: 4.797 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/0.7691, allocations: 67.28 kB / 1.046 GB, free: 4.719 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005646/0.7697, allocations: 462.7 kB / 1.046 GB, free: 4.258 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.778e-05/0.7697, allocations: 37.7 kB / 1.046 GB, free: 4.215 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002656/0.77, allocations: 387 kB / 1.046 GB, free: 3.828 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/0.7701, allocations: 149.9 kB / 1.047 GB, free: 3.68 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001648/0.7703, allocations: 114.2 kB / 1.047 GB, free: 3.562 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.7705, allocations: 358.8 kB / 1.047 GB, free: 3.203 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003386/0.7708, allocations: 249.2 kB / 1.047 GB, free: 2.961 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004889/0.7713, allocations: 457 kB / 1.048 GB, free: 2.418 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008702/0.7722, allocations: 0.7518 MB / 1.048 GB, free: 1.57 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.7722, allocations: 0 / 1.048 GB, free: 1.57 MB / 0.795 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001998/0.7742, allocations: 1.07 MB / 1.049 GB, free: 492 kB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.461e-05/0.7743, allocations: 12.03 kB / 1.049 GB, free: 480 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/0.7743, allocations: 8 kB / 1.049 GB, free: 472 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001034/0.7753, allocations: 331.1 kB / 1.05 GB, free: 128 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003008/0.7756, allocations: 99.81 kB / 1.05 GB, free: 28 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007102/0.7827, allocations: 7.52 MB / 1.057 GB, free: 7.945 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005326/0.7833, allocations: 32.03 kB / 1.057 GB, free: 7.914 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.12e-05/0.7834, allocations: 31.97 kB / 1.057 GB, free: 7.883 MB / 0.8106 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.0004245/0.7838, allocations: 250.8 kB / 1.058 GB, free: 7.629 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.7839, allocations: 63.19 kB / 1.058 GB, free: 7.566 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001689/0.7856, allocations: 0.916 MB / 1.058 GB, free: 6.629 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.7856, allocations: 7.984 kB / 1.058 GB, free: 6.621 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.7856, allocations: 4.188 kB / 1.058 GB, free: 6.617 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.7857, allocations: 0 / 1.058 GB, free: 6.617 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002597/0.7883, allocations: 1.716 MB / 1.06 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.7883, allocations: 0 / 1.06 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001713/0.7884, allocations: 39.97 kB / 1.06 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000906/0.7894, allocations: 327.5 kB / 1.061 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.285e-05/0.7894, allocations: 8 kB / 1.061 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007179/0.7966, allocations: 7.514 MB / 1.068 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.7967, allocations: 0 / 1.068 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001825/0.7985, allocations: 1.011 MB / 1.069 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002624/0.7988, allocations: 176.4 kB / 1.069 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.189e-05/0.7988, allocations: 8 kB / 1.069 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000265/0.7991, allocations: 19.97 kB / 1.069 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/0.7992, allocations: 39.95 kB / 1.069 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.737e-05/0.7993, allocations: 16 kB / 1.069 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003609/0.7996, allocations: 310.9 kB / 1.069 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7997, allocations: 0 / 1.069 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0008499/0.8005, allocations: 199.9 kB / 1.07 GB, free: 10.53 MB / 0.8262 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.0001687/0.8007, allocations: 111.2 kB / 1.07 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002011/0.8027, allocations: 1.242 MB / 1.071 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/0.8027, allocations: 0 / 1.071 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001178/0.8039, allocations: 0.8696 MB / 1.072 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009829/0.8049, allocations: 201 kB / 1.072 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002082/0.807, allocations: 1.253 MB / 1.073 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006415/0.8076, allocations: 0.9921 MB / 1.074 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0003157/0.808, allocations: 101.3 kB / 1.074 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.483e-05/0.8081, allocations: 35.44 kB / 1.074 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of SimCode: time 8.01e-07/0.8081, allocations: 0 / 1.074 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of Templates: time 0.01793/0.826, allocations: 9.979 MB / 1.084 GB, free: 11.67 MB / 0.8419 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches