Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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_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_9_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_9_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.001387/0.001387, allocations: 91.38 kB / 15.06 MB, free: 1.094 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.001666/0.001666, allocations: 172.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 223.3 MB / 240 MB, free: 5.438 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.498/2.498, allocations: 390.9 MB / 0.666 GB, free: 2.504 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003445/0.0003446, allocations: 12 kB / 0.8154 GB, free: 13.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7939/0.7942, allocations: 142.4 MB / 0.9544 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03609/0.8304, allocations: 31.79 MB / 0.9855 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02092/0.8514, allocations: 10.91 MB / 0.9962 GB, free: 4.723 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004474/0.8559, allocations: 135.2 kB / 0.9963 GB, free: 4.59 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002829/0.8587, allocations: 0.6782 MB / 0.9969 GB, free: 3.906 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.006451/0.8652, allocations: 1.574 MB / 0.9985 GB, free: 2.324 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.005964/0.8712, allocations: 1.436 MB / 0.9999 GB, free: 0.8906 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.01309/0.8843, allocations: 9.634 MB / 1.009 GB, free: 7.23 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02275/0.9071, allocations: 12.57 MB / 1.022 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006589/0.9138, allocations: 2.65 MB / 1.024 GB, free: 7.93 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007248/0.9211, allocations: 3.477 MB / 1.028 GB, free: 4.441 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.001451/0.9226, allocations: 328 kB / 1.028 GB, free: 4.121 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003565/0.9261, allocations: 0.9676 MB / 1.029 GB, free: 3.152 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.003114/0.9293, allocations: 2.448 MB / 1.031 GB, free: 0.6992 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.002185/0.9315, allocations: 1.108 MB / 1.032 GB, free: 15.58 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01444/0.9459, allocations: 9.925 MB / 1.042 GB, free: 5.633 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 8.957e-06/0.946, allocations: 0 / 1.042 GB, free: 5.633 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.767e-06/0.946, allocations: 4 kB / 1.042 GB, free: 5.629 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0004298/0.9464, allocations: 0 / 1.042 GB, free: 5.629 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01308/0.9595, allocations: 4.714 MB / 1.047 GB, free: 0.8438 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.769e-05/0.9596, allocations: 12.03 kB / 1.047 GB, free: 0.832 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007103/0.9667, allocations: 1.066 MB / 1.048 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006887/0.9736, allocations: 3.192 MB / 1.051 GB, free: 12.51 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003488/0.974, allocations: 419.1 kB / 1.051 GB, free: 12.1 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00158/0.9756, allocations: 0.535 MB / 1.052 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02048/0.9961, allocations: 9.028 MB / 1.06 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002341/0.9964, allocations: 31.69 kB / 1.061 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001001/0.9974, allocations: 235.9 kB / 1.061 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004812/0.9979, allocations: 354.7 kB / 1.061 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01681/1.015, allocations: 6.783 MB / 1.068 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05581/1.071, allocations: 40.17 MB / 1.107 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004398/1.075, allocations: 3.1 MB / 1.11 GB, free: 11.68 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003103/1.078, allocations: 1.958 MB / 1.112 GB, free: 9.727 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001749/1.078, allocations: 22 kB / 1.112 GB, free: 9.703 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.891e-05/1.078, allocations: 52.5 kB / 1.112 GB, free: 9.645 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=179): time 4.298e-06/1.078, allocations: 0 / 1.112 GB, free: 9.645 MB / 0.8731 GB Notification: Performance of matching and sorting (n=182): time 0.02563/1.104, allocations: 9.877 MB / 1.122 GB, free: 15.67 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.145e-05/1.104, allocations: 73.34 kB / 1.122 GB, free: 15.59 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002708/1.107, allocations: 1.518 MB / 1.123 GB, free: 14.02 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0002141/1.107, allocations: 53.7 kB / 1.123 GB, free: 13.96 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001654/1.109, allocations: 2.249 MB / 1.125 GB, free: 11.68 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.000748/1.11, allocations: 0.6277 MB / 1.126 GB, free: 11.05 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001517/1.11, allocations: 48 kB / 1.126 GB, free: 11 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002077/1.11, allocations: 394.4 kB / 1.126 GB, free: 10.61 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001894/1.112, allocations: 1.168 MB / 1.128 GB, free: 9.438 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002691/1.115, allocations: 1.869 MB / 1.129 GB, free: 7.25 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002695/1.117, allocations: 1.517 MB / 1.131 GB, free: 5.73 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.309e-05/1.117, allocations: 7.953 kB / 1.131 GB, free: 5.723 MB / 0.8887 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008573/1.126, allocations: 4.555 MB / 1.135 GB, free: 1.145 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 5.466e-05/1.126, allocations: 16 kB / 1.135 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.593e-05/1.126, allocations: 20 kB / 1.135 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003888/1.13, allocations: 1.586 MB / 1.137 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00133/1.131, allocations: 351.4 kB / 1.137 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0236/1.155, allocations: 17.05 MB / 1.154 GB, free: 13.59 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002161/1.157, allocations: 123.9 kB / 1.154 GB, free: 13.47 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000446/1.158, allocations: 92 kB / 1.154 GB, free: 13.38 MB / 0.92 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(12,31.2%) 26,(6,66.7%) 24,(6,66.7%) 16,(6,66.7%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004497/1.162, allocations: 1.899 MB / 1.156 GB, free: 11.47 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007663/1.163, allocations: 225.3 kB / 1.156 GB, free: 11.25 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007827/1.171, allocations: 4.075 MB / 1.16 GB, free: 7.148 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.077e-05/1.171, allocations: 16 kB / 1.16 GB, free: 7.133 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.516e-05/1.171, allocations: 20 kB / 1.16 GB, free: 7.113 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.871e-05/1.171, allocations: 7.969 kB / 1.16 GB, free: 7.105 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01957/1.19, allocations: 9.447 MB / 1.169 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.041e-05/1.19, allocations: 4 kB / 1.169 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009334/1.191, allocations: 179.7 kB / 1.17 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00348/1.195, allocations: 1.357 MB / 1.171 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001681/1.195, allocations: 35.94 kB / 1.171 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02173/1.217, allocations: 15.95 MB / 1.187 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.168e-05/1.217, allocations: 11.94 kB / 1.187 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007685/1.225, allocations: 4.042 MB / 1.19 GB, free: 7.207 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001378/1.226, allocations: 0.5411 MB / 1.191 GB, free: 6.645 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006259/1.227, allocations: 36 kB / 1.191 GB, free: 6.609 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001375/1.228, allocations: 87.89 kB / 1.191 GB, free: 6.523 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006652/1.229, allocations: 165.6 kB / 1.191 GB, free: 6.359 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001393/1.229, allocations: 44 kB / 1.191 GB, free: 6.316 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.002195/1.231, allocations: 0.9851 MB / 1.192 GB, free: 5.309 MB / 0.9512 GB Notification: Performance of sort global known variables: time 5.21e-07/1.231, allocations: 0 / 1.192 GB, free: 5.309 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.004585/1.236, allocations: 0.9844 MB / 1.193 GB, free: 4.324 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 (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,66.7%) 16,(6,66.7%) 16,(6,66.7%) 24,(6,66.7%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000436/1.236, allocations: 158.8 kB / 1.193 GB, free: 4.16 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.007597/1.244, allocations: 4.289 MB / 1.198 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 7.044e-06/1.244, allocations: 4.062 kB / 1.198 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.004599/1.248, allocations: 2.677 MB / 1.2 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004211/1.253, allocations: 0.7051 MB / 1.201 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02079/1.274, allocations: 10.52 MB / 1.211 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006481/1.28, allocations: 3.577 MB / 1.215 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.002/1.282, allocations: 467.9 kB / 1.215 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004705/1.283, allocations: 115.4 kB / 1.215 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of SimCode: time 1.323e-06/1.283, allocations: 0 / 1.215 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of Templates: time 0.07733/1.36, allocations: 40.82 MB / 1.255 GB, free: 5.215 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches