Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.00148/0.001486, allocations: 105.8 kB / 15.99 MB, free: 5.914 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.001461/0.001461, allocations: 196.1 kB / 16.91 MB, free: 5.754 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.328/1.328, allocations: 222.9 MB / 240.6 MB, free: 15.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.521/2.521, allocations: 469.8 MB / 0.7427 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001805/0.001806, allocations: 68.47 kB / 0.9087 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/0.2901, allocations: 159.1 MB / 1.064 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.007825/0.2979, allocations: 6.101 MB / 1.07 GB, free: 8.965 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004718/0.3027, allocations: 3.126 MB / 1.073 GB, free: 5.828 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002828/0.303, allocations: 27.81 kB / 1.073 GB, free: 5.801 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002162/0.3052, allocations: 0.8851 MB / 1.074 GB, free: 4.914 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0009869/0.3062, allocations: 422.1 kB / 1.074 GB, free: 4.5 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.3072, allocations: 442.5 kB / 1.075 GB, free: 4.07 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001165/0.3084, allocations: 1.092 MB / 1.076 GB, free: 2.977 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009823/0.3094, allocations: 0.7211 MB / 1.077 GB, free: 2.254 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005427/0.3099, allocations: 438.3 kB / 1.077 GB, free: 1.824 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005603/0.3105, allocations: 494.1 kB / 1.078 GB, free: 1.34 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 8.76e-05/0.3106, allocations: 60 kB / 1.078 GB, free: 1.281 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007508/0.3114, allocations: 483 kB / 1.078 GB, free: 0.8086 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002835/0.3117, allocations: 299.2 kB / 1.078 GB, free: 0.5156 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003739/0.312, allocations: 397.9 kB / 1.079 GB, free: 128 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.4364/0.7484, allocations: 0.9058 MB / 1.08 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 9.798e-06/0.7485, allocations: 0.6562 kB / 1.08 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.495e-06/0.7485, allocations: 0 / 1.08 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.78e-05/0.7485, allocations: 0.6875 kB / 1.08 GB, free: 12.66 MB / 0.8419 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.001729/0.7502, allocations: 1.048 MB / 1.081 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.7503, allocations: 9.156 kB / 1.081 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001501/0.7518, allocations: 219.9 kB / 1.081 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007094/0.7525, allocations: 0.5287 MB / 1.081 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.665e-05/0.7526, allocations: 50.77 kB / 1.081 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/0.7527, allocations: 66.81 kB / 1.081 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00146/0.7541, allocations: 1.029 MB / 1.082 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.953e-05/0.7542, allocations: 14.09 kB / 1.082 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.465e-05/0.7542, allocations: 25.62 kB / 1.083 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.699e-05/0.7543, allocations: 68.16 kB / 1.083 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001/0.7553, allocations: 0.6953 MB / 1.083 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004032/0.7594, allocations: 5.758 MB / 1.089 GB, free: 7.07 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007519/0.7602, allocations: 0.5923 MB / 1.089 GB, free: 6.859 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007505/0.7609, allocations: 423.1 kB / 1.09 GB, free: 6.844 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.7e-05/0.761, allocations: 12.59 kB / 1.09 GB, free: 6.84 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.761, allocations: 38.47 kB / 1.09 GB, free: 6.801 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=41): time 2.374e-06/0.761, allocations: 1.25 kB / 1.09 GB, free: 6.801 MB / 0.8419 GB Notification: Performance of matching and sorting (n=42): time 0.004217/0.7652, allocations: 2.054 MB / 1.092 GB, free: 6.176 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/0.7653, allocations: 58.3 kB / 1.092 GB, free: 6.113 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000487/0.7658, allocations: 457.6 kB / 1.092 GB, free: 5.988 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.185e-05/0.7658, allocations: 32.81 kB / 1.092 GB, free: 5.957 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000204/0.766, allocations: 387.6 kB / 1.093 GB, free: 5.668 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.592e-05/0.7661, allocations: 151 kB / 1.093 GB, free: 5.555 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/0.7663, allocations: 113.1 kB / 1.093 GB, free: 5.492 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 8.209e-05/0.7664, allocations: 360.4 kB / 1.093 GB, free: 5.16 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003378/0.7667, allocations: 252.5 kB / 1.094 GB, free: 5.066 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004164/0.7671, allocations: 460.6 kB / 1.094 GB, free: 4.719 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008113/0.7679, allocations: 0.7497 MB / 1.095 GB, free: 4.234 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.768, allocations: 2.406 kB / 1.095 GB, free: 4.234 MB / 0.8419 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001927/0.7699, allocations: 1.066 MB / 1.096 GB, free: 3.84 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/0.7699, allocations: 11.28 kB / 1.096 GB, free: 3.836 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/0.7699, allocations: 8.375 kB / 1.096 GB, free: 3.836 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001044/0.771, allocations: 327.5 kB / 1.096 GB, free: 3.742 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003111/0.7713, allocations: 99.41 kB / 1.096 GB, free: 3.738 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006458/0.7778, allocations: 7.517 MB / 1.104 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005307/0.7783, allocations: 29.59 kB / 1.104 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.944e-05/0.7784, allocations: 26.28 kB / 1.104 GB, free: 13.39 MB / 0.8575 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.0004098/0.7788, allocations: 247.8 kB / 1.104 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.7789, allocations: 64.94 kB / 1.104 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001732/0.7807, allocations: 0.9124 MB / 1.105 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.7807, allocations: 5.016 kB / 1.105 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.7807, allocations: 4.656 kB / 1.105 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.7807, allocations: 6.578 kB / 1.105 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00281/0.7835, allocations: 1.7 MB / 1.107 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.7835, allocations: 6.375 kB / 1.107 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001724/0.7837, allocations: 45.27 kB / 1.107 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001004/0.7847, allocations: 319.2 kB / 1.107 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.353e-05/0.7848, allocations: 15.75 kB / 1.107 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007589/0.7924, allocations: 7.515 MB / 1.114 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.7924, allocations: 1.406 kB / 1.114 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001977/0.7944, allocations: 1.013 MB / 1.115 GB, free: 5.012 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002951/0.7947, allocations: 175 kB / 1.115 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.897e-05/0.7948, allocations: 8.422 kB / 1.115 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002698/0.7951, allocations: 19.95 kB / 1.115 GB, free: 4.863 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/0.7952, allocations: 48.8 kB / 1.115 GB, free: 4.852 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.849e-05/0.7952, allocations: 13.19 kB / 1.115 GB, free: 4.848 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003713/0.7956, allocations: 302.2 kB / 1.116 GB, free: 4.707 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.5e-07/0.7956, allocations: 0 / 1.116 GB, free: 4.707 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0008779/0.7965, allocations: 198 kB / 1.116 GB, free: 4.684 MB / 0.8575 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.0001667/0.7967, allocations: 114.4 kB / 1.116 GB, free: 4.582 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.00207/0.7987, allocations: 1.241 MB / 1.117 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.7988, allocations: 1.188 kB / 1.117 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001265/0.8, allocations: 0.8636 MB / 1.118 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/0.8011, allocations: 216 kB / 1.118 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00235/0.8035, allocations: 1.587 MB / 1.12 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006877/0.8042, allocations: 0.9894 MB / 1.121 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.8043, allocations: 38.48 kB / 1.121 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of SimCode: time 5.91e-07/0.8043, allocations: 0 / 1.121 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of Templates: time 0.02428/0.8286, allocations: 18.45 MB / 1.139 GB, free: 12.72 MB / 0.8731 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches