Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",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.0007873/0.0007873, allocations: 97.72 kB / 15.36 MB, free: 0.7305 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.000896/0.000896, allocations: 173.5 kB / 16.27 MB, free: 6.656 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.31/1.31, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.561/2.561, allocations: 462.7 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003065/0.0003065, allocations: 16.08 kB / 0.9029 GB, free: 36.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.2449, allocations: 159.6 MB / 1.059 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.0286/0.2736, allocations: 29.73 MB / 1.088 GB, free: 7.043 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01829/0.2919, allocations: 13.4 MB / 1.101 GB, free: 9.605 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002813/0.2947, allocations: 123.2 kB / 1.101 GB, free: 9.484 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00228/0.297, allocations: 0.6473 MB / 1.102 GB, free: 8.832 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.006588/0.3036, allocations: 2.472 MB / 1.104 GB, free: 6.348 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004067/0.3078, allocations: 1.72 MB / 1.106 GB, free: 4.629 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.01034/0.3181, allocations: 10.42 MB / 1.116 GB, free: 10.18 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01462/0.3328, allocations: 10.19 MB / 1.126 GB, free: 15.88 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004453/0.3372, allocations: 2.58 MB / 1.128 GB, free: 13.29 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004401/0.3416, allocations: 2.942 MB / 1.131 GB, free: 10.34 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.000955/0.3426, allocations: 240 kB / 1.132 GB, free: 10.11 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003373/0.346, allocations: 1.384 MB / 1.133 GB, free: 8.719 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.002623/0.3486, allocations: 1.929 MB / 1.135 GB, free: 6.785 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.005437/0.3541, allocations: 2.38 MB / 1.137 GB, free: 4.387 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01062/0.3647, allocations: 9.013 MB / 1.146 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3648, allocations: 0 / 1.146 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.883e-06/0.3648, allocations: 0 / 1.146 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0003276/0.3651, allocations: 0 / 1.146 GB, free: 11.34 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.009292/0.3744, allocations: 4.15 MB / 1.15 GB, free: 7.117 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.3745, allocations: 15.97 kB / 1.15 GB, free: 7.102 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001131/0.3756, allocations: 0.6242 MB / 1.151 GB, free: 6.465 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005514/0.3811, allocations: 0.9941 MB / 1.152 GB, free: 5.465 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004745/0.3859, allocations: 2.9 MB / 1.154 GB, free: 2.484 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002167/0.3861, allocations: 316.8 kB / 1.155 GB, free: 2.172 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006327/0.3868, allocations: 423.8 kB / 1.155 GB, free: 1.758 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01039/0.3972, allocations: 6.795 MB / 1.162 GB, free: 10.67 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.322e-05/0.3973, allocations: 19.83 kB / 1.162 GB, free: 10.65 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004182/0.3977, allocations: 184 kB / 1.162 GB, free: 10.47 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008746/0.3986, allocations: 368 kB / 1.162 GB, free: 10.11 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007981/0.4066, allocations: 5.114 MB / 1.167 GB, free: 4.973 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03133/0.4379, allocations: 30.79 MB / 1.197 GB, free: 3.418 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001892/0.4398, allocations: 1.391 MB / 1.199 GB, free: 2.016 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001593/0.4414, allocations: 1.335 MB / 1.2 GB, free: 0.6836 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 7.091e-05/0.4415, allocations: 21.25 kB / 1.2 GB, free: 0.6641 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/0.4416, allocations: 51.88 kB / 1.2 GB, free: 0.6055 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=130): time 3.246e-06/0.4416, allocations: 0 / 1.2 GB, free: 0.6055 MB / 0.9512 GB Notification: Performance of matching and sorting (n=199): time 0.08535/0.5269, allocations: 22.8 MB / 1.222 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.544e-05/0.527, allocations: 73.41 kB / 1.222 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002937/0.5299, allocations: 2.058 MB / 1.224 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.000216/0.5302, allocations: 57.7 kB / 1.224 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001338/0.5315, allocations: 2.014 MB / 1.226 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006413/0.5322, allocations: 0.6816 MB / 1.227 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003135/0.5325, allocations: 178.3 kB / 1.227 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.35e-05/0.5326, allocations: 309.1 kB / 1.228 GB, free: 4.25 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002158/0.5348, allocations: 1.43 MB / 1.229 GB, free: 2.816 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002552/0.5373, allocations: 2.01 MB / 1.231 GB, free: 0.5508 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004725/0.5421, allocations: 3.7 MB / 1.234 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.326e-05/0.5421, allocations: 4 kB / 1.234 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01085/0.5529, allocations: 5.657 MB / 1.24 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.704e-05/0.553, allocations: 12 kB / 1.24 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.504e-05/0.553, allocations: 16 kB / 1.24 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006664/0.5597, allocations: 2.092 MB / 1.242 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001422/0.5611, allocations: 383.3 kB / 1.242 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4713/1.032, allocations: 35.53 MB / 1.277 GB, free: 150 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00232/1.035, allocations: 128.5 kB / 1.277 GB, free: 150 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001916/1.035, allocations: 90.23 kB / 1.277 GB, free: 150 MB / 0.9981 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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%), (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 prepare postOptimizeDAE: time 0.002614/1.038, allocations: 1.51 MB / 1.279 GB, free: 149.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005632/1.038, allocations: 281.4 kB / 1.279 GB, free: 149.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01093/1.049, allocations: 5.212 MB / 1.284 GB, free: 147.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-05/1.049, allocations: 20.09 kB / 1.284 GB, free: 147.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.919e-05/1.049, allocations: 20.25 kB / 1.284 GB, free: 147.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-05/1.049, allocations: 10.73 kB / 1.284 GB, free: 147.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01576/1.065, allocations: 9.677 MB / 1.294 GB, free: 144 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.35e-05/1.065, allocations: 6.375 kB / 1.294 GB, free: 144 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008019/1.066, allocations: 218.5 kB / 1.294 GB, free: 144 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005293/1.071, allocations: 1.848 MB / 1.296 GB, free: 143.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001446/1.071, allocations: 38.59 kB / 1.296 GB, free: 143.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02638/1.098, allocations: 34.55 MB / 1.329 GB, free: 115 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/1.098, allocations: 11.84 kB / 1.33 GB, free: 115 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00777/1.106, allocations: 4.914 MB / 1.334 GB, free: 112 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001116/1.107, allocations: 0.6217 MB / 1.335 GB, free: 111.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005143/1.107, allocations: 38.75 kB / 1.335 GB, free: 111.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001571/1.109, allocations: 126.2 kB / 1.335 GB, free: 111.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00055/1.109, allocations: 193.4 kB / 1.335 GB, free: 111.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001252/1.109, allocations: 55.09 kB / 1.335 GB, free: 111.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001815/1.111, allocations: 1.386 MB / 1.337 GB, free: 110.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.111, allocations: 0 / 1.337 GB, free: 110.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003214/1.115, allocations: 1.051 MB / 1.338 GB, free: 110.5 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007555/1.122, allocations: 5.532 MB / 1.343 GB, free: 106.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007852/1.13, allocations: 6.263 MB / 1.349 GB, free: 101.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.734e-06/1.13, allocations: 0 / 1.349 GB, free: 101.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.005126/1.135, allocations: 4.408 MB / 1.354 GB, free: 96.84 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005907/1.141, allocations: 0.9278 MB / 1.354 GB, free: 95.94 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05094/1.192, allocations: 35.96 MB / 1.39 GB, free: 57.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004048/1.196, allocations: 3.127 MB / 1.393 GB, free: 54.34 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003004/1.199, allocations: 0.5159 MB / 1.393 GB, free: 53.82 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002275/1.201, allocations: 1.679 MB / 1.395 GB, free: 52.14 MB / 0.9981 GB Notification: Performance of SimCode: time 1.082e-06/1.201, allocations: 3.938 kB / 1.395 GB, free: 52.14 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.861/7.062, allocations: 85.7 MB / 1.478 GB, free: 15.51 MB / 1.045 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002217/7.062, allocations: 251.6 kB / 1.479 GB, free: 15.25 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.066/11.13, allocations: 4.062 kB / 1.479 GB, free: 15.25 MB / 1.045 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches