Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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,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_9_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_9_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.001014/0.001014, allocations: 99.19 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 182.1 kB / 16.92 MB, free: 6.918 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.493/1.493, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.448/2.448, allocations: 390.9 MB / 0.667 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005947/0.0005948, allocations: 8 kB / 0.8166 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8308/0.8314, allocations: 142.4 MB / 0.9557 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03518/0.8666, allocations: 31.54 MB / 0.9865 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01906/0.8857, allocations: 10.18 MB / 0.9965 GB, free: 5.57 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003913/0.8897, allocations: 123.3 kB / 0.9966 GB, free: 5.449 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002954/0.8927, allocations: 0.6357 MB / 0.9972 GB, free: 4.809 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.006275/0.899, allocations: 1.731 MB / 0.9989 GB, free: 3.07 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.005544/0.9045, allocations: 1.764 MB / 1.001 GB, free: 1.309 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.01279/0.9174, allocations: 10.58 MB / 1.011 GB, free: 6.703 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.022/0.9394, allocations: 12.08 MB / 1.023 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005137/0.9446, allocations: 2.237 MB / 1.025 GB, free: 8.273 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005673/0.9503, allocations: 2.962 MB / 1.028 GB, free: 5.301 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.001468/0.9518, allocations: 268 kB / 1.028 GB, free: 5.039 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004852/0.9566, allocations: 1.692 MB / 1.03 GB, free: 3.344 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.003878/0.9605, allocations: 2.042 MB / 1.032 GB, free: 1.297 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.005794/0.9664, allocations: 2.349 MB / 1.034 GB, free: 14.93 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01058/0.977, allocations: 8.394 MB / 1.042 GB, free: 6.516 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.977, allocations: 4 kB / 1.042 GB, free: 6.512 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.545e-06/0.977, allocations: 0 / 1.042 GB, free: 6.512 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0003696/0.9774, allocations: 4 kB / 1.042 GB, free: 6.508 MB / 0.795 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.01062/0.988, allocations: 4.019 MB / 1.046 GB, free: 2.418 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.9881, allocations: 8.031 kB / 1.046 GB, free: 2.41 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005978/0.9941, allocations: 0.9513 MB / 1.047 GB, free: 1.453 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006006/1, allocations: 2.859 MB / 1.05 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003522/1, allocations: 349.7 kB / 1.05 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001682/1.002, allocations: 464.2 kB / 1.051 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01793/1.02, allocations: 7.675 MB / 1.058 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002683/1.02, allocations: 23.69 kB / 1.058 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001281/1.022, allocations: 207.9 kB / 1.058 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004292/1.022, allocations: 316.9 kB / 1.059 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0129/1.035, allocations: 5.714 MB / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04178/1.077, allocations: 35.14 MB / 1.099 GB, free: 9.102 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003062/1.08, allocations: 2.16 MB / 1.101 GB, free: 6.816 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001787/1.082, allocations: 1.262 MB / 1.102 GB, free: 5.559 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.532e-05/1.082, allocations: 17.31 kB / 1.102 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/1.082, allocations: 43.88 kB / 1.102 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=133): time 3.136e-06/1.082, allocations: 0 / 1.102 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of matching and sorting (n=136): time 0.0148/1.097, allocations: 7.124 MB / 1.109 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.164e-05/1.097, allocations: 64.72 kB / 1.109 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002315/1.099, allocations: 1.488 MB / 1.11 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0002389/1.099, allocations: 49.7 kB / 1.11 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001382/1.101, allocations: 2.008 MB / 1.112 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006152/1.102, allocations: 489 kB / 1.113 GB, free: 9.91 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002125/1.102, allocations: 149.6 kB / 1.113 GB, free: 9.758 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001177/1.102, allocations: 305.1 kB / 1.113 GB, free: 9.457 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001462/1.103, allocations: 0.9135 MB / 1.114 GB, free: 8.543 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001845/1.105, allocations: 1.593 MB / 1.116 GB, free: 6.641 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003386/1.109, allocations: 2.733 MB / 1.118 GB, free: 3.598 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.228e-05/1.109, allocations: 4 kB / 1.118 GB, free: 3.594 MB / 0.8731 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006262/1.115, allocations: 3.53 MB / 1.122 GB, free: 16 kB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 5.264e-05/1.115, allocations: 19.98 kB / 1.122 GB, free: 15.99 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.284e-05/1.115, allocations: 24 kB / 1.122 GB, free: 15.97 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002665/1.118, allocations: 0.9079 MB / 1.123 GB, free: 15.03 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001304/1.119, allocations: 355.3 kB / 1.123 GB, free: 14.68 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02149/1.141, allocations: 21.23 MB / 1.144 GB, free: 7.848 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001811/1.142, allocations: 99.95 kB / 1.144 GB, free: 7.75 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000205/1.143, allocations: 84 kB / 1.144 GB, free: 7.668 MB / 0.9044 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.003194/1.146, allocations: 1.611 MB / 1.146 GB, free: 6.047 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004855/1.146, allocations: 205.5 kB / 1.146 GB, free: 5.844 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005871/1.152, allocations: 2.99 MB / 1.149 GB, free: 2.801 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.558e-05/1.152, allocations: 12 kB / 1.149 GB, free: 2.789 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.596e-05/1.152, allocations: 15.98 kB / 1.149 GB, free: 2.773 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.398e-05/1.152, allocations: 3.984 kB / 1.149 GB, free: 2.77 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01243/1.165, allocations: 7.337 MB / 1.156 GB, free: 11.2 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.147e-05/1.165, allocations: 4 kB / 1.156 GB, free: 11.2 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008168/1.166, allocations: 175.7 kB / 1.156 GB, free: 11.02 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002485/1.168, allocations: 0.8259 MB / 1.157 GB, free: 10.16 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001269/1.168, allocations: 32 kB / 1.157 GB, free: 10.13 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01924/1.187, allocations: 20.32 MB / 1.177 GB, free: 4.195 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/1.187, allocations: 7.938 kB / 1.177 GB, free: 4.188 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005544/1.193, allocations: 3.023 MB / 1.18 GB, free: 1.051 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001121/1.194, allocations: 466.4 kB / 1.18 GB, free: 0.5742 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003264/1.195, allocations: 32 kB / 1.18 GB, free: 0.543 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008856/1.195, allocations: 67.91 kB / 1.18 GB, free: 488 kB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003647/1.196, allocations: 128.5 kB / 1.18 GB, free: 364 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.154e-05/1.196, allocations: 40 kB / 1.18 GB, free: 324 kB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.00131/1.197, allocations: 0.9757 MB / 1.181 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.9e-07/1.197, allocations: 0 / 1.181 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002694/1.2, allocations: 0.7852 MB / 1.182 GB, free: 14.53 MB / 0.9512 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.0002586/1.2, allocations: 150.4 kB / 1.182 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.005934/1.206, allocations: 4.023 MB / 1.186 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/1.206, allocations: 1 kB / 1.186 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.00403/1.21, allocations: 2.74 MB / 1.189 GB, free: 7.305 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004661/1.215, allocations: 0.6707 MB / 1.19 GB, free: 6.637 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01564/1.231, allocations: 9.808 MB / 1.199 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003795/1.234, allocations: 3.179 MB / 1.202 GB, free: 9.523 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005821/1.235, allocations: 127.4 kB / 1.202 GB, free: 9.398 MB / 0.9669 GB Notification: Performance of SimCode: time 8.72e-07/1.235, allocations: 0 / 1.202 GB, free: 9.398 MB / 0.9669 GB Notification: Performance of Templates: time 0.7514/1.986, allocations: 320.9 MB / 1.516 GB, free: 36.51 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches