Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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_L_N,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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005208/0.005208, allocations: 98.95 kB / 15.73 MB, free: 6.012 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.001151/0.001151, allocations: 197.3 kB / 16.67 MB, free: 5.93 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.351/1.351, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.576/2.576, allocations: 469.8 MB / 0.7425 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 68.14 kB / 1.065 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8488/0.85, 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_L_N): time 0.03725/0.8873, allocations: 34.91 MB / 1.255 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01904/0.9063, allocations: 11.51 MB / 1.266 GB, free: 3.535 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003686/0.91, allocations: 159.2 kB / 1.266 GB, free: 3.379 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.01062/0.9206, allocations: 4.296 MB / 1.27 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006004/0.9266, allocations: 2.096 MB / 1.272 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006052/0.9327, allocations: 2.41 MB / 1.275 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01079/0.9435, allocations: 8.452 MB / 1.283 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01401/0.9575, allocations: 8.42 MB / 1.291 GB, free: 9.547 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00602/0.9635, allocations: 3.802 MB / 1.295 GB, free: 5.734 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006387/0.9699, allocations: 4.187 MB / 1.299 GB, free: 1.535 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.002123/0.972, allocations: 0.7773 MB / 1.3 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004844/0.9769, allocations: 2.032 MB / 1.302 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.003631/0.9805, allocations: 3.141 MB / 1.305 GB, free: 11.57 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.004558/0.9851, allocations: 3.396 MB / 1.308 GB, free: 8.164 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01243/0.9975, allocations: 12.01 MB / 1.32 GB, free: 12.12 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.9975, allocations: 4 kB / 1.32 GB, free: 12.12 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.024e-06/0.9975, allocations: 4 kB / 1.32 GB, free: 12.11 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0003299/0.9978, allocations: 0 / 1.32 GB, free: 12.11 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01596/1.014, allocations: 5.942 MB / 1.326 GB, free: 6.09 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/1.014, allocations: 8.625 kB / 1.326 GB, free: 6.082 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007206/1.021, allocations: 1.082 MB / 1.327 GB, free: 4.996 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007473/1.029, allocations: 3.471 MB / 1.33 GB, free: 1.469 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003993/1.029, allocations: 407.5 kB / 1.33 GB, free: 1.07 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00212/1.031, allocations: 0.551 MB / 1.331 GB, free: 0.5195 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01967/1.051, allocations: 9.075 MB / 1.34 GB, free: 7.125 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002427/1.051, allocations: 27.81 kB / 1.34 GB, free: 7.098 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001351/1.052, allocations: 240 kB / 1.34 GB, free: 6.863 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003857/1.053, allocations: 350.8 kB / 1.34 GB, free: 6.52 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01315/1.066, allocations: 6.83 MB / 1.347 GB, free: 15.68 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05022/1.116, allocations: 39.86 MB / 1.386 GB, free: 4.113 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003997/1.12, allocations: 2.895 MB / 1.389 GB, free: 1.066 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002664/1.123, allocations: 1.79 MB / 1.391 GB, free: 15.29 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001368/1.123, allocations: 22 kB / 1.391 GB, free: 15.26 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.261e-05/1.123, allocations: 48.56 kB / 1.391 GB, free: 15.21 MB / 1.123 GB Notification: Performance of pre-optimization done (n=179): time 4.959e-06/1.123, allocations: 0 / 1.391 GB, free: 15.21 MB / 1.123 GB Notification: Performance of matching and sorting (n=182): time 0.02454/1.147, allocations: 10.01 MB / 1.4 GB, free: 5.109 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.892e-05/1.148, allocations: 69.41 kB / 1.401 GB, free: 5.027 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002684/1.15, allocations: 1.534 MB / 1.402 GB, free: 3.449 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001478/1.15, allocations: 49.7 kB / 1.402 GB, free: 3.395 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001473/1.152, allocations: 2.324 MB / 1.404 GB, free: 1.047 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006589/1.152, allocations: 0.6584 MB / 1.405 GB, free: 392 kB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006875/1.153, allocations: 412.1 kB / 1.405 GB, free: 15.97 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 9.593e-05/1.153, allocations: 313.1 kB / 1.406 GB, free: 15.66 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00163/1.155, allocations: 1.172 MB / 1.407 GB, free: 14.48 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002151/1.157, allocations: 1.893 MB / 1.409 GB, free: 12.27 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004061/1.161, allocations: 3.367 MB / 1.412 GB, free: 8.598 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.805e-05/1.161, allocations: 4 kB / 1.412 GB, free: 8.594 MB / 1.139 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.007647/1.169, allocations: 4.539 MB / 1.416 GB, free: 4.031 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.779e-05/1.169, allocations: 20.03 kB / 1.416 GB, free: 4.012 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.332e-05/1.169, allocations: 20 kB / 1.416 GB, free: 3.992 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003726/1.173, allocations: 1.582 MB / 1.418 GB, free: 2.402 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/1.174, allocations: 351.4 kB / 1.418 GB, free: 2.059 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02376/1.198, allocations: 18.6 MB / 1.436 GB, free: 14.91 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00174/1.199, allocations: 123.9 kB / 1.437 GB, free: 14.79 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000331/1.2, allocations: 100 kB / 1.437 GB, free: 14.69 MB / 1.17 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 (177): * 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: 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003229/1.203, allocations: 1.891 MB / 1.439 GB, free: 12.79 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005863/1.203, allocations: 238.5 kB / 1.439 GB, free: 12.55 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007072/1.211, allocations: 4.047 MB / 1.443 GB, free: 8.477 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.816e-05/1.211, allocations: 19.98 kB / 1.443 GB, free: 8.457 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.285e-05/1.211, allocations: 19.98 kB / 1.443 GB, free: 8.438 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.54e-05/1.211, allocations: 7.969 kB / 1.443 GB, free: 8.43 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0164/1.227, allocations: 9.414 MB / 1.452 GB, free: 14.77 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.424e-05/1.227, allocations: 4 kB / 1.452 GB, free: 14.76 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008135/1.228, allocations: 183.7 kB / 1.452 GB, free: 14.58 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003361/1.231, allocations: 1.349 MB / 1.453 GB, free: 13.22 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001518/1.231, allocations: 36 kB / 1.454 GB, free: 13.19 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02182/1.253, allocations: 17.37 MB / 1.47 GB, free: 11.25 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/1.253, allocations: 7.938 kB / 1.47 GB, free: 11.25 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007036/1.26, allocations: 4.044 MB / 1.474 GB, free: 7.109 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001189/1.261, allocations: 0.5307 MB / 1.475 GB, free: 6.559 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004977/1.262, allocations: 36 kB / 1.475 GB, free: 6.523 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001366/1.263, allocations: 91.89 kB / 1.475 GB, free: 6.434 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005857/1.264, allocations: 161.6 kB / 1.475 GB, free: 6.273 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001332/1.264, allocations: 48 kB / 1.475 GB, free: 6.227 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001725/1.266, allocations: 1.005 MB / 1.476 GB, free: 5.199 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/1.266, allocations: 0 / 1.476 GB, free: 5.199 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.003517/1.269, allocations: 0.9844 MB / 1.477 GB, free: 4.215 MB / 1.201 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 (85): * Single equations (assignments): 81 * 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003234/1.27, allocations: 147.1 kB / 1.477 GB, free: 4.062 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.006848/1.276, allocations: 4.182 MB / 1.481 GB, free: 15.84 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/1.276, allocations: 3.938 kB / 1.481 GB, free: 15.83 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.004327/1.281, allocations: 2.565 MB / 1.484 GB, free: 13.21 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003898/1.285, allocations: 0.7859 MB / 1.485 GB, free: 12.46 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01754/1.302, allocations: 8.732 MB / 1.493 GB, free: 3.641 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005524/1.308, allocations: 3.576 MB / 1.497 GB, free: 32 kB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001793/1.309, allocations: 467.9 kB / 1.497 GB, free: 15.57 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003987/1.31, allocations: 115.4 kB / 1.497 GB, free: 15.46 MB / 1.232 GB Notification: Performance of SimCode: time 1.012e-06/1.31, allocations: 0 / 1.497 GB, free: 15.46 MB / 1.232 GB Notification: Performance of Templates: time 0.0739/1.384, allocations: 44.96 MB / 1.541 GB, free: 2.953 MB / 1.264 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches