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.001897/0.001897, allocations: 108 kB / 15.6 MB, free: 132 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.002175/0.002175, allocations: 194.3 kB / 16.53 MB, free: 6.391 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.621/1.621, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.862/2.862, allocations: 437 MB / 0.7104 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002158/0.002158, allocations: 67.89 kB / 0.8692 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8802/0.8824, allocations: 151.6 MB / 1.017 GB, free: 2.508 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.009048/0.8915, allocations: 6.083 MB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00576/0.8973, allocations: 3.152 MB / 1.026 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000413/0.8977, allocations: 27.81 kB / 1.026 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002438/0.9002, allocations: 0.9271 MB / 1.027 GB, free: 8.281 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001117/0.9013, allocations: 469.5 kB / 1.028 GB, free: 7.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001217/0.9025, allocations: 492.5 kB / 1.028 GB, free: 7.34 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001216/0.9038, allocations: 1.104 MB / 1.029 GB, free: 6.23 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009805/0.9048, allocations: 0.6407 MB / 1.03 GB, free: 5.59 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005648/0.9053, allocations: 430.4 kB / 1.03 GB, free: 5.168 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006789/0.906, allocations: 474.1 kB / 1.031 GB, free: 4.703 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.415e-05/0.9061, allocations: 60 kB / 1.031 GB, free: 4.645 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009/0.907, allocations: 487 kB / 1.031 GB, free: 4.168 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002977/0.9073, allocations: 291.2 kB / 1.032 GB, free: 3.883 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0004086/0.9078, allocations: 394 kB / 1.032 GB, free: 3.496 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001375/0.9091, allocations: 1.164 MB / 1.033 GB, free: 2.328 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.9092, allocations: 4 kB / 1.033 GB, free: 2.324 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.904e-06/0.9092, allocations: 0 / 1.033 GB, free: 2.324 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.785e-05/0.9092, allocations: 0 / 1.033 GB, free: 2.324 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.001725/0.9109, allocations: 1.056 MB / 1.034 GB, free: 1.219 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.911, allocations: 11.98 kB / 1.034 GB, free: 1.207 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001509/0.9125, allocations: 227.7 kB / 1.034 GB, free: 0.9844 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008295/0.9133, allocations: 0.522 MB / 1.035 GB, free: 428 kB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.832e-05/0.9134, allocations: 49.67 kB / 1.035 GB, free: 380 kB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/0.9135, allocations: 72.25 kB / 1.035 GB, free: 308 kB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001524/0.915, allocations: 1.03 MB / 1.036 GB, free: 15.16 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.854e-05/0.9151, allocations: 0 / 1.036 GB, free: 15.16 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.506e-05/0.9151, allocations: 35.92 kB / 1.036 GB, free: 15.12 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.715e-05/0.9153, allocations: 73.27 kB / 1.036 GB, free: 15.05 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00109/0.9163, allocations: 0.6918 MB / 1.037 GB, free: 14.36 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005681/0.922, allocations: 5.737 MB / 1.042 GB, free: 8.195 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/0.9231, allocations: 0.6104 MB / 1.043 GB, free: 7.539 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008986/0.924, allocations: 418.1 kB / 1.043 GB, free: 7.129 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.728e-05/0.9241, allocations: 4 kB / 1.043 GB, free: 7.125 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.175e-05/0.9241, allocations: 42.55 kB / 1.043 GB, free: 7.074 MB / 0.795 GB Notification: Performance of pre-optimization done (n=41): time 2.585e-06/0.9242, allocations: 0 / 1.043 GB, free: 7.074 MB / 0.795 GB Notification: Performance of matching and sorting (n=42): time 0.004895/0.9291, allocations: 2.05 MB / 1.045 GB, free: 4.93 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.73e-05/0.9291, allocations: 59.41 kB / 1.045 GB, free: 4.859 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000538/0.9297, allocations: 454.8 kB / 1.046 GB, free: 4.406 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.565e-05/0.9297, allocations: 33.7 kB / 1.046 GB, free: 4.367 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003035/0.93, allocations: 387 kB / 1.046 GB, free: 3.98 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001315/0.9302, allocations: 145.9 kB / 1.046 GB, free: 3.836 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001763/0.9304, allocations: 118.2 kB / 1.047 GB, free: 3.715 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001776/0.9305, allocations: 362.8 kB / 1.047 GB, free: 3.352 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003667/0.9309, allocations: 245.2 kB / 1.047 GB, free: 3.113 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005586/0.9315, allocations: 461 kB / 1.048 GB, free: 2.566 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/0.9325, allocations: 0.7595 MB / 1.048 GB, free: 1.711 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.9326, allocations: 0 / 1.048 GB, free: 1.711 MB / 0.795 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002006/0.9346, allocations: 1.066 MB / 1.049 GB, free: 0.625 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.84e-05/0.9346, allocations: 8 kB / 1.049 GB, free: 0.6172 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.242e-05/0.9346, allocations: 16.03 kB / 1.049 GB, free: 0.6016 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001084/0.9357, allocations: 323.1 kB / 1.05 GB, free: 280 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003187/0.9361, allocations: 95.83 kB / 1.05 GB, free: 184 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008451/0.9445, allocations: 7.52 MB / 1.057 GB, free: 8.094 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000473/0.945, allocations: 28.03 kB / 1.057 GB, free: 8.066 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.244e-05/0.9451, allocations: 24 kB / 1.057 GB, free: 8.043 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.0004028/0.9455, allocations: 255.5 kB / 1.057 GB, free: 7.785 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.73e-05/0.9456, allocations: 67.19 kB / 1.057 GB, free: 7.719 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001812/0.9474, allocations: 0.9119 MB / 1.058 GB, free: 6.785 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.104e-06/0.9474, allocations: 4 kB / 1.058 GB, free: 6.781 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.9474, allocations: 8.219 kB / 1.058 GB, free: 6.773 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.9475, allocations: 3.984 kB / 1.058 GB, free: 6.77 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003024/0.9505, allocations: 1.708 MB / 1.06 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.9505, allocations: 3.938 kB / 1.06 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001789/0.9507, allocations: 44.03 kB / 1.06 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009898/0.9517, allocations: 331.2 kB / 1.06 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.436e-05/0.9517, allocations: 8 kB / 1.06 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008083/0.9598, allocations: 7.502 MB / 1.068 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.9598, allocations: 4 kB / 1.068 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001866/0.9617, allocations: 1.011 MB / 1.069 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002772/0.962, allocations: 176.4 kB / 1.069 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.508e-05/0.9621, allocations: 8 kB / 1.069 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002681/0.9623, allocations: 19.97 kB / 1.069 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.969e-05/0.9625, allocations: 39.89 kB / 1.069 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.113e-05/0.9625, allocations: 20 kB / 1.069 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003719/0.9629, allocations: 303.2 kB / 1.069 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9629, allocations: 0 / 1.069 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0008177/0.9637, allocations: 199.9 kB / 1.069 GB, free: 10.69 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.0001788/0.9639, allocations: 119 kB / 1.07 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002086/0.966, allocations: 1.242 MB / 1.071 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.966, allocations: 0 / 1.071 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001321/0.9673, allocations: 0.8738 MB / 1.072 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.9683, allocations: 205.8 kB / 1.072 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002077/0.9704, allocations: 1.237 MB / 1.073 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007098/0.9711, allocations: 0.9882 MB / 1.074 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002999/0.9715, allocations: 101.2 kB / 1.074 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.036e-05/0.9715, allocations: 35.44 kB / 1.074 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of SimCode: time 6.31e-07/0.9715, allocations: 0 / 1.074 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of Templates: time 0.01945/0.991, allocations: 9.962 MB / 1.084 GB, free: 11.85 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/jenkins/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