Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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_R_N,fileNamePrefix="Buildings_10_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_10_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.001498/0.001498, allocations: 108 kB / 15.6 MB, free: 132 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.001714/0.001714, allocations: 195.5 kB / 16.53 MB, free: 6.391 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.337/1.337, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.5/2.5, allocations: 437.1 MB / 0.7104 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001581/0.001581, allocations: 59.91 kB / 0.8694 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.652/0.6536, allocations: 151.6 MB / 1.017 GB, free: 2.367 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04032/0.694, allocations: 37.96 MB / 1.054 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01935/0.7134, allocations: 11 MB / 1.065 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00395/0.7174, allocations: 155.2 kB / 1.065 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.01088/0.7283, allocations: 4.359 MB / 1.07 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.007175/0.7355, allocations: 2.219 MB / 1.072 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.005645/0.7412, allocations: 2.162 MB / 1.074 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01042/0.7517, allocations: 9.288 MB / 1.083 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01569/0.7674, allocations: 11.35 MB / 1.094 GB, free: 3.562 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006845/0.7742, allocations: 3.981 MB / 1.098 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008233/0.7825, allocations: 4.506 MB / 1.102 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.003171/0.7857, allocations: 0.8242 MB / 1.103 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005497/0.7912, allocations: 1.584 MB / 1.105 GB, free: 8.641 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.005903/0.7971, allocations: 3.146 MB / 1.108 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.00891/0.8061, allocations: 3.657 MB / 1.111 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01713/0.8232, allocations: 12.24 MB / 1.123 GB, free: 5.539 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/0.8233, allocations: 0 / 1.123 GB, free: 5.539 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.827e-06/0.8233, allocations: 0 / 1.123 GB, free: 5.539 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0005409/0.8238, allocations: 0 / 1.123 GB, free: 5.539 MB / 0.8731 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.01997/0.8438, allocations: 6.311 MB / 1.129 GB, free: 15.16 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 6.147e-05/0.8439, allocations: 8.031 kB / 1.129 GB, free: 15.15 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003283/0.8472, allocations: 0.8294 MB / 1.13 GB, free: 14.31 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006636/0.8539, allocations: 1.067 MB / 1.131 GB, free: 13.23 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007451/0.8613, allocations: 3.431 MB / 1.135 GB, free: 9.75 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003814/0.8618, allocations: 419.8 kB / 1.135 GB, free: 9.34 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002229/0.864, allocations: 0.5394 MB / 1.136 GB, free: 8.801 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02396/0.888, allocations: 9.377 MB / 1.145 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000213/0.8882, allocations: 23.78 kB / 1.145 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002038/0.8903, allocations: 244 kB / 1.145 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007792/0.8911, allocations: 422.9 kB / 1.145 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01539/0.9065, allocations: 7.123 MB / 1.152 GB, free: 7.281 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04624/0.9528, allocations: 41.32 MB / 1.193 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004702/0.9575, allocations: 3.103 MB / 1.196 GB, free: 7.113 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00282/0.9604, allocations: 2.138 MB / 1.198 GB, free: 4.973 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001064/0.9605, allocations: 22 kB / 1.198 GB, free: 4.953 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.401e-05/0.9606, allocations: 64.56 kB / 1.198 GB, free: 4.879 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=209): time 5.901e-06/0.9606, allocations: 0 / 1.198 GB, free: 4.879 MB / 0.9512 GB Notification: Performance of matching and sorting (n=212): time 0.02481/0.9854, allocations: 10.55 MB / 1.208 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.92e-05/0.9855, allocations: 77.41 kB / 1.208 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002737/0.9882, allocations: 2.009 MB / 1.21 GB, free: 8.117 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001983/0.9885, allocations: 65.7 kB / 1.21 GB, free: 8.047 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001563/0.99, allocations: 2.404 MB / 1.213 GB, free: 5.609 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006439/0.9907, allocations: 0.724 MB / 1.213 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007454/0.9914, allocations: 481.2 kB / 1.214 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.9916, allocations: 301.1 kB / 1.214 GB, free: 4.102 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002001/0.9936, allocations: 1.376 MB / 1.215 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002499/0.9961, allocations: 2.108 MB / 1.218 GB, free: 300 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00492/1.001, allocations: 3.77 MB / 1.221 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.345e-05/1.001, allocations: 8 kB / 1.221 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008853/1.01, allocations: 5.068 MB / 1.226 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.97e-05/1.01, allocations: 12 kB / 1.226 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.062e-05/1.01, allocations: 24 kB / 1.226 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003801/1.014, allocations: 1.591 MB / 1.228 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001878/1.016, allocations: 455.2 kB / 1.228 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02506/1.041, allocations: 18.59 MB / 1.246 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002323/1.043, allocations: 143.9 kB / 1.246 GB, free: 1.738 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003833/1.044, allocations: 108 kB / 1.247 GB, free: 1.633 MB / 0.9981 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.475/1.519, allocations: 1.938 MB / 1.248 GB, free: 209.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009175/1.519, allocations: 294.2 kB / 1.249 GB, free: 209.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008836/1.528, allocations: 4.448 MB / 1.253 GB, free: 209.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.425e-05/1.528, allocations: 25.14 kB / 1.253 GB, free: 209.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.292e-05/1.528, allocations: 21.25 kB / 1.253 GB, free: 209.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-05/1.529, allocations: 9.938 kB / 1.253 GB, free: 209.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02029/1.549, allocations: 9.66 MB / 1.263 GB, free: 205.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.665e-05/1.549, allocations: 8.5 kB / 1.263 GB, free: 205.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001108/1.55, allocations: 233.6 kB / 1.263 GB, free: 205.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00364/1.554, allocations: 1.44 MB / 1.264 GB, free: 204.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001722/1.554, allocations: 36.69 kB / 1.264 GB, free: 204.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02078/1.575, allocations: 18.57 MB / 1.282 GB, free: 193.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/1.575, allocations: 8.188 kB / 1.282 GB, free: 193.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006163/1.581, allocations: 4.542 MB / 1.287 GB, free: 192.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001155/1.582, allocations: 0.6279 MB / 1.287 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003667/1.582, allocations: 48.7 kB / 1.288 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001259/1.584, allocations: 115.5 kB / 1.288 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004945/1.584, allocations: 180.1 kB / 1.288 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001387/1.584, allocations: 64.31 kB / 1.288 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001611/1.586, allocations: 1.319 MB / 1.289 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.21e-07/1.586, allocations: 3.562 kB / 1.289 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003036/1.589, allocations: 1.142 MB / 1.29 GB, free: 191.1 MB / 0.9981 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.005806/1.595, allocations: 5.162 MB / 1.295 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.008086/1.603, allocations: 5.908 MB / 1.301 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.327e-06/1.603, allocations: 0 / 1.301 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003657/1.607, allocations: 2.92 MB / 1.304 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00364/1.61, allocations: 0.8887 MB / 1.305 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03859/1.649, allocations: 33.63 MB / 1.338 GB, free: 144 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003337/1.652, allocations: 3.688 MB / 1.341 GB, free: 140.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001874/1.654, allocations: 0.5597 MB / 1.342 GB, free: 139.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001662/1.656, allocations: 1.948 MB / 1.344 GB, free: 137.7 MB / 0.9981 GB Notification: Performance of SimCode: time 5.41e-07/1.656, allocations: 0 / 1.344 GB, free: 137.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1141/1.77, allocations: 85.69 MB / 1.427 GB, free: 53.02 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/13.63, allocations: 11.06 kB / 1.427 GB, free: 53.01 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches