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.001201/0.001201, allocations: 110.2 kB / 16.41 MB, free: 6.449 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.001157/0.001157, allocations: 193.4 kB / 17.34 MB, free: 5.738 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.343/1.343, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.594/2.594, allocations: 461.9 MB / 0.7354 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 67.84 kB / 1.055 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9388/0.9403, allocations: 157.4 MB / 1.208 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01361/0.954, allocations: 10.9 MB / 1.219 GB, free: 2.883 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01433/0.9684, allocations: 8.802 MB / 1.228 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001811/0.9702, allocations: 55.69 kB / 1.228 GB, free: 10 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.00489/0.9752, allocations: 1.681 MB / 1.229 GB, free: 8.316 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.005399/0.9806, allocations: 1.526 MB / 1.231 GB, free: 6.785 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002181/0.9828, allocations: 0.6702 MB / 1.232 GB, free: 6.117 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003902/0.9867, allocations: 2.278 MB / 1.234 GB, free: 3.828 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002484/0.9892, allocations: 1.397 MB / 1.235 GB, free: 2.402 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002121/0.9913, allocations: 1 MB / 1.236 GB, free: 1.398 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002193/0.9935, allocations: 1.016 MB / 1.237 GB, free: 388 kB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0005391/0.9941, allocations: 140 kB / 1.237 GB, free: 248 kB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002255/0.9964, allocations: 0.7955 MB / 1.238 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0008689/0.9972, allocations: 0.5686 MB / 1.239 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001731/0.999, allocations: 0.8861 MB / 1.239 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.004432/1.003, allocations: 2.574 MB / 1.242 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/1.003, allocations: 3.938 kB / 1.242 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.345e-06/1.003, allocations: 0 / 1.242 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.964e-05/1.004, allocations: 0 / 1.242 GB, free: 11.4 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.00527/1.009, allocations: 2.014 MB / 1.244 GB, free: 9.328 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/1.009, allocations: 11.97 kB / 1.244 GB, free: 9.316 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01183/1.021, allocations: 2.046 MB / 1.246 GB, free: 7.266 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003025/1.024, allocations: 1.22 MB / 1.247 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001032/1.024, allocations: 82.69 kB / 1.247 GB, free: 5.906 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004946/1.024, allocations: 120.1 kB / 1.247 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006828/1.031, allocations: 2.478 MB / 1.25 GB, free: 3.16 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.635e-05/1.031, allocations: 11.84 kB / 1.25 GB, free: 3.148 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002735/1.032, allocations: 59.97 kB / 1.25 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003946/1.032, allocations: 126.1 kB / 1.25 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007813/1.04, allocations: 2.537 MB / 1.252 GB, free: 428 kB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01572/1.056, allocations: 10.02 MB / 1.262 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00654/1.062, allocations: 1.96 MB / 1.264 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002912/1.065, allocations: 0.9698 MB / 1.265 GB, free: 2.773 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.258e-05/1.065, allocations: 8.438 kB / 1.265 GB, free: 2.766 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.409e-05/1.065, allocations: 43 kB / 1.265 GB, free: 2.711 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=53): time 3.065e-06/1.065, allocations: 0 / 1.265 GB, free: 2.711 MB / 0.9825 GB Notification: Performance of matching and sorting (n=81): time 0.03342/1.099, allocations: 8.707 MB / 1.274 GB, free: 9.949 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.229e-05/1.099, allocations: 60.06 kB / 1.274 GB, free: 9.879 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001826/1.101, allocations: 1.108 MB / 1.275 GB, free: 8.754 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002127/1.101, allocations: 41.7 kB / 1.275 GB, free: 8.707 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006617/1.102, allocations: 0.7302 MB / 1.275 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004126/1.102, allocations: 283.9 kB / 1.276 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004473/1.103, allocations: 202.4 kB / 1.276 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001578/1.103, allocations: 342 kB / 1.276 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003163/1.106, allocations: 1.075 MB / 1.277 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003313/1.109, allocations: 1.301 MB / 1.279 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006349/1.116, allocations: 2.386 MB / 1.281 GB, free: 2.191 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.187e-06/1.116, allocations: 4 kB / 1.281 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009371/1.125, allocations: 3.272 MB / 1.284 GB, free: 14.88 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.858e-05/1.125, allocations: 8.875 kB / 1.284 GB, free: 14.87 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.133e-05/1.125, allocations: 8 kB / 1.284 GB, free: 14.86 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002864/1.128, allocations: 0.7949 MB / 1.285 GB, free: 14.04 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002035/1.13, allocations: 423.3 kB / 1.285 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01786/1.148, allocations: 15.91 MB / 1.301 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002556/1.151, allocations: 291.5 kB / 1.301 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002723/1.151, allocations: 47.97 kB / 1.301 GB, free: 12.26 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.001039/1.152, allocations: 404.1 kB / 1.302 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004569/1.152, allocations: 142.5 kB / 1.302 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00927/1.162, allocations: 3.206 MB / 1.305 GB, free: 8.469 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.81e-05/1.162, allocations: 15.94 kB / 1.305 GB, free: 8.453 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.698e-05/1.162, allocations: 4 kB / 1.305 GB, free: 8.449 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.407e-05/1.162, allocations: 3.984 kB / 1.305 GB, free: 8.445 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01237/1.174, allocations: 4.905 MB / 1.31 GB, free: 3.414 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.399e-05/1.174, allocations: 11.97 kB / 1.31 GB, free: 3.402 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001718/1.176, allocations: 351.3 kB / 1.31 GB, free: 3.059 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002443/1.178, allocations: 0.7013 MB / 1.311 GB, free: 2.332 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001151/1.179, allocations: 35.95 kB / 1.311 GB, free: 2.297 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01667/1.195, allocations: 15.51 MB / 1.326 GB, free: 1.664 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.845e-06/1.195, allocations: 7.938 kB / 1.326 GB, free: 1.656 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008793/1.204, allocations: 3.051 MB / 1.329 GB, free: 14.52 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008607/1.205, allocations: 383.2 kB / 1.329 GB, free: 14.13 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000396/1.205, allocations: 19.98 kB / 1.329 GB, free: 14.11 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002095/1.207, allocations: 287.6 kB / 1.329 GB, free: 13.83 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003021/1.208, allocations: 88.47 kB / 1.33 GB, free: 13.74 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001133/1.208, allocations: 39.97 kB / 1.33 GB, free: 13.7 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001234/1.209, allocations: 0.7366 MB / 1.33 GB, free: 12.96 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.9e-07/1.209, allocations: 0 / 1.33 GB, free: 12.96 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001785/1.211, allocations: 432 kB / 1.331 GB, free: 12.54 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.0003398/1.211, allocations: 135 kB / 1.331 GB, free: 12.4 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.008915/1.22, allocations: 3.633 MB / 1.334 GB, free: 8.664 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/1.22, allocations: 0 / 1.334 GB, free: 8.664 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.005226/1.226, allocations: 2.364 MB / 1.337 GB, free: 6.195 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002921/1.228, allocations: 0.5216 MB / 1.337 GB, free: 5.691 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008925/1.237, allocations: 3.537 MB / 1.341 GB, free: 2.094 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001412/1.239, allocations: 1.384 MB / 1.342 GB, free: 0.6797 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006837/1.24, allocations: 131.3 kB / 1.342 GB, free: 0.5508 MB / 1.061 GB Notification: Performance of SimCode: time 9.62e-07/1.24, allocations: 0 / 1.342 GB, free: 0.5508 MB / 1.061 GB Notification: Performance of Templates: time 0.08328/1.323, allocations: 75.11 MB / 1.415 GB, free: 5.508 MB / 1.139 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/jenkins1/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