Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 107.4 kB / 16.36 MB, free: 6.285 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.001426/0.001426, allocations: 192.5 kB / 17.29 MB, free: 5.863 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.377/1.377, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.539/2.539, allocations: 442.6 MB / 0.7165 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001259, allocations: 62.41 kB / 0.8773 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.3433, allocations: 153 MB / 1.027 GB, free: 2.07 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04425/0.3876, allocations: 37.96 MB / 1.064 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01956/0.4072, allocations: 11 MB / 1.075 GB, free: 0.9609 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005423/0.4127, allocations: 159.2 kB / 1.075 GB, free: 0.8047 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.5191/0.9319, allocations: 4.353 MB / 1.079 GB, free: 20.66 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.006943/0.9388, allocations: 2.22 MB / 1.081 GB, free: 20.57 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.005767/0.9446, allocations: 2.173 MB / 1.083 GB, free: 20.54 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0138/0.9584, allocations: 9.282 MB / 1.092 GB, free: 20.04 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02073/0.9792, allocations: 11.26 MB / 1.103 GB, free: 16.61 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008519/0.9878, allocations: 3.999 MB / 1.107 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009273/0.9971, allocations: 4.507 MB / 1.112 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.00345/1.001, allocations: 0.8227 MB / 1.112 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00623/1.007, allocations: 1.587 MB / 1.114 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.006867/1.014, allocations: 3.15 MB / 1.117 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.009168/1.023, allocations: 3.661 MB / 1.121 GB, free: 9.469 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01491/1.038, allocations: 12.31 MB / 1.133 GB, free: 3.812 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/1.038, allocations: 0 / 1.133 GB, free: 3.812 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.532e-06/1.038, allocations: 0 / 1.133 GB, free: 3.812 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0003697/1.038, allocations: 0 / 1.133 GB, free: 3.812 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01885/1.057, allocations: 6.323 MB / 1.139 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/1.057, allocations: 10.28 kB / 1.139 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007236/1.064, allocations: 1.073 MB / 1.14 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009843/1.074, allocations: 3.611 MB / 1.143 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003642/1.075, allocations: 423 kB / 1.144 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002135/1.077, allocations: 0.5416 MB / 1.144 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0205/1.097, allocations: 9.382 MB / 1.153 GB, free: 6.543 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001723/1.097, allocations: 19.81 kB / 1.153 GB, free: 6.523 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001574/1.099, allocations: 246.5 kB / 1.154 GB, free: 6.293 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006351/1.1, allocations: 422.9 kB / 1.154 GB, free: 5.879 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01576/1.115, allocations: 7.125 MB / 1.161 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05853/1.174, allocations: 41 MB / 1.201 GB, free: 2.227 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00465/1.179, allocations: 3.115 MB / 1.204 GB, free: 15.13 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00289/1.182, allocations: 2.131 MB / 1.206 GB, free: 13 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001385/1.182, allocations: 29.98 kB / 1.206 GB, free: 12.98 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.691e-05/1.182, allocations: 60.56 kB / 1.206 GB, free: 12.91 MB / 0.92 GB Notification: Performance of pre-optimization done (n=209): time 3.376e-06/1.182, allocations: 0 / 1.206 GB, free: 12.91 MB / 0.92 GB Notification: Performance of matching and sorting (n=212): time 0.02605/1.208, allocations: 10.56 MB / 1.217 GB, free: 2.254 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.157e-05/1.208, allocations: 77.34 kB / 1.217 GB, free: 2.168 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003044/1.211, allocations: 2.002 MB / 1.219 GB, free: 152 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002555/1.211, allocations: 61.7 kB / 1.219 GB, free: 84 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.00148/1.213, allocations: 2.407 MB / 1.221 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007247/1.214, allocations: 0.7289 MB / 1.222 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008411/1.214, allocations: 477.2 kB / 1.222 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 8.503e-05/1.215, allocations: 301.1 kB / 1.223 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002133/1.217, allocations: 1.379 MB / 1.224 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002576/1.219, allocations: 2.104 MB / 1.226 GB, free: 8.363 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004838/1.224, allocations: 3.768 MB / 1.23 GB, free: 4.289 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.639e-05/1.224, allocations: 8 kB / 1.23 GB, free: 4.281 MB / 0.9356 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008853/1.233, allocations: 5.076 MB / 1.235 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.438e-05/1.233, allocations: 12 kB / 1.235 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.081e-05/1.233, allocations: 27.94 kB / 1.235 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003632/1.237, allocations: 1.581 MB / 1.236 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001695/1.238, allocations: 455.2 kB / 1.237 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02258/1.261, allocations: 18.57 MB / 1.255 GB, free: 9.996 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003147/1.264, allocations: 151.8 kB / 1.255 GB, free: 9.848 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006034/1.265, allocations: 104.1 kB / 1.255 GB, free: 9.746 MB / 0.9669 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004578/1.269, allocations: 1.945 MB / 1.257 GB, free: 7.789 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008003/1.27, allocations: 288.7 kB / 1.257 GB, free: 7.504 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007383/1.278, allocations: 4.455 MB / 1.262 GB, free: 3.02 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.745e-05/1.278, allocations: 24 kB / 1.262 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.772e-05/1.278, allocations: 16 kB / 1.262 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.112e-05/1.278, allocations: 11.95 kB / 1.262 GB, free: 2.969 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01844/1.296, allocations: 9.662 MB / 1.271 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.267e-05/1.296, allocations: 8 kB / 1.271 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009705/1.297, allocations: 231.6 kB / 1.271 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003377/1.301, allocations: 1.43 MB / 1.273 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001767/1.301, allocations: 36 kB / 1.273 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02365/1.325, allocations: 18.57 MB / 1.291 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.683e-06/1.325, allocations: 7.938 kB / 1.291 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007898/1.332, allocations: 4.544 MB / 1.295 GB, free: 15.72 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002061/1.335, allocations: 0.6265 MB / 1.296 GB, free: 15.07 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008673/1.335, allocations: 40 kB / 1.296 GB, free: 15.03 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001819/1.337, allocations: 119.8 kB / 1.296 GB, free: 14.91 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005355/1.338, allocations: 181.6 kB / 1.296 GB, free: 14.73 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001786/1.338, allocations: 60 kB / 1.296 GB, free: 14.68 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002236/1.34, allocations: 1.315 MB / 1.298 GB, free: 13.35 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/1.34, allocations: 0 / 1.298 GB, free: 13.35 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.004084/1.344, allocations: 1.145 MB / 1.299 GB, free: 12.21 MB / 1.014 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003589/1.345, allocations: 170.1 kB / 1.299 GB, free: 12.04 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.007491/1.352, allocations: 4.708 MB / 1.303 GB, free: 7.281 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.34e-05/1.352, allocations: 4 kB / 1.303 GB, free: 7.277 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.004415/1.357, allocations: 2.924 MB / 1.306 GB, free: 4.309 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00434/1.361, allocations: 0.8916 MB / 1.307 GB, free: 3.434 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01901/1.38, allocations: 9.262 MB / 1.316 GB, free: 10.09 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006711/1.387, allocations: 3.694 MB / 1.32 GB, free: 6.367 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.002295/1.389, allocations: 0.5517 MB / 1.32 GB, free: 5.809 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005796/1.39, allocations: 147.4 kB / 1.32 GB, free: 5.664 MB / 1.029 GB Notification: Performance of SimCode: time 9.61e-07/1.39, allocations: 4 kB / 1.32 GB, free: 5.66 MB / 1.029 GB Notification: Performance of Templates: time 0.09281/1.483, allocations: 50.79 MB / 1.37 GB, free: 3.711 MB / 1.076 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches