Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008503/0.008503, allocations: 98.7 kB / 15.73 MB, free: 6.02 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.001722/0.001722, allocations: 198 kB / 16.68 MB, free: 5.934 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.597/2.597, allocations: 469.8 MB / 0.7425 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 59.91 kB / 1.065 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8509/0.8521, allocations: 159.1 MB / 1.221 GB, free: 2.105 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02419/0.8763, allocations: 20.3 MB / 1.24 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01143/0.8877, allocations: 6.449 MB / 1.247 GB, free: 7.273 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00264/0.8903, allocations: 91.5 kB / 1.247 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.006381/0.8967, allocations: 2.265 MB / 1.249 GB, free: 4.914 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004066/0.9008, allocations: 1.24 MB / 1.25 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004314/0.9051, allocations: 1.291 MB / 1.252 GB, free: 2.375 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.007077/0.9122, allocations: 4.842 MB / 1.256 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006929/0.9191, allocations: 4.243 MB / 1.26 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003304/0.9224, allocations: 2.127 MB / 1.262 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00376/0.9262, allocations: 2.34 MB / 1.265 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.001171/0.9273, allocations: 428 kB / 1.265 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002889/0.9302, allocations: 0.9986 MB / 1.266 GB, free: 3.312 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.002841/0.9331, allocations: 1.711 MB / 1.268 GB, free: 1.598 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.004521/0.9376, allocations: 1.91 MB / 1.27 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01033/0.9479, allocations: 6.534 MB / 1.276 GB, free: 9.129 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.9479, allocations: 4 kB / 1.276 GB, free: 9.125 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.913e-06/0.9479, allocations: 0 / 1.276 GB, free: 9.125 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001965/0.9481, allocations: 3.984 kB / 1.276 GB, free: 9.121 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.007811/0.9559, allocations: 3.541 MB / 1.28 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.956, allocations: 15.97 kB / 1.28 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003496/0.9595, allocations: 0.6584 MB / 1.28 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003777/0.9633, allocations: 2.05 MB / 1.282 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001508/0.9634, allocations: 226.3 kB / 1.282 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000463/0.9639, allocations: 292.3 kB / 1.283 GB, free: 2.219 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008554/0.9724, allocations: 4.886 MB / 1.287 GB, free: 13.14 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.716e-05/0.9725, allocations: 15.89 kB / 1.287 GB, free: 13.12 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003003/0.9728, allocations: 132 kB / 1.288 GB, free: 12.99 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004329/0.9732, allocations: 229.7 kB / 1.288 GB, free: 12.77 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005905/0.9791, allocations: 3.754 MB / 1.291 GB, free: 9 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02344/1.003, allocations: 21.43 MB / 1.312 GB, free: 1.578 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001898/1.004, allocations: 1.23 MB / 1.314 GB, free: 344 kB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001461/1.006, allocations: 0.9796 MB / 1.315 GB, free: 15.36 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 7.862e-05/1.006, allocations: 16.94 kB / 1.315 GB, free: 15.34 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.182e-05/1.006, allocations: 51.55 kB / 1.315 GB, free: 15.29 MB / 1.045 GB Notification: Performance of pre-optimization done (n=107): time 3.487e-06/1.006, allocations: 4 kB / 1.315 GB, free: 15.28 MB / 1.045 GB Notification: Performance of matching and sorting (n=138): time 0.02372/1.03, allocations: 8.661 MB / 1.323 GB, free: 6.566 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.218e-05/1.03, allocations: 64.72 kB / 1.323 GB, free: 6.492 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00158/1.031, allocations: 1.13 MB / 1.324 GB, free: 5.355 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001069/1.032, allocations: 45.7 kB / 1.324 GB, free: 5.305 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007846/1.032, allocations: 1.343 MB / 1.326 GB, free: 3.949 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004065/1.033, allocations: 499.7 kB / 1.326 GB, free: 3.457 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004751/1.033, allocations: 291.5 kB / 1.326 GB, free: 3.164 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 8.34e-05/1.033, allocations: 305.1 kB / 1.327 GB, free: 2.863 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00129/1.035, allocations: 0.9174 MB / 1.328 GB, free: 1.945 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00162/1.036, allocations: 1.322 MB / 1.329 GB, free: 460 kB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003204/1.039, allocations: 2.43 MB / 1.331 GB, free: 13.85 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.378e-05/1.039, allocations: 4 kB / 1.331 GB, free: 13.85 MB / 1.061 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006336/1.046, allocations: 3.429 MB / 1.335 GB, free: 10.4 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.082e-05/1.046, allocations: 12.19 kB / 1.335 GB, free: 10.39 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.858e-05/1.046, allocations: 20 kB / 1.335 GB, free: 10.37 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003284/1.049, allocations: 1.181 MB / 1.336 GB, free: 9.18 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009868/1.05, allocations: 259.6 kB / 1.336 GB, free: 8.926 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01791/1.068, allocations: 13.86 MB / 1.35 GB, free: 10.65 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001415/1.069, allocations: 95.91 kB / 1.35 GB, free: 10.55 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002638/1.07, allocations: 60 kB / 1.35 GB, free: 10.5 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002121/1.072, allocations: 1.122 MB / 1.351 GB, free: 9.363 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005162/1.072, allocations: 167.3 kB / 1.351 GB, free: 9.199 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005991/1.078, allocations: 3.126 MB / 1.354 GB, free: 6.051 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.474e-05/1.078, allocations: 12 kB / 1.354 GB, free: 6.039 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.744e-05/1.078, allocations: 19.92 kB / 1.354 GB, free: 6.02 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.483e-05/1.078, allocations: 11.92 kB / 1.354 GB, free: 6.008 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01138/1.09, allocations: 6.206 MB / 1.36 GB, free: 15.66 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.346e-05/1.09, allocations: 4.562 kB / 1.36 GB, free: 15.66 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006063/1.09, allocations: 151.8 kB / 1.36 GB, free: 15.51 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002964/1.093, allocations: 1.075 MB / 1.361 GB, free: 14.43 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001036/1.093, allocations: 28 kB / 1.361 GB, free: 14.4 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0171/1.111, allocations: 13.54 MB / 1.375 GB, free: 460 kB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.645e-06/1.111, allocations: 8.062 kB / 1.375 GB, free: 452 kB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005412/1.116, allocations: 3.124 MB / 1.378 GB, free: 13.22 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009397/1.117, allocations: 431.9 kB / 1.378 GB, free: 12.78 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003659/1.117, allocations: 35.94 kB / 1.378 GB, free: 12.75 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/1.118, allocations: 83.89 kB / 1.378 GB, free: 12.66 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003948/1.119, allocations: 124.7 kB / 1.378 GB, free: 12.54 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001033/1.119, allocations: 36 kB / 1.378 GB, free: 12.51 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001299/1.12, allocations: 0.7671 MB / 1.379 GB, free: 11.74 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.01e-07/1.12, allocations: 3.938 kB / 1.379 GB, free: 11.73 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.002416/1.122, allocations: 0.6602 MB / 1.38 GB, free: 11.07 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003108/1.123, allocations: 143 kB / 1.38 GB, free: 10.93 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.005174/1.128, allocations: 3.005 MB / 1.383 GB, free: 7.879 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/1.128, allocations: 0 / 1.383 GB, free: 7.879 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.003131/1.131, allocations: 1.885 MB / 1.385 GB, free: 5.961 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002516/1.134, allocations: 0.4962 MB / 1.385 GB, free: 5.473 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01027/1.144, allocations: 5.452 MB / 1.39 GB, free: 15.93 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003128/1.147, allocations: 2.344 MB / 1.393 GB, free: 13.56 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001198/1.148, allocations: 346.1 kB / 1.393 GB, free: 13.22 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002926/1.148, allocations: 91.42 kB / 1.393 GB, free: 13.13 MB / 1.123 GB Notification: Performance of SimCode: time 9.82e-07/1.148, allocations: 4 kB / 1.393 GB, free: 13.12 MB / 1.123 GB Notification: Performance of Templates: time 0.06183/1.21, allocations: 33.45 MB / 1.426 GB, free: 12.11 MB / 1.154 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches