Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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_R_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_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.001614/0.001614, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001915/0.001915, allocations: 194.7 kB / 16.25 MB, free: 6.629 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.405/1.405, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.363/2.363, allocations: 390.2 MB / 0.6644 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 63.91 kB / 0.8122 GB, free: 14.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5479/0.5493, allocations: 140.4 MB / 0.9492 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04004/0.5894, allocations: 37.61 MB / 0.986 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.0216/0.611, allocations: 10.9 MB / 0.9966 GB, free: 1.438 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004204/0.6152, allocations: 143.2 kB / 0.9967 GB, free: 1.297 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.01082/0.6261, allocations: 4.081 MB / 1.001 GB, free: 13.21 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0085/0.6346, allocations: 2.053 MB / 1.003 GB, free: 11.15 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0065/0.6412, allocations: 1.977 MB / 1.005 GB, free: 9.176 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0124/0.6536, allocations: 9.311 MB / 1.014 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02164/0.6753, allocations: 13.57 MB / 1.027 GB, free: 2.152 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006847/0.6822, allocations: 4.05 MB / 1.031 GB, free: 14.09 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007259/0.6894, allocations: 4.724 MB / 1.036 GB, free: 9.352 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.00265/0.6921, allocations: 0.8242 MB / 1.036 GB, free: 8.527 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005296/0.6974, allocations: 1.588 MB / 1.038 GB, free: 6.938 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.00674/0.7042, allocations: 3.146 MB / 1.041 GB, free: 3.785 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.01091/0.7151, allocations: 3.661 MB / 1.045 GB, free: 112 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01861/0.7338, allocations: 12.3 MB / 1.057 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/0.7339, allocations: 4 kB / 1.057 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.595e-06/0.7339, allocations: 0 / 1.057 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.000482/0.7344, allocations: 0 / 1.057 GB, free: 3.773 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.02075/0.7551, allocations: 6.316 MB / 1.063 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.058e-05/0.7552, allocations: 12.03 kB / 1.063 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003319/0.7585, allocations: 0.8294 MB / 1.064 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007247/0.7658, allocations: 1.063 MB / 1.065 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009732/0.7756, allocations: 3.427 MB / 1.068 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004844/0.7761, allocations: 423.7 kB / 1.068 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002421/0.7785, allocations: 0.5393 MB / 1.069 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02503/0.8036, allocations: 9.381 MB / 1.078 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003186/0.8039, allocations: 19.86 kB / 1.078 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002135/0.8061, allocations: 248 kB / 1.078 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007713/0.8069, allocations: 418.9 kB / 1.079 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01717/0.8241, allocations: 7.123 MB / 1.086 GB, free: 5.512 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05479/0.8789, allocations: 41.31 MB / 1.126 GB, free: 8.453 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005144/0.8841, allocations: 3.092 MB / 1.129 GB, free: 5.348 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003369/0.8875, allocations: 2.145 MB / 1.131 GB, free: 3.203 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00018/0.8877, allocations: 18 kB / 1.131 GB, free: 3.188 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.003e-05/0.8878, allocations: 60.56 kB / 1.131 GB, free: 3.117 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=209): time 4.448e-06/0.8878, allocations: 0 / 1.131 GB, free: 3.117 MB / 0.8887 GB Notification: Performance of matching and sorting (n=212): time 0.02682/0.9146, allocations: 10.57 MB / 1.142 GB, free: 8.453 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.897e-05/0.9147, allocations: 73.41 kB / 1.142 GB, free: 8.371 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003786/0.9185, allocations: 2.005 MB / 1.144 GB, free: 6.348 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0003084/0.9189, allocations: 65.7 kB / 1.144 GB, free: 6.277 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.001771/0.9207, allocations: 2.404 MB / 1.146 GB, free: 3.84 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.000855/0.9215, allocations: 0.7318 MB / 1.147 GB, free: 3.098 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001019/0.9226, allocations: 477.2 kB / 1.147 GB, free: 2.625 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.349e-05/0.9227, allocations: 301.1 kB / 1.147 GB, free: 2.328 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00214/0.9248, allocations: 1.376 MB / 1.149 GB, free: 0.9492 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002756/0.9276, allocations: 2.108 MB / 1.151 GB, free: 14.52 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005368/0.933, allocations: 3.77 MB / 1.155 GB, free: 10.43 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.411e-05/0.933, allocations: 12 kB / 1.155 GB, free: 10.42 MB / 0.92 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008898/0.9419, allocations: 5.065 MB / 1.159 GB, free: 5.332 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.035e-05/0.942, allocations: 12 kB / 1.159 GB, free: 5.32 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.275e-05/0.942, allocations: 24 kB / 1.16 GB, free: 5.297 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003736/0.9458, allocations: 1.595 MB / 1.161 GB, free: 3.691 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00169/0.9475, allocations: 459.2 kB / 1.161 GB, free: 3.242 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02497/0.9725, allocations: 18.59 MB / 1.18 GB, free: 104 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00266/0.9752, allocations: 147.9 kB / 1.18 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004722/0.9757, allocations: 108 kB / 1.18 GB, free: 15.85 MB / 0.9512 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003752/0.9794, allocations: 1.937 MB / 1.182 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000836/0.9803, allocations: 288.6 kB / 1.182 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007977/0.9883, allocations: 4.455 MB / 1.186 GB, free: 9.133 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.13e-05/0.9883, allocations: 24 kB / 1.186 GB, free: 9.109 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.344e-05/0.9884, allocations: 16 kB / 1.186 GB, free: 9.094 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.068e-05/0.9884, allocations: 7.969 kB / 1.186 GB, free: 9.086 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02089/1.009, allocations: 9.672 MB / 1.196 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.596e-05/1.009, allocations: 4 kB / 1.196 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001067/1.01, allocations: 231.6 kB / 1.196 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003509/1.014, allocations: 1.438 MB / 1.198 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002052/1.014, allocations: 39.98 kB / 1.198 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02334/1.038, allocations: 18.57 MB / 1.216 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.564e-06/1.038, allocations: 7.938 kB / 1.216 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008959/1.047, allocations: 4.544 MB / 1.22 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001949/1.049, allocations: 0.6342 MB / 1.221 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008808/1.049, allocations: 43.94 kB / 1.221 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001743/1.051, allocations: 115.9 kB / 1.221 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006034/1.052, allocations: 185.6 kB / 1.221 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002072/1.052, allocations: 60 kB / 1.221 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.002489/1.055, allocations: 1.315 MB / 1.222 GB, free: 3.398 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.61e-07/1.055, allocations: 4 kB / 1.222 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.003797/1.058, allocations: 1.141 MB / 1.224 GB, free: 2.254 MB / 0.9825 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007704/1.066, allocations: 5.163 MB / 1.229 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.009962/1.076, allocations: 5.899 MB / 1.234 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.138e-06/1.076, allocations: 0 / 1.234 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.004691/1.081, allocations: 2.918 MB / 1.237 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004854/1.086, allocations: 0.8966 MB / 1.238 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5944/1.68, allocations: 35.93 MB / 1.273 GB, free: 270.8 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004839/1.685, allocations: 3.691 MB / 1.277 GB, free: 269.5 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002448/1.688, allocations: 0.5501 MB / 1.277 GB, free: 269.5 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002049/1.69, allocations: 1.952 MB / 1.279 GB, free: 267.8 MB / 1.014 GB Notification: Performance of SimCode: time 1.633e-06/1.69, allocations: 2.312 kB / 1.279 GB, free: 267.8 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1224/1.812, allocations: 85.75 MB / 1.363 GB, free: 197.1 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000163/1.812, allocations: 252.2 kB / 1.363 GB, free: 196.8 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.464/5.276, allocations: 0 / 1.363 GB, free: 196.8 MB / 1.014 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches