Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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,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_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,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_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005462/0.005462, allocations: 107 kB / 15.74 MB, free: 6.043 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.001201/0.001201, allocations: 199 kB / 16.68 MB, free: 5.957 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.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.606/2.606, allocations: 461.9 MB / 0.7348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 60.11 kB / 1.054 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8936/0.895, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01312/0.9082, allocations: 10.91 MB / 1.218 GB, free: 2.703 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01251/0.9207, allocations: 8.794 MB / 1.227 GB, free: 9.883 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001333/0.9221, allocations: 55.69 kB / 1.227 GB, free: 9.828 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.004265/0.9264, allocations: 1.676 MB / 1.229 GB, free: 8.148 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.004342/0.9307, allocations: 1.563 MB / 1.23 GB, free: 6.582 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001769/0.9325, allocations: 0.6705 MB / 1.231 GB, free: 5.91 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0029/0.9354, allocations: 2.294 MB / 1.233 GB, free: 3.605 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001868/0.9373, allocations: 1.379 MB / 1.234 GB, free: 2.199 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001602/0.9389, allocations: 1.012 MB / 1.235 GB, free: 1.184 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001616/0.9405, allocations: 1.016 MB / 1.236 GB, free: 168 kB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0003494/0.9409, allocations: 140 kB / 1.237 GB, free: 28 kB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001671/0.9426, allocations: 0.7993 MB / 1.237 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0006558/0.9432, allocations: 0.5609 MB / 1.238 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001109/0.9444, allocations: 0.89 MB / 1.239 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002671/0.947, allocations: 2.564 MB / 1.241 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.9471, allocations: 4 kB / 1.241 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.004e-06/0.9471, allocations: 3.938 kB / 1.241 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.345e-05/0.9471, allocations: 0 / 1.241 GB, free: 11.19 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.002908/0.95, allocations: 2.018 MB / 1.243 GB, free: 9.117 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.9501, allocations: 8.031 kB / 1.243 GB, free: 9.109 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009868/0.9599, allocations: 2.046 MB / 1.245 GB, free: 7.059 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002219/0.9622, allocations: 1.216 MB / 1.246 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.048e-05/0.9622, allocations: 86.69 kB / 1.246 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002362/0.9625, allocations: 116.1 kB / 1.247 GB, free: 5.586 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00477/0.9673, allocations: 2.486 MB / 1.249 GB, free: 2.949 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.006e-05/0.9673, allocations: 11.84 kB / 1.249 GB, free: 2.938 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001454/0.9675, allocations: 51.98 kB / 1.249 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003113/0.9678, allocations: 130.1 kB / 1.249 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00637/0.9742, allocations: 2.541 MB / 1.252 GB, free: 212 kB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01237/0.9866, allocations: 10.02 MB / 1.261 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00516/0.9918, allocations: 1.956 MB / 1.263 GB, free: 3.543 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002336/0.9941, allocations: 0.969 MB / 1.264 GB, free: 2.574 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.413e-05/0.9942, allocations: 8.438 kB / 1.264 GB, free: 2.566 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.144e-05/0.9942, allocations: 50.98 kB / 1.264 GB, free: 2.504 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=53): time 2.505e-06/0.9943, allocations: 0 / 1.264 GB, free: 2.504 MB / 0.9825 GB Notification: Performance of matching and sorting (n=81): time 0.02759/1.022, allocations: 8.703 MB / 1.273 GB, free: 9.746 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/1.022, allocations: 60.06 kB / 1.273 GB, free: 9.676 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001395/1.023, allocations: 1.112 MB / 1.274 GB, free: 8.547 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001037/1.023, allocations: 41.7 kB / 1.274 GB, free: 8.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004725/1.024, allocations: 0.7263 MB / 1.275 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000252/1.024, allocations: 287.9 kB / 1.275 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003755/1.025, allocations: 202.4 kB / 1.275 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001144/1.025, allocations: 345.9 kB / 1.276 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002547/1.027, allocations: 1.071 MB / 1.277 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002623/1.03, allocations: 1.305 MB / 1.278 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00523/1.035, allocations: 2.378 MB / 1.28 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/1.035, allocations: 4 kB / 1.28 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008116/1.043, allocations: 3.28 MB / 1.283 GB, free: 14.66 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/1.043, allocations: 8.875 kB / 1.283 GB, free: 14.66 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/1.043, allocations: 8 kB / 1.283 GB, free: 14.65 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002666/1.046, allocations: 0.795 MB / 1.284 GB, free: 13.83 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001721/1.048, allocations: 419.2 kB / 1.285 GB, free: 13.42 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01483/1.063, allocations: 15.91 MB / 1.3 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002011/1.065, allocations: 287.5 kB / 1.3 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001228/1.065, allocations: 51.95 kB / 1.3 GB, free: 12.05 MB / 1.029 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006815/1.065, allocations: 401.5 kB / 1.301 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002438/1.066, allocations: 142.3 kB / 1.301 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007796/1.074, allocations: 3.202 MB / 1.304 GB, free: 8.262 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-05/1.074, allocations: 11.94 kB / 1.304 GB, free: 8.25 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.144e-05/1.074, allocations: 8 kB / 1.304 GB, free: 8.242 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/1.074, allocations: 7.984 kB / 1.304 GB, free: 8.234 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01017/1.084, allocations: 4.905 MB / 1.309 GB, free: 3.203 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.716e-06/1.084, allocations: 3.938 kB / 1.309 GB, free: 3.199 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001417/1.085, allocations: 355.4 kB / 1.309 GB, free: 2.852 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00234/1.088, allocations: 0.7054 MB / 1.31 GB, free: 2.121 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001004/1.088, allocations: 31.97 kB / 1.31 GB, free: 2.09 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01397/1.102, allocations: 15.52 MB / 1.325 GB, free: 1.449 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.381e-06/1.102, allocations: 7.984 kB / 1.325 GB, free: 1.441 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007321/1.109, allocations: 3.043 MB / 1.328 GB, free: 14.32 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007071/1.11, allocations: 383.2 kB / 1.329 GB, free: 13.92 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001703/1.11, allocations: 20 kB / 1.329 GB, free: 13.9 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001623/1.112, allocations: 291.4 kB / 1.329 GB, free: 13.62 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002636/1.112, allocations: 84.48 kB / 1.329 GB, free: 13.54 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.681e-05/1.112, allocations: 35.97 kB / 1.329 GB, free: 13.5 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000929/1.113, allocations: 0.7405 MB / 1.33 GB, free: 12.76 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.7e-07/1.113, allocations: 0 / 1.33 GB, free: 12.76 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.00136/1.114, allocations: 432 kB / 1.33 GB, free: 12.34 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,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.0002551/1.115, allocations: 135 kB / 1.33 GB, free: 12.2 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.007619/1.122, allocations: 3.633 MB / 1.334 GB, free: 8.457 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.044e-05/1.122, allocations: 7.938 kB / 1.334 GB, free: 8.449 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.004439/1.127, allocations: 2.356 MB / 1.336 GB, free: 5.988 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002203/1.129, allocations: 0.5221 MB / 1.337 GB, free: 5.484 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006673/1.136, allocations: 3.441 MB / 1.34 GB, free: 1.992 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000968/1.137, allocations: 1.388 MB / 1.341 GB, free: 0.5742 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001146/1.138, allocations: 375.9 kB / 1.342 GB, free: 208 kB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003508/1.138, allocations: 107.4 kB / 1.342 GB, free: 100 kB / 1.061 GB Notification: Performance of SimCode: time 7.32e-07/1.138, allocations: 3.938 kB / 1.342 GB, free: 96 kB / 1.061 GB Notification: Performance of Templates: time 0.04338/1.181, allocations: 30.49 MB / 1.372 GB, free: 2.004 MB / 1.092 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches