Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001648/0.001648, 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.002119/0.002119, allocations: 195.9 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.875/1.875, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.957/3.957, allocations: 461.9 MB / 0.7343 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 64.73 kB / 0.8987 GB, free: 37.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.393/0.3943, allocations: 157.4 MB / 1.052 GB, free: 8.691 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.0502/0.4446, allocations: 37.63 MB / 1.089 GB, free: 2.938 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01896/0.4636, allocations: 10.89 MB / 1.1 GB, free: 8.016 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003981/0.4676, allocations: 135.3 kB / 1.1 GB, free: 7.883 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.01048/0.4782, allocations: 4.1 MB / 1.104 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.006585/0.4848, allocations: 2.049 MB / 1.106 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.005195/0.49, allocations: 1.969 MB / 1.108 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01213/0.5021, allocations: 9.296 MB / 1.117 GB, free: 6.434 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01819/0.5204, allocations: 13.57 MB / 1.13 GB, free: 8.746 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006773/0.5272, allocations: 4.058 MB / 1.134 GB, free: 4.676 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00696/0.5342, allocations: 4.717 MB / 1.139 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.002468/0.5367, allocations: 0.8203 MB / 1.14 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004739/0.5414, allocations: 1.588 MB / 1.141 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0045/0.546, allocations: 3.146 MB / 1.144 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.008337/0.5543, allocations: 3.657 MB / 1.148 GB, free: 6.711 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01422/0.5686, allocations: 12.31 MB / 1.16 GB, free: 10.37 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.705e-06/0.5686, allocations: 0 / 1.16 GB, free: 10.37 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.883e-06/0.5686, allocations: 0 / 1.16 GB, free: 10.37 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0003331/0.569, allocations: 4 kB / 1.16 GB, free: 10.36 MB / 0.92 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.01571/0.5847, allocations: 6.307 MB / 1.166 GB, free: 3.984 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.5847, allocations: 12.62 kB / 1.166 GB, free: 3.973 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00215/0.5869, allocations: 0.8294 MB / 1.167 GB, free: 3.133 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005429/0.5923, allocations: 1.071 MB / 1.168 GB, free: 2.055 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005942/0.5983, allocations: 3.419 MB / 1.171 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003234/0.5986, allocations: 431.6 kB / 1.172 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001181/0.5998, allocations: 0.5433 MB / 1.172 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01609/0.6159, allocations: 9.373 MB / 1.181 GB, free: 3.91 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001279/0.6161, allocations: 19.78 kB / 1.181 GB, free: 3.891 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006756/0.6168, allocations: 251.9 kB / 1.182 GB, free: 3.645 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005478/0.6173, allocations: 426.9 kB / 1.182 GB, free: 3.227 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01223/0.6296, allocations: 7.116 MB / 1.189 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04686/0.6765, allocations: 41.32 MB / 1.229 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004383/0.6809, allocations: 3.096 MB / 1.232 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002755/0.6836, allocations: 2.137 MB / 1.234 GB, free: 9.805 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001324/0.6838, allocations: 22 kB / 1.234 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.287e-05/0.6839, allocations: 64.5 kB / 1.234 GB, free: 9.711 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=209): time 4.429e-06/0.6839, allocations: 7.875 kB / 1.234 GB, free: 9.703 MB / 0.9981 GB Notification: Performance of matching and sorting (n=212): time 0.02332/0.7072, allocations: 10.56 MB / 1.245 GB, free: 15.05 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.529e-05/0.7073, allocations: 73.41 kB / 1.245 GB, free: 14.96 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002923/0.7102, allocations: 2.005 MB / 1.247 GB, free: 12.94 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002448/0.7105, allocations: 61.7 kB / 1.247 GB, free: 12.88 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001882/0.7124, allocations: 2.408 MB / 1.249 GB, free: 10.43 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009269/0.7133, allocations: 0.7278 MB / 1.25 GB, free: 9.695 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009611/0.7143, allocations: 485.2 kB / 1.25 GB, free: 9.215 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.7144, allocations: 301.1 kB / 1.251 GB, free: 8.918 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00231/0.7167, allocations: 1.376 MB / 1.252 GB, free: 7.539 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002816/0.7196, allocations: 2.108 MB / 1.254 GB, free: 5.113 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005207/0.7248, allocations: 3.766 MB / 1.258 GB, free: 1.039 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.895e-05/0.7248, allocations: 4 kB / 1.258 GB, free: 1.035 MB / 1.014 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.7015/1.426, allocations: 5.066 MB / 1.263 GB, free: 187.2 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.807e-05/1.426, allocations: 15.94 kB / 1.263 GB, free: 187.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.482e-05/1.426, allocations: 23.38 kB / 1.263 GB, free: 187.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003586/1.43, allocations: 1.593 MB / 1.264 GB, free: 187.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001811/1.432, allocations: 452.1 kB / 1.265 GB, free: 187.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02894/1.461, allocations: 18.58 MB / 1.283 GB, free: 180.6 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002738/1.464, allocations: 147 kB / 1.283 GB, free: 180.6 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003523/1.464, allocations: 110.4 kB / 1.283 GB, free: 180.6 MB / 1.014 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.003848/1.468, allocations: 1.941 MB / 1.285 GB, free: 179.7 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001013/1.469, allocations: 285.9 kB / 1.285 GB, free: 179.7 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0101/1.479, allocations: 4.457 MB / 1.29 GB, free: 177.9 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.839e-05/1.479, allocations: 20.94 kB / 1.29 GB, free: 177.9 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.494e-05/1.479, allocations: 16.78 kB / 1.29 GB, free: 177.9 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.578e-05/1.479, allocations: 10.31 kB / 1.29 GB, free: 177.9 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02398/1.503, allocations: 9.665 MB / 1.299 GB, free: 174 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.368e-05/1.503, allocations: 9 kB / 1.299 GB, free: 174 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001467/1.505, allocations: 230 kB / 1.299 GB, free: 174 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00514/1.51, allocations: 1.448 MB / 1.301 GB, free: 173.6 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004122/1.51, allocations: 39.81 kB / 1.301 GB, free: 173.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02467/1.535, allocations: 18.57 MB / 1.319 GB, free: 161.5 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.097e-06/1.535, allocations: 7.531 kB / 1.319 GB, free: 161.5 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009014/1.544, allocations: 4.548 MB / 1.323 GB, free: 158.8 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001517/1.546, allocations: 0.6344 MB / 1.324 GB, free: 158.4 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004355/1.546, allocations: 43.64 kB / 1.324 GB, free: 158.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001313/1.548, allocations: 115.5 kB / 1.324 GB, free: 158.3 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005925/1.548, allocations: 178.8 kB / 1.324 GB, free: 158.2 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001457/1.548, allocations: 62.92 kB / 1.324 GB, free: 158.2 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001778/1.55, allocations: 1.317 MB / 1.326 GB, free: 157.5 MB / 1.014 GB Notification: Performance of sort global known variables: time 4.31e-07/1.55, allocations: 0 / 1.326 GB, free: 157.5 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.004016/1.554, allocations: 1.144 MB / 1.327 GB, free: 157.4 MB / 1.014 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.008602/1.563, allocations: 5.15 MB / 1.332 GB, free: 152.2 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0153/1.578, allocations: 5.915 MB / 1.338 GB, free: 146.2 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.666e-05/1.578, allocations: 7.938 kB / 1.338 GB, free: 146.2 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.004395/1.583, allocations: 2.925 MB / 1.34 GB, free: 143.3 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00445/1.587, allocations: 0.8893 MB / 1.341 GB, free: 142.4 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05423/1.641, allocations: 35.94 MB / 1.376 GB, free: 104 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003946/1.645, allocations: 3.686 MB / 1.38 GB, free: 100.3 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002288/1.648, allocations: 0.5547 MB / 1.381 GB, free: 99.76 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001997/1.65, allocations: 1.956 MB / 1.382 GB, free: 97.8 MB / 1.014 GB Notification: Performance of SimCode: time 1.122e-06/1.65, allocations: 0 / 1.382 GB, free: 97.8 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.085/2.734, allocations: 85.76 MB / 1.466 GB, free: 13.02 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002562/2.735, allocations: 252.8 kB / 1.466 GB, free: 12.77 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.369/9.103, allocations: 4 kB / 1.466 GB, free: 12.77 MB / 1.014 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches