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.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.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.00156/0.001567, allocations: 108.3 kB / 16.27 MB, free: 6.41 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.0017/0.0017, allocations: 190.3 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.444/1.444, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.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.671/2.671, allocations: 437.1 MB / 0.7111 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 61.22 kB / 0.8699 GB, free: 2.164 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3538/0.3557, allocations: 151.6 MB / 1.018 GB, free: 10.6 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.009479/0.3652, allocations: 6.07 MB / 1.024 GB, free: 4.508 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.006135/0.3714, allocations: 3.156 MB / 1.027 GB, free: 1.34 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008088/0.3723, allocations: 27.81 kB / 1.027 GB, free: 1.312 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002611/0.3749, allocations: 0.9316 MB / 1.028 GB, free: 388 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.001695/0.3766, allocations: 473.6 kB / 1.028 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001506/0.3781, allocations: 497.8 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.00166/0.3798, allocations: 1.092 MB / 1.03 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001099/0.3809, allocations: 0.6429 MB / 1.031 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007511/0.3817, allocations: 422.4 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006739/0.3824, allocations: 478.2 kB / 1.031 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001002/0.3825, allocations: 60 kB / 1.031 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00109/0.3836, allocations: 487 kB / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0003202/0.3839, allocations: 291.2 kB / 1.032 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0004506/0.3844, allocations: 394 kB / 1.033 GB, free: 11.6 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001536/0.3859, allocations: 1.16 MB / 1.034 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 9.838e-06/0.3859, allocations: 15.98 kB / 1.034 GB, free: 10.42 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.265e-06/0.386, allocations: 0 / 1.034 GB, free: 10.42 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.317e-05/0.386, allocations: 0 / 1.034 GB, free: 10.42 MB / 0.8106 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.00183/0.3878, allocations: 1.04 MB / 1.035 GB, free: 9.328 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.3879, allocations: 16.88 kB / 1.035 GB, free: 9.312 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001589/0.3895, allocations: 219.7 kB / 1.035 GB, free: 9.098 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008213/0.3903, allocations: 0.5337 MB / 1.036 GB, free: 8.52 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.999e-05/0.3904, allocations: 41.69 kB / 1.036 GB, free: 8.48 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001167/0.3905, allocations: 72.27 kB / 1.036 GB, free: 8.41 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001535/0.392, allocations: 1.03 MB / 1.037 GB, free: 7.27 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.198e-05/0.3921, allocations: 7.938 kB / 1.037 GB, free: 7.262 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.275e-05/0.3921, allocations: 31.98 kB / 1.037 GB, free: 7.23 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.711e-05/0.3923, allocations: 65.27 kB / 1.037 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00109/0.3933, allocations: 0.6918 MB / 1.037 GB, free: 6.473 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005805/0.3992, allocations: 5.756 MB / 1.043 GB, free: 296 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009563/0.4002, allocations: 0.5949 MB / 1.044 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008267/0.401, allocations: 420.6 kB / 1.044 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.266e-05/0.401, allocations: 4 kB / 1.044 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.4011, allocations: 38.56 kB / 1.044 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=41): time 2.655e-06/0.4011, allocations: 3.938 kB / 1.044 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of matching and sorting (n=42): time 0.004765/0.4059, allocations: 2.056 MB / 1.046 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.395e-05/0.4059, allocations: 55.41 kB / 1.046 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005806/0.4065, allocations: 454.7 kB / 1.047 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.9e-05/0.4066, allocations: 33.7 kB / 1.047 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003211/0.4069, allocations: 387 kB / 1.047 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001493/0.4071, allocations: 149.9 kB / 1.047 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001872/0.4073, allocations: 118.1 kB / 1.047 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002075/0.4075, allocations: 366.8 kB / 1.048 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003711/0.4078, allocations: 245.2 kB / 1.048 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005399/0.4084, allocations: 453 kB / 1.048 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009944/0.4094, allocations: 0.7559 MB / 1.049 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.4094, allocations: 0 / 1.049 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002046/0.4115, allocations: 1.066 MB / 1.05 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.709e-05/0.4115, allocations: 10.81 kB / 1.05 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/0.4115, allocations: 8 kB / 1.05 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001072/0.4126, allocations: 335.3 kB / 1.05 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003245/0.4129, allocations: 95.83 kB / 1.05 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008229/0.4212, allocations: 7.517 MB / 1.058 GB, free: 204 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005257/0.4217, allocations: 32.02 kB / 1.058 GB, free: 172 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.121e-05/0.4218, allocations: 31.94 kB / 1.058 GB, free: 140 kB / 0.8262 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.0004551/0.4223, allocations: 248 kB / 1.058 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001633/0.4225, allocations: 63.19 kB / 1.058 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001863/0.4243, allocations: 0.9119 MB / 1.059 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/0.4243, allocations: 4 kB / 1.059 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.471e-05/0.4244, allocations: 4 kB / 1.059 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.4244, allocations: 7.984 kB / 1.059 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003017/0.4274, allocations: 1.706 MB / 1.061 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.4274, allocations: 4.031 kB / 1.061 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001823/0.4276, allocations: 39.97 kB / 1.061 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001003/0.4286, allocations: 331 kB / 1.061 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.679e-05/0.4287, allocations: 12 kB / 1.061 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008143/0.4368, allocations: 7.504 MB / 1.068 GB, free: 4.629 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.275e-05/0.4369, allocations: 7.969 kB / 1.068 GB, free: 4.621 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001951/0.4389, allocations: 1.019 MB / 1.069 GB, free: 3.555 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003363/0.4392, allocations: 168.4 kB / 1.07 GB, free: 3.371 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001259/0.4394, allocations: 11.98 kB / 1.07 GB, free: 3.359 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003396/0.4397, allocations: 19.98 kB / 1.07 GB, free: 3.34 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/0.4399, allocations: 43.88 kB / 1.07 GB, free: 3.297 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.817e-05/0.4399, allocations: 16 kB / 1.07 GB, free: 3.281 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004342/0.4403, allocations: 302.9 kB / 1.07 GB, free: 2.988 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4403, allocations: 0 / 1.07 GB, free: 2.988 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001024/0.4414, allocations: 199.9 kB / 1.07 GB, free: 2.793 MB / 0.8419 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.0002464/0.4416, allocations: 115.2 kB / 1.07 GB, free: 2.672 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002263/0.4439, allocations: 1.245 MB / 1.071 GB, free: 1.375 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/0.4439, allocations: 0 / 1.071 GB, free: 1.375 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001345/0.4453, allocations: 0.8777 MB / 1.072 GB, free: 456 kB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001178/0.4465, allocations: 210.4 kB / 1.073 GB, free: 256 kB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.505/0.9515, allocations: 1.288 MB / 1.074 GB, free: 59.48 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006815/0.9522, allocations: 0.9909 MB / 1.075 GB, free: 58.77 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001366/0.9524, allocations: 42.02 kB / 1.075 GB, free: 58.77 MB / 0.8419 GB Notification: Performance of SimCode: time 1.343e-06/0.9524, allocations: 0 / 1.075 GB, free: 58.77 MB / 0.8419 GB Notification: Performance of Templates: time 0.03081/0.9832, allocations: 18.45 MB / 1.093 GB, free: 56.89 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=400 -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