Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.007149/0.00715, allocations: 103.5 kB / 15.73 MB, free: 6.039 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.001663/0.001663, allocations: 191.7 kB / 16.67 MB, free: 5.973 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.714/2.714, allocations: 461.9 MB / 0.7347 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 71.89 kB / 1.054 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3231, allocations: 157.4 MB / 1.208 GB, free: 9.633 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03688/0.36, allocations: 32.6 MB / 1.24 GB, free: 8.922 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6585/1.019, allocations: 10.26 MB / 1.25 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003584/1.022, allocations: 147.6 kB / 1.25 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.009025/1.031, allocations: 3.722 MB / 1.253 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007538/1.039, allocations: 1.853 MB / 1.255 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005429/1.044, allocations: 2.129 MB / 1.257 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01005/1.054, allocations: 7.335 MB / 1.264 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01462/1.069, allocations: 9.414 MB / 1.274 GB, free: 9.492 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00737/1.076, allocations: 3.22 MB / 1.277 GB, free: 9.02 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007388/1.084, allocations: 3.484 MB / 1.28 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002104/1.086, allocations: 0.6455 MB / 1.281 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005004/1.091, allocations: 1.771 MB / 1.283 GB, free: 8.395 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.00371/1.095, allocations: 2.552 MB / 1.285 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.005944/1.101, allocations: 2.893 MB / 1.288 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01987/1.121, allocations: 10.1 MB / 1.298 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.004e-05/1.121, allocations: 0 / 1.298 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.777e-06/1.121, allocations: 0.9688 kB / 1.298 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0004983/1.121, allocations: 0 / 1.298 GB, free: 3.477 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.02227/1.143, allocations: 5.017 MB / 1.303 GB, free: 0.6953 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.018e-05/1.144, allocations: 10.22 kB / 1.303 GB, free: 0.6953 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008795/1.152, allocations: 0.9501 MB / 1.304 GB, free: 420 kB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009343/1.162, allocations: 3.041 MB / 1.307 GB, free: 14.93 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005843/1.162, allocations: 350.8 kB / 1.307 GB, free: 14.78 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002725/1.165, allocations: 465.7 kB / 1.307 GB, free: 14.63 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02587/1.191, allocations: 7.668 MB / 1.315 GB, free: 10.56 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004963/1.192, allocations: 29.88 kB / 1.315 GB, free: 10.54 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002674/1.194, allocations: 198.1 kB / 1.315 GB, free: 10.41 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005985/1.195, allocations: 319.5 kB / 1.315 GB, free: 10.33 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01746/1.212, allocations: 5.704 MB / 1.321 GB, free: 7.387 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04813/1.26, allocations: 34.83 MB / 1.355 GB, free: 6.938 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002776/1.263, allocations: 2.148 MB / 1.357 GB, free: 5.48 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001653/1.265, allocations: 1.269 MB / 1.358 GB, free: 4.801 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 8.895e-05/1.265, allocations: 15.12 kB / 1.358 GB, free: 4.801 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/1.265, allocations: 48.94 kB / 1.358 GB, free: 4.75 MB / 1.045 GB Notification: Performance of pre-optimization done (n=133): time 3.236e-06/1.265, allocations: 0 / 1.358 GB, free: 4.75 MB / 1.045 GB Notification: Performance of matching and sorting (n=136): time 0.01426/1.279, allocations: 7.088 MB / 1.365 GB, free: 14.97 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.697e-05/1.28, allocations: 64.72 kB / 1.365 GB, free: 14.9 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002183/1.282, allocations: 1.484 MB / 1.367 GB, free: 13.37 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001173/1.282, allocations: 45.7 kB / 1.367 GB, free: 13.32 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001269/1.283, allocations: 2.013 MB / 1.369 GB, free: 11.29 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004576/1.284, allocations: 487.6 kB / 1.369 GB, free: 10.81 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005567/1.284, allocations: 351.1 kB / 1.37 GB, free: 10.46 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 9.124e-05/1.284, allocations: 305.1 kB / 1.37 GB, free: 10.16 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001331/1.286, allocations: 0.9096 MB / 1.371 GB, free: 9.254 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001741/1.287, allocations: 1.593 MB / 1.372 GB, free: 7.352 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003245/1.291, allocations: 2.734 MB / 1.375 GB, free: 4.316 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.846e-05/1.291, allocations: 8 kB / 1.375 GB, free: 4.309 MB / 1.061 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006095/1.297, allocations: 3.538 MB / 1.378 GB, free: 0.7227 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.258e-05/1.297, allocations: 16 kB / 1.378 GB, free: 0.707 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.889e-05/1.297, allocations: 20 kB / 1.378 GB, free: 0.6875 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002541/1.299, allocations: 0.9063 MB / 1.379 GB, free: 15.75 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/1.301, allocations: 355.3 kB / 1.38 GB, free: 15.4 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01991/1.32, allocations: 23.1 MB / 1.402 GB, free: 6.648 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00182/1.322, allocations: 99.92 kB / 1.402 GB, free: 6.551 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003282/1.323, allocations: 84 kB / 1.402 GB, free: 6.469 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.003336/1.326, allocations: 1.609 MB / 1.404 GB, free: 4.848 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005859/1.327, allocations: 213.5 kB / 1.404 GB, free: 4.637 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005506/1.332, allocations: 2.986 MB / 1.407 GB, free: 1.602 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.457e-05/1.332, allocations: 12 kB / 1.407 GB, free: 1.59 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-05/1.332, allocations: 8 kB / 1.407 GB, free: 1.582 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/1.332, allocations: 7.984 kB / 1.407 GB, free: 1.574 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01496/1.347, allocations: 7.336 MB / 1.414 GB, free: 10.03 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.421e-05/1.347, allocations: 4.562 kB / 1.414 GB, free: 10.03 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008203/1.348, allocations: 179.7 kB / 1.414 GB, free: 9.852 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00235/1.35, allocations: 0.8217 MB / 1.415 GB, free: 8.992 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001531/1.351, allocations: 35.94 kB / 1.415 GB, free: 8.957 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01911/1.37, allocations: 21.94 MB / 1.437 GB, free: 1.344 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.315e-06/1.37, allocations: 11.94 kB / 1.437 GB, free: 1.332 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005438/1.375, allocations: 3.022 MB / 1.44 GB, free: 14.2 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001118/1.376, allocations: 462.4 kB / 1.44 GB, free: 13.72 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004764/1.377, allocations: 35.94 kB / 1.44 GB, free: 13.69 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001049/1.378, allocations: 71.91 kB / 1.44 GB, free: 13.62 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000346/1.378, allocations: 120.7 kB / 1.44 GB, free: 13.5 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.189e-05/1.378, allocations: 44 kB / 1.44 GB, free: 13.46 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001499/1.38, allocations: 0.9717 MB / 1.441 GB, free: 12.46 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.6e-07/1.38, allocations: 0 / 1.441 GB, free: 12.46 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.003443/1.383, allocations: 0.7891 MB / 1.442 GB, free: 11.67 MB / 1.139 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002683/1.384, allocations: 139.1 kB / 1.442 GB, free: 11.53 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.005702/1.389, allocations: 4.034 MB / 1.446 GB, free: 7.344 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.019e-05/1.389, allocations: 4 kB / 1.446 GB, free: 7.34 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.003591/1.393, allocations: 2.732 MB / 1.449 GB, free: 4.453 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003946/1.397, allocations: 0.7436 MB / 1.45 GB, free: 3.742 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01438/1.411, allocations: 7.1 MB / 1.456 GB, free: 12.57 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00468/1.416, allocations: 3.109 MB / 1.46 GB, free: 9.426 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001651/1.418, allocations: 457.9 kB / 1.46 GB, free: 8.977 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000435/1.418, allocations: 111.4 kB / 1.46 GB, free: 8.867 MB / 1.154 GB Notification: Performance of SimCode: time 1.032e-06/1.418, allocations: 0 / 1.46 GB, free: 8.867 MB / 1.154 GB Notification: Performance of Templates: time 0.06803/1.486, allocations: 36.25 MB / 1.495 GB, free: 5.102 MB / 1.186 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches