Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001337/0.001337, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.01349/0.01349, allocations: 173.4 kB / 16.27 MB, free: 6.613 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.611/1.611, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.535/2.535, allocations: 390.9 MB / 0.6663 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004855/0.0004859, allocations: 8 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.045/1.046, allocations: 142.4 MB / 0.9551 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.006056/1.052, allocations: 5.686 MB / 0.9606 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004931/1.057, allocations: 3.109 MB / 0.9636 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006081/1.058, allocations: 24.44 kB / 0.9637 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003994/1.058, allocations: 121.9 kB / 0.9638 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001198/1.059, allocations: 440.8 kB / 0.9642 GB, free: 464 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001136/1.06, allocations: 438.7 kB / 0.9646 GB, free: 128 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001799/1.062, allocations: 1.466 MB / 0.966 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001939/1.064, allocations: 0.9935 MB / 0.967 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007829/1.065, allocations: 357 kB / 0.9674 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006787/1.066, allocations: 445.7 kB / 0.9678 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.401e-05/1.066, allocations: 30.03 kB / 0.9678 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001272/1.067, allocations: 0.5733 MB / 0.9684 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003185/1.067, allocations: 255.3 kB / 0.9686 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004351/1.068, allocations: 391.5 kB / 0.969 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001507/1.069, allocations: 1.162 MB / 0.9701 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/1.069, allocations: 0 / 0.9701 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.054e-06/1.069, allocations: 1.281 kB / 0.9701 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.121e-05/1.069, allocations: 0 / 0.9701 GB, free: 12.7 MB / 0.7325 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.001635/1.071, allocations: 0.9066 MB / 0.971 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/1.071, allocations: 13.66 kB / 0.971 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001658/1.073, allocations: 222.9 kB / 0.9712 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008542/1.074, allocations: 0.527 MB / 0.9718 GB, free: 11.4 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.819e-05/1.074, allocations: 47.02 kB / 0.9718 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001325/1.074, allocations: 68.95 kB / 0.9719 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001625/1.075, allocations: 1.03 MB / 0.9729 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.176e-05/1.075, allocations: 7.312 kB / 0.9729 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-05/1.076, allocations: 33.3 kB / 0.9729 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001079/1.076, allocations: 61.72 kB / 0.973 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001145/1.077, allocations: 0.6912 MB / 0.9736 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005517/1.082, allocations: 5.762 MB / 0.9793 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009325/1.083, allocations: 0.5998 MB / 0.9799 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008327/1.084, allocations: 427.6 kB / 0.9803 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.783e-05/1.084, allocations: 7.938 kB / 0.9803 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/1.084, allocations: 37.47 kB / 0.9803 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=41): time 3.016e-06/1.084, allocations: 0 / 0.9803 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of matching and sorting (n=42): time 0.005066/1.089, allocations: 2.074 MB / 0.9823 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.968e-05/1.089, allocations: 59.34 kB / 0.9824 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005375/1.09, allocations: 454.8 kB / 0.9828 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.899e-05/1.09, allocations: 29.7 kB / 0.9828 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002726/1.09, allocations: 395 kB / 0.9832 GB, free: 1.641 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/1.09, allocations: 145.9 kB / 0.9834 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.001e-05/1.09, allocations: 57.69 kB / 0.9834 GB, free: 1.434 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001653/1.091, allocations: 358.8 kB / 0.9838 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003655/1.091, allocations: 249.2 kB / 0.984 GB, free: 0.8281 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000523/1.092, allocations: 461 kB / 0.9844 GB, free: 292 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009639/1.093, allocations: 0.7402 MB / 0.9852 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/1.093, allocations: 0 / 0.9852 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001998/1.095, allocations: 1.073 MB / 0.9862 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/1.095, allocations: 8 kB / 0.9862 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/1.095, allocations: 8 kB / 0.9862 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001493/1.096, allocations: 331.5 kB / 0.9865 GB, free: 14 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004965/1.097, allocations: 103.8 kB / 0.9866 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01033/1.107, allocations: 6.947 MB / 0.9934 GB, free: 6.418 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009296/1.108, allocations: 32.02 kB / 0.9935 GB, free: 6.387 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.333e-05/1.108, allocations: 24 kB / 0.9935 GB, free: 6.363 MB / 0.7481 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.0006635/1.109, allocations: 249.5 kB / 0.9937 GB, free: 6.109 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001741/1.109, allocations: 55.48 kB / 0.9938 GB, free: 6.055 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002866/1.112, allocations: 0.9232 MB / 0.9947 GB, free: 5.105 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.195e-05/1.112, allocations: 4 kB / 0.9947 GB, free: 5.102 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.195e-05/1.112, allocations: 8.281 kB / 0.9947 GB, free: 5.094 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/1.112, allocations: 0 / 0.9947 GB, free: 5.094 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004252/1.116, allocations: 1.704 MB / 0.9963 GB, free: 3.301 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-05/1.116, allocations: 7.938 kB / 0.9964 GB, free: 3.293 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002724/1.116, allocations: 39.91 kB / 0.9964 GB, free: 3.254 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001505/1.118, allocations: 323.1 kB / 0.9967 GB, free: 2.926 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.694e-05/1.118, allocations: 8 kB / 0.9967 GB, free: 2.918 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01176/1.13, allocations: 6.943 MB / 1.003 GB, free: 11.44 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/1.13, allocations: 0 / 1.003 GB, free: 11.44 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003463/1.133, allocations: 1.015 MB / 1.004 GB, free: 10.38 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006117/1.134, allocations: 176.4 kB / 1.005 GB, free: 10.19 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/1.134, allocations: 11.98 kB / 1.005 GB, free: 10.18 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006033/1.135, allocations: 23.98 kB / 1.005 GB, free: 10.15 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002165/1.135, allocations: 43.88 kB / 1.005 GB, free: 10.11 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.664e-05/1.135, allocations: 15.94 kB / 1.005 GB, free: 10.09 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0005808/1.136, allocations: 306.9 kB / 1.005 GB, free: 9.797 MB / 0.7637 GB Notification: Performance of sort global known variables: time 5.11e-07/1.136, allocations: 0 / 1.005 GB, free: 9.797 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001428/1.137, allocations: 196.3 kB / 1.005 GB, free: 9.605 MB / 0.7637 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.0002452/1.137, allocations: 121.6 kB / 1.005 GB, free: 9.48 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.003598/1.141, allocations: 1.187 MB / 1.006 GB, free: 8.242 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/1.141, allocations: 4.125 kB / 1.006 GB, free: 8.238 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.002366/1.143, allocations: 0.8734 MB / 1.007 GB, free: 7.312 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00226/1.146, allocations: 180.8 kB / 1.008 GB, free: 7.137 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004541/1.15, allocations: 1.527 MB / 1.009 GB, free: 5.566 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001031/1.151, allocations: 0.9843 MB / 1.01 GB, free: 4.551 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0006872/1.152, allocations: 105.2 kB / 1.01 GB, free: 4.449 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001291/1.152, allocations: 35.38 kB / 1.01 GB, free: 4.414 MB / 0.7637 GB Notification: Performance of SimCode: time 1.102e-06/1.152, allocations: 4 kB / 1.01 GB, free: 4.41 MB / 0.7637 GB Notification: Performance of Templates: time 0.03364/1.186, allocations: 9.464 MB / 1.019 GB, free: 11.04 MB / 0.7794 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches