Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007061/0.0007062, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.004522/0.004522, allocations: 170.5 kB / 16.27 MB, free: 6.648 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.187/1.187, allocations: 223.3 MB / 240.3 MB, free: 5.344 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.174/2.174, allocations: 390.9 MB / 0.6664 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002881/0.0002881, allocations: 8 kB / 0.8161 GB, free: 13.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5706/0.5709, allocations: 142.4 MB / 0.9552 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02612/0.597, allocations: 25.74 MB / 0.9803 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01449/0.6116, allocations: 8.002 MB / 0.9881 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003392/0.615, allocations: 103.4 kB / 0.9882 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001766/0.6168, allocations: 0.5233 MB / 0.9887 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.004744/0.6216, allocations: 1.485 MB / 0.9902 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003816/0.6254, allocations: 1.396 MB / 0.9916 GB, free: 9.969 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.009787/0.6352, allocations: 8.689 MB / 1 GB, free: 1.258 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01267/0.6479, allocations: 9.163 MB / 1.009 GB, free: 8.004 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003561/0.6515, allocations: 1.859 MB / 1.011 GB, free: 6.137 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003468/0.655, allocations: 2.452 MB / 1.013 GB, free: 3.676 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0004347/0.6554, allocations: 212 kB / 1.013 GB, free: 3.469 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002444/0.6579, allocations: 1.209 MB / 1.015 GB, free: 2.258 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001844/0.6597, allocations: 1.672 MB / 1.016 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.002121/0.6619, allocations: 1.957 MB / 1.018 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.007085/0.6689, allocations: 7.682 MB / 1.026 GB, free: 6.902 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.669, allocations: 0 / 1.026 GB, free: 6.902 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.625e-06/0.669, allocations: 0 / 1.026 GB, free: 6.902 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0001386/0.6691, allocations: 0 / 1.026 GB, free: 6.902 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.00726/0.6764, allocations: 3.418 MB / 1.029 GB, free: 3.422 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.488e-05/0.6765, allocations: 12.03 kB / 1.029 GB, free: 3.41 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001112/0.6776, allocations: 0.5343 MB / 1.029 GB, free: 2.867 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004286/0.6819, allocations: 0.8078 MB / 1.03 GB, free: 2.055 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004212/0.6861, allocations: 2.428 MB / 1.033 GB, free: 15.57 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001832/0.6863, allocations: 271.7 kB / 1.033 GB, free: 15.3 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006594/0.687, allocations: 376.4 kB / 1.033 GB, free: 14.94 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008929/0.6959, allocations: 5.996 MB / 1.039 GB, free: 8.688 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.393e-05/0.696, allocations: 19.77 kB / 1.039 GB, free: 8.668 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003541/0.6964, allocations: 156 kB / 1.039 GB, free: 8.516 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005751/0.6969, allocations: 282.9 kB / 1.04 GB, free: 8.238 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006826/0.7038, allocations: 4.52 MB / 1.044 GB, free: 3.711 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02451/0.7283, allocations: 27.7 MB / 1.071 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00145/0.7298, allocations: 1.126 MB / 1.072 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001202/0.731, allocations: 1.019 MB / 1.073 GB, free: 3.355 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.902e-05/0.7311, allocations: 9 kB / 1.073 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.7311, allocations: 47.56 kB / 1.073 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=110): time 2.494e-06/0.7311, allocations: 0 / 1.073 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of matching and sorting (n=131): time 0.02028/0.7514, allocations: 9.682 MB / 1.083 GB, free: 9.395 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.7515, allocations: 64.72 kB / 1.083 GB, free: 9.32 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00184/0.7533, allocations: 1.494 MB / 1.084 GB, free: 7.828 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 9.991e-05/0.7534, allocations: 45.7 kB / 1.084 GB, free: 7.777 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.001047/0.7545, allocations: 1.674 MB / 1.086 GB, free: 6.078 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003569/0.7549, allocations: 469.4 kB / 1.086 GB, free: 5.613 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002107/0.7551, allocations: 145.6 kB / 1.086 GB, free: 5.465 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.7552, allocations: 309 kB / 1.087 GB, free: 5.16 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001258/0.7564, allocations: 0.9174 MB / 1.088 GB, free: 4.242 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001583/0.758, allocations: 1.459 MB / 1.089 GB, free: 2.535 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002875/0.7609, allocations: 2.55 MB / 1.092 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/0.7609, allocations: 4 kB / 1.092 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005201/0.7661, allocations: 3.29 MB / 1.095 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.625e-05/0.7662, allocations: 12 kB / 1.095 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.917e-05/0.7662, allocations: 20.12 kB / 1.095 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002168/0.7684, allocations: 0.7412 MB / 1.095 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001447/0.7698, allocations: 387.4 kB / 1.096 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01438/0.7842, allocations: 15.77 MB / 1.111 GB, free: 10.26 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001462/0.7857, allocations: 99.91 kB / 1.111 GB, free: 10.16 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001896/0.7859, allocations: 80.06 kB / 1.111 GB, free: 10.08 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002313/0.7882, allocations: 1.311 MB / 1.113 GB, free: 8.762 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004052/0.7887, allocations: 197.7 kB / 1.113 GB, free: 8.566 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00497/0.7936, allocations: 2.788 MB / 1.116 GB, free: 5.738 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.769e-06/0.7937, allocations: 12 kB / 1.116 GB, free: 5.727 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-05/0.7937, allocations: 8 kB / 1.116 GB, free: 5.719 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/0.7937, allocations: 7.969 kB / 1.116 GB, free: 5.711 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009771/0.8035, allocations: 6.221 MB / 1.122 GB, free: 15.32 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.637e-06/0.8035, allocations: 4 kB / 1.122 GB, free: 15.32 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001112/0.8046, allocations: 231.6 kB / 1.122 GB, free: 15.09 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001918/0.8066, allocations: 0.6671 MB / 1.123 GB, free: 14.39 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-05/0.8067, allocations: 32 kB / 1.123 GB, free: 14.36 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.014/0.8207, allocations: 15.53 MB / 1.138 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.184e-06/0.8207, allocations: 8 kB / 1.138 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006249/0.827, allocations: 4.005 MB / 1.142 GB, free: 9.508 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000959/0.8279, allocations: 462.6 kB / 1.142 GB, free: 9.035 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003659/0.8283, allocations: 35.98 kB / 1.142 GB, free: 9 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/0.8293, allocations: 83.89 kB / 1.142 GB, free: 8.918 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002771/0.8296, allocations: 116.7 kB / 1.142 GB, free: 8.805 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.467e-05/0.8297, allocations: 36 kB / 1.142 GB, free: 8.77 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001406/0.8311, allocations: 0.9942 MB / 1.143 GB, free: 7.785 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8311, allocations: 0 / 1.143 GB, free: 7.785 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.002193/0.8333, allocations: 0.6875 MB / 1.144 GB, free: 7.098 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,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%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006136/0.8395, allocations: 4.612 MB / 1.149 GB, free: 2.363 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.004992/0.8445, allocations: 3.495 MB / 1.152 GB, free: 14.75 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/0.8445, allocations: 4.875 kB / 1.152 GB, free: 14.75 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.003062/0.8476, allocations: 2.287 MB / 1.154 GB, free: 12.34 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004063/0.8517, allocations: 0.6183 MB / 1.155 GB, free: 11.73 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03742/0.8891, allocations: 24.36 MB / 1.179 GB, free: 1.762 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00288/0.892, allocations: 2.66 MB / 1.181 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001436/0.8935, allocations: 489.4 kB / 1.182 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001389/0.8949, allocations: 1.284 MB / 1.183 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of SimCode: time 6.01e-07/0.8949, allocations: 0 / 1.183 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.543/3.438, allocations: 54.2 MB / 1.236 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002989/3.438, allocations: 249.3 kB / 1.236 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.319/7.757, allocations: 0 / 1.236 GB, free: 7.574 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches