Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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_R,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") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00782/0.00782, allocations: 101.7 kB / 15.73 MB, free: 5.969 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.001625/0.001625, allocations: 194.8 kB / 16.67 MB, free: 5.906 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.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.678/2.678, allocations: 461.9 MB / 0.7348 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002127/0.002127, allocations: 63.84 kB / 1.054 GB, free: 7.172 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2897/0.2919, allocations: 157.4 MB / 1.208 GB, free: 9.68 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03752/0.3294, allocations: 35.13 MB / 1.242 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6538/0.9832, allocations: 9.927 MB / 1.252 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003008/0.9863, allocations: 145.2 kB / 1.252 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.008704/0.995, allocations: 3.808 MB / 1.256 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007109/1.002, allocations: 2.037 MB / 1.258 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005673/1.008, allocations: 1.956 MB / 1.26 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01255/1.02, allocations: 7.979 MB / 1.267 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01427/1.035, allocations: 9.519 MB / 1.277 GB, free: 9.059 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006746/1.042, allocations: 3.421 MB / 1.28 GB, free: 8.551 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007066/1.049, allocations: 3.736 MB / 1.284 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002154/1.051, allocations: 0.6829 MB / 1.284 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004209/1.055, allocations: 1.441 MB / 1.286 GB, free: 7.543 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003517/1.059, allocations: 2.616 MB / 1.288 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00582/1.064, allocations: 3.106 MB / 1.291 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01533/1.08, allocations: 10.38 MB / 1.301 GB, free: 1.367 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/1.08, allocations: 0.6875 kB / 1.301 GB, free: 1.367 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.374e-06/1.08, allocations: 0 / 1.301 GB, free: 1.367 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0003328/1.08, allocations: 0.75 kB / 1.301 GB, free: 1.367 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01677/1.097, allocations: 5.414 MB / 1.307 GB, free: 14.46 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/1.097, allocations: 8.938 kB / 1.307 GB, free: 14.46 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006113/1.103, allocations: 0.9604 MB / 1.308 GB, free: 14.16 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007257/1.11, allocations: 3.178 MB / 1.311 GB, free: 12.62 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003212/1.111, allocations: 356.8 kB / 1.311 GB, free: 12.47 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001448/1.112, allocations: 470 kB / 1.312 GB, free: 12.32 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01608/1.128, allocations: 7.91 MB / 1.319 GB, free: 7.48 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001294/1.128, allocations: 19.72 kB / 1.319 GB, free: 7.469 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007133/1.129, allocations: 211.3 kB / 1.319 GB, free: 7.324 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005094/1.13, allocations: 365.4 kB / 1.32 GB, free: 7.234 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01298/1.143, allocations: 5.933 MB / 1.326 GB, free: 4.176 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04005/1.183, allocations: 35.95 MB / 1.361 GB, free: 2.836 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003199/1.186, allocations: 2.14 MB / 1.363 GB, free: 1.727 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001876/1.188, allocations: 1.481 MB / 1.364 GB, free: 460 kB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 9.961e-05/1.188, allocations: 21.3 kB / 1.364 GB, free: 440 kB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.193e-05/1.188, allocations: 57.62 kB / 1.364 GB, free: 376 kB / 1.045 GB Notification: Performance of pre-optimization done (n=157): time 3.357e-06/1.188, allocations: 0 / 1.364 GB, free: 376 kB / 1.045 GB Notification: Performance of matching and sorting (n=160): time 0.01452/1.203, allocations: 7.536 MB / 1.372 GB, free: 8.559 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/1.203, allocations: 72.7 kB / 1.372 GB, free: 8.477 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0028/1.206, allocations: 1.864 MB / 1.374 GB, free: 6.586 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0003481/1.206, allocations: 53.7 kB / 1.374 GB, free: 6.527 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001682/1.208, allocations: 2.128 MB / 1.376 GB, free: 4.383 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007749/1.208, allocations: 0.5536 MB / 1.376 GB, free: 3.832 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007279/1.209, allocations: 399.7 kB / 1.377 GB, free: 3.434 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001431/1.209, allocations: 301.1 kB / 1.377 GB, free: 3.137 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001612/1.211, allocations: 1.062 MB / 1.378 GB, free: 2.07 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002067/1.213, allocations: 1.769 MB / 1.38 GB, free: 15.99 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003862/1.217, allocations: 3.048 MB / 1.383 GB, free: 12.63 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.529e-05/1.217, allocations: 12 kB / 1.383 GB, free: 12.62 MB / 1.076 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006636/1.224, allocations: 3.922 MB / 1.386 GB, free: 8.652 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.68e-05/1.224, allocations: 12 kB / 1.387 GB, free: 8.641 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.506e-05/1.224, allocations: 24 kB / 1.387 GB, free: 8.617 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002397/1.226, allocations: 0.9306 MB / 1.387 GB, free: 7.656 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001547/1.228, allocations: 427.2 kB / 1.388 GB, free: 7.238 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02045/1.248, allocations: 22.75 MB / 1.41 GB, free: 14.82 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002412/1.25, allocations: 127.9 kB / 1.41 GB, free: 14.7 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000253/1.251, allocations: 96.06 kB / 1.41 GB, free: 14.6 MB / 1.107 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 (227): * Single equations (assignments): 215 * 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,6,100.0%), (2,6,100.0%), (2,6,100.0%), (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.00293/1.254, allocations: 1.652 MB / 1.412 GB, free: 12.94 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005114/1.254, allocations: 257 kB / 1.412 GB, free: 12.68 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005355/1.26, allocations: 3.259 MB / 1.415 GB, free: 9.379 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.371e-05/1.26, allocations: 16 kB / 1.415 GB, free: 9.363 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.575e-05/1.26, allocations: 8 kB / 1.415 GB, free: 9.355 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.533e-05/1.26, allocations: 11.97 kB / 1.415 GB, free: 9.344 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01261/1.272, allocations: 7.549 MB / 1.423 GB, free: 1.672 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/1.272, allocations: 4 kB / 1.423 GB, free: 1.668 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009203/1.273, allocations: 219.6 kB / 1.423 GB, free: 1.453 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002301/1.276, allocations: 0.895 MB / 1.424 GB, free: 0.5234 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000117/1.276, allocations: 28 kB / 1.424 GB, free: 0.4961 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01997/1.296, allocations: 22.73 MB / 1.446 GB, free: 8.113 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.074e-05/1.296, allocations: 15.88 kB / 1.446 GB, free: 8.098 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005976/1.302, allocations: 3.375 MB / 1.449 GB, free: 4.609 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001193/1.303, allocations: 0.5253 MB / 1.45 GB, free: 4.062 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003095/1.303, allocations: 35.98 kB / 1.45 GB, free: 4.027 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009939/1.304, allocations: 91.89 kB / 1.45 GB, free: 3.938 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00038/1.305, allocations: 148.9 kB / 1.45 GB, free: 3.793 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001086/1.305, allocations: 43.94 kB / 1.45 GB, free: 3.75 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001608/1.306, allocations: 1.229 MB / 1.451 GB, free: 2.508 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.3e-07/1.306, allocations: 0 / 1.451 GB, free: 2.508 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.003003/1.309, allocations: 0.9062 MB / 1.452 GB, free: 1.602 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 (109): * Single equations (assignments): 97 * 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,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,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000264/1.31, allocations: 167 kB / 1.452 GB, free: 1.43 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.006021/1.316, allocations: 4.43 MB / 1.457 GB, free: 12.85 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/1.316, allocations: 5 kB / 1.457 GB, free: 12.85 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.003897/1.32, allocations: 2.98 MB / 1.46 GB, free: 9.711 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00322/1.323, allocations: 0.8165 MB / 1.46 GB, free: 8.906 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01261/1.335, allocations: 7.594 MB / 1.468 GB, free: 1.234 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003314/1.339, allocations: 3.209 MB / 1.471 GB, free: 13.99 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001751/1.341, allocations: 0.5215 MB / 1.472 GB, free: 13.46 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003891/1.341, allocations: 143.4 kB / 1.472 GB, free: 13.33 MB / 1.17 GB Notification: Performance of SimCode: time 5.61e-07/1.341, allocations: 0 / 1.472 GB, free: 13.33 MB / 1.17 GB Notification: Performance of Templates: time 0.06982/1.411, allocations: 41.62 MB / 1.512 GB, free: 4.434 MB / 1.201 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches