Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_N,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",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.001435/0.001434, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001814/0.001814, allocations: 197.2 kB / 16.14 MB, free: 6.711 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.298/1.298, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.483/2.483, allocations: 437 MB / 0.7099 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.0014, allocations: 67.89 kB / 0.8687 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4975/0.4989, allocations: 151.6 MB / 1.017 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.01995/0.5189, allocations: 20.11 MB / 1.036 GB, free: 14.6 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.009147/0.5281, allocations: 6.44 MB / 1.043 GB, free: 8.148 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001503/0.5296, allocations: 79.56 kB / 1.043 GB, free: 8.07 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.004751/0.5344, allocations: 2.085 MB / 1.045 GB, free: 5.98 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.002589/0.537, allocations: 1.116 MB / 1.046 GB, free: 4.859 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002638/0.5397, allocations: 1.161 MB / 1.047 GB, free: 3.699 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.005966/0.5457, allocations: 6.979 MB / 1.054 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007696/0.5534, allocations: 6.17 MB / 1.06 GB, free: 6.469 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002456/0.5558, allocations: 1.775 MB / 1.062 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003116/0.559, allocations: 2.383 MB / 1.064 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0007293/0.5597, allocations: 292 kB / 1.064 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002069/0.5618, allocations: 1.033 MB / 1.065 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.001676/0.5635, allocations: 1.528 MB / 1.067 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.002555/0.566, allocations: 1.758 MB / 1.068 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.005549/0.5716, allocations: 6.419 MB / 1.075 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.5716, allocations: 4 kB / 1.075 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.21e-07/0.5716, allocations: 0 / 1.075 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0001325/0.5718, allocations: 0 / 1.075 GB, free: 7.238 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.005832/0.5776, allocations: 3.448 MB / 1.078 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.5777, allocations: 11.97 kB / 1.078 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005274/0.5782, allocations: 450.6 kB / 1.078 GB, free: 3.262 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00317/0.5814, allocations: 0.641 MB / 1.079 GB, free: 2.617 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002881/0.5843, allocations: 1.94 MB / 1.081 GB, free: 0.6172 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001299/0.5844, allocations: 218.3 kB / 1.081 GB, free: 412 kB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004127/0.5848, allocations: 308 kB / 1.081 GB, free: 104 kB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006824/0.5917, allocations: 4.886 MB / 1.086 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.271e-05/0.5917, allocations: 15.86 kB / 1.086 GB, free: 11 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002845/0.592, allocations: 135.9 kB / 1.086 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003705/0.5924, allocations: 221.7 kB / 1.087 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005342/0.5978, allocations: 3.754 MB / 1.09 GB, free: 6.887 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02103/0.6188, allocations: 21.57 MB / 1.111 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001866/0.6207, allocations: 1.304 MB / 1.113 GB, free: 14 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001364/0.6221, allocations: 1.049 MB / 1.114 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.475e-05/0.6222, allocations: 13 kB / 1.114 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.747e-05/0.6222, allocations: 47.5 kB / 1.114 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=107): time 3.206e-06/0.6222, allocations: 0 / 1.114 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of matching and sorting (n=138): time 0.02205/0.6443, allocations: 8.645 MB / 1.122 GB, free: 4.184 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.6443, allocations: 68.72 kB / 1.122 GB, free: 4.105 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001293/0.6456, allocations: 1.126 MB / 1.123 GB, free: 2.973 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.823e-05/0.6457, allocations: 49.7 kB / 1.123 GB, free: 2.918 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006961/0.6464, allocations: 1.3 MB / 1.125 GB, free: 1.602 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003356/0.6468, allocations: 485.1 kB / 1.125 GB, free: 1.121 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004189/0.6472, allocations: 291.3 kB / 1.125 GB, free: 0.832 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 8.279e-05/0.6473, allocations: 305.1 kB / 1.126 GB, free: 0.5312 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001179/0.6485, allocations: 0.9135 MB / 1.127 GB, free: 15.62 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001454/0.6499, allocations: 1.338 MB / 1.128 GB, free: 14.11 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00271/0.6527, allocations: 2.426 MB / 1.13 GB, free: 11.52 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.033e-05/0.6527, allocations: 4 kB / 1.13 GB, free: 11.51 MB / 0.8887 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005474/0.6582, allocations: 3.455 MB / 1.134 GB, free: 8.035 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/0.6582, allocations: 15.19 kB / 1.134 GB, free: 8.023 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/0.6582, allocations: 15.94 kB / 1.134 GB, free: 8.008 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003073/0.6613, allocations: 1.183 MB / 1.135 GB, free: 6.82 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008388/0.6622, allocations: 259.6 kB / 1.135 GB, free: 6.566 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01468/0.6768, allocations: 12.72 MB / 1.147 GB, free: 9.449 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/0.6781, allocations: 87.98 kB / 1.148 GB, free: 9.363 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/0.6782, allocations: 68.11 kB / 1.148 GB, free: 9.297 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001513/0.6797, allocations: 1.114 MB / 1.149 GB, free: 8.172 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002665/0.68, allocations: 170 kB / 1.149 GB, free: 8.004 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005297/0.6853, allocations: 3.173 MB / 1.152 GB, free: 4.805 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/0.6853, allocations: 12 kB / 1.152 GB, free: 4.793 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.397e-05/0.6853, allocations: 12 kB / 1.152 GB, free: 4.781 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.327e-05/0.6853, allocations: 11.91 kB / 1.152 GB, free: 4.77 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00925/0.6946, allocations: 6.241 MB / 1.158 GB, free: 14.39 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/0.6946, allocations: 8 kB / 1.158 GB, free: 14.38 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005488/0.6952, allocations: 143.8 kB / 1.158 GB, free: 14.24 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002828/0.698, allocations: 1.076 MB / 1.159 GB, free: 13.16 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.361e-05/0.6981, allocations: 24 kB / 1.159 GB, free: 13.14 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01433/0.7125, allocations: 12.42 MB / 1.171 GB, free: 328 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/0.7125, allocations: 7.938 kB / 1.171 GB, free: 320 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004894/0.7174, allocations: 3.154 MB / 1.175 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006679/0.7181, allocations: 423.1 kB / 1.175 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001839/0.7183, allocations: 31.91 kB / 1.175 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006916/0.719, allocations: 87.83 kB / 1.175 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003229/0.7193, allocations: 128.7 kB / 1.175 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.102e-05/0.7194, allocations: 36 kB / 1.175 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000905/0.7203, allocations: 0.7709 MB / 1.176 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7203, allocations: 0 / 1.176 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001704/0.722, allocations: 0.6641 MB / 1.177 GB, free: 10.93 MB / 0.9356 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004965/0.727, allocations: 3.74 MB / 1.18 GB, free: 7.09 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.004425/0.7314, allocations: 3.115 MB / 1.183 GB, free: 3.938 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.7314, allocations: 0.75 kB / 1.183 GB, free: 3.938 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.002726/0.7342, allocations: 1.955 MB / 1.185 GB, free: 1.945 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002092/0.7363, allocations: 474.4 kB / 1.186 GB, free: 1.488 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02969/0.766, allocations: 21.36 MB / 1.207 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002053/0.7681, allocations: 2.34 MB / 1.209 GB, free: 8.922 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001035/0.7691, allocations: 346.1 kB / 1.209 GB, free: 8.578 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001006/0.7701, allocations: 1.007 MB / 1.21 GB, free: 7.57 MB / 0.9669 GB Notification: Performance of SimCode: time 5.72e-07/0.7701, allocations: 4 kB / 1.21 GB, free: 7.566 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8415/1.612, allocations: 50.26 MB / 1.259 GB, free: 213.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002119/1.612, allocations: 247.8 kB / 1.259 GB, free: 212.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.41/4.022, allocations: 2.031 kB / 1.259 GB, free: 212.9 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches