Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.OnePhase.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.OnePhase.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.OnePhase.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.OnePhase.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.001008/0.001008, allocations: 92.16 kB / 16.02 MB, free: 80 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.001135/0.001135, allocations: 172 kB / 16.92 MB, free: 6.652 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.403/1.403, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.69/2.69, allocations: 437.8 MB / 0.7128 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003826/0.0003828, allocations: 15.98 kB / 0.8735 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7074/0.7078, allocations: 153.8 MB / 1.024 GB, free: 12 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.007875/0.7158, allocations: 5.668 MB / 1.029 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005844/0.7217, allocations: 3.126 MB / 1.032 GB, free: 7.184 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007427/0.7225, allocations: 27.81 kB / 1.032 GB, free: 7.156 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0005562/0.723, allocations: 115 kB / 1.032 GB, free: 7.043 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001534/0.7246, allocations: 442 kB / 1.033 GB, free: 6.609 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001442/0.7261, allocations: 453.9 kB / 1.033 GB, free: 6.168 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001926/0.728, allocations: 1.463 MB / 1.035 GB, free: 4.699 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002071/0.7301, allocations: 0.996 MB / 1.036 GB, free: 3.68 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008583/0.731, allocations: 350.4 kB / 1.036 GB, free: 3.336 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009154/0.7319, allocations: 450.2 kB / 1.036 GB, free: 2.895 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001596/0.7321, allocations: 32 kB / 1.036 GB, free: 2.863 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001281/0.7333, allocations: 0.5731 MB / 1.037 GB, free: 2.289 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003966/0.7338, allocations: 251.2 kB / 1.037 GB, free: 2.043 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0006153/0.7344, allocations: 383.7 kB / 1.038 GB, free: 1.66 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.00128/0.7357, allocations: 0.8942 MB / 1.039 GB, free: 0.7656 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.7357, allocations: 0 / 1.039 GB, free: 0.7656 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.843e-06/0.7357, allocations: 0 / 1.039 GB, free: 0.7656 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.744e-05/0.7357, allocations: 0 / 1.039 GB, free: 0.7656 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.001882/0.7376, allocations: 0.9096 MB / 1.039 GB, free: 15.8 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.7377, allocations: 11.98 kB / 1.039 GB, free: 15.79 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00175/0.7394, allocations: 231.5 kB / 1.04 GB, free: 15.57 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009934/0.7404, allocations: 0.5143 MB / 1.04 GB, free: 15.01 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.278e-05/0.7405, allocations: 53.66 kB / 1.04 GB, free: 14.96 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001752/0.7407, allocations: 68.27 kB / 1.04 GB, free: 14.89 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001802/0.7425, allocations: 1.038 MB / 1.041 GB, free: 13.75 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.078e-05/0.7426, allocations: 3.984 kB / 1.041 GB, free: 13.75 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.315e-05/0.7426, allocations: 31.98 kB / 1.041 GB, free: 13.72 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001109/0.7428, allocations: 65.28 kB / 1.041 GB, free: 13.65 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001243/0.744, allocations: 0.6956 MB / 1.042 GB, free: 12.95 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006229/0.7502, allocations: 5.76 MB / 1.048 GB, free: 6.766 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009218/0.7512, allocations: 0.6041 MB / 1.048 GB, free: 6.117 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008189/0.752, allocations: 412.6 kB / 1.049 GB, free: 5.711 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.664e-05/0.7521, allocations: 4 kB / 1.049 GB, free: 5.707 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.7521, allocations: 38.56 kB / 1.049 GB, free: 5.66 MB / 0.795 GB Notification: Performance of pre-optimization done (n=41): time 3.537e-06/0.7522, allocations: 0 / 1.049 GB, free: 5.66 MB / 0.795 GB Notification: Performance of matching and sorting (n=42): time 0.004943/0.7571, allocations: 2.069 MB / 1.051 GB, free: 3.496 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.7572, allocations: 55.41 kB / 1.051 GB, free: 3.43 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000602/0.7578, allocations: 450.8 kB / 1.051 GB, free: 2.977 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.402e-05/0.7578, allocations: 37.7 kB / 1.051 GB, free: 2.934 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002956/0.7581, allocations: 395 kB / 1.052 GB, free: 2.543 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001393/0.7583, allocations: 145.9 kB / 1.052 GB, free: 2.398 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.067e-05/0.7584, allocations: 53.69 kB / 1.052 GB, free: 2.34 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.7585, allocations: 362.8 kB / 1.052 GB, free: 1.977 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003854/0.7589, allocations: 241.2 kB / 1.052 GB, free: 1.742 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005266/0.7595, allocations: 465.5 kB / 1.053 GB, free: 1.191 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001018/0.7605, allocations: 0.7517 MB / 1.054 GB, free: 352 kB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.884e-06/0.7605, allocations: 11.94 kB / 1.054 GB, free: 340 kB / 0.795 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002077/0.7626, allocations: 1.062 MB / 1.055 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.06e-05/0.7627, allocations: 8 kB / 1.055 GB, free: 15.24 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/0.7627, allocations: 11.94 kB / 1.055 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001113/0.7638, allocations: 327.8 kB / 1.055 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003332/0.7641, allocations: 99.77 kB / 1.055 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007474/0.7716, allocations: 6.954 MB / 1.062 GB, free: 7.309 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005358/0.7722, allocations: 36.02 kB / 1.062 GB, free: 7.273 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.841e-05/0.7723, allocations: 28 kB / 1.062 GB, free: 7.246 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.0004915/0.7728, allocations: 245.5 kB / 1.062 GB, free: 6.996 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001644/0.773, allocations: 55.34 kB / 1.062 GB, free: 6.941 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001961/0.775, allocations: 0.9235 MB / 1.063 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.775, allocations: 4.281 kB / 1.063 GB, free: 5.988 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-05/0.775, allocations: 4 kB / 1.063 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.775, allocations: 0 / 1.063 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003075/0.7781, allocations: 1.708 MB / 1.065 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/0.7781, allocations: 0 / 1.065 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001834/0.7783, allocations: 39.97 kB / 1.065 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001017/0.7793, allocations: 323.2 kB / 1.065 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.011e-05/0.7794, allocations: 12 kB / 1.065 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007511/0.7869, allocations: 6.931 MB / 1.072 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.181e-06/0.787, allocations: 7.938 kB / 1.072 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001877/0.7888, allocations: 1.019 MB / 1.073 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003088/0.7892, allocations: 176.3 kB / 1.073 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.7893, allocations: 12 kB / 1.073 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003276/0.7896, allocations: 23.97 kB / 1.073 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/0.7898, allocations: 43.94 kB / 1.073 GB, free: 11 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3e-05/0.7898, allocations: 11.94 kB / 1.073 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004102/0.7902, allocations: 306.9 kB / 1.073 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7902, allocations: 288 / 1.073 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001018/0.7913, allocations: 192 kB / 1.074 GB, free: 10.51 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.0002281/0.7915, allocations: 127 kB / 1.074 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002075/0.7936, allocations: 1.211 MB / 1.075 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.7936, allocations: 0 / 1.075 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001259/0.7949, allocations: 0.8618 MB / 1.076 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.001245/0.7961, allocations: 181 kB / 1.076 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002574/0.7987, allocations: 1.601 MB / 1.077 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006839/0.7994, allocations: 0.9843 MB / 1.078 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.7995, allocations: 39.44 kB / 1.078 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of SimCode: time 5.41e-07/0.7995, allocations: 0 / 1.078 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of Templates: time 0.02535/0.8249, allocations: 18.37 MB / 1.096 GB, free: 2.977 MB / 0.8419 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches