Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_9_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.007936/0.007936, allocations: 101.1 kB / 15.73 MB, free: 5.992 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.00201/0.00201, allocations: 198.8 kB / 16.68 MB, free: 5.918 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.307/1.307, allocations: 222.9 MB / 240.4 MB, free: 15.12 MB / 206.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.167/2.167, allocations: 390.2 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 67.89 kB / 0.9504 GB, free: 8.137 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7377/0.7389, allocations: 140.4 MB / 1.087 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03373/0.7727, allocations: 30.76 MB / 1.118 GB, free: 388 kB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02185/0.7946, allocations: 13.58 MB / 1.131 GB, free: 6.945 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003681/0.7983, allocations: 147.1 kB / 1.131 GB, free: 6.895 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.009215/0.8076, allocations: 3.196 MB / 1.134 GB, free: 4.957 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.009005/0.8166, allocations: 2.665 MB / 1.137 GB, free: 3.324 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.006018/0.8226, allocations: 2.002 MB / 1.139 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01095/0.8336, allocations: 7.626 MB / 1.146 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01231/0.8459, allocations: 8.228 MB / 1.154 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006163/0.8521, allocations: 3.417 MB / 1.157 GB, free: 9.934 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006063/0.8582, allocations: 3.385 MB / 1.161 GB, free: 8.441 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.001919/0.8601, allocations: 0.5993 MB / 1.161 GB, free: 8.438 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004549/0.8647, allocations: 1.497 MB / 1.163 GB, free: 8.078 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.004084/0.8688, allocations: 2.363 MB / 1.165 GB, free: 7.004 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.00724/0.876, allocations: 2.893 MB / 1.168 GB, free: 4.996 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.014/0.8901, allocations: 9.457 MB / 1.177 GB, free: 14.17 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.8901, allocations: 3.938 kB / 1.177 GB, free: 14.17 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8901, allocations: 5.156 kB / 1.177 GB, free: 14.16 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0002843/0.8904, allocations: 0 / 1.177 GB, free: 14.16 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: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01445/0.9049, allocations: 5.127 MB / 1.182 GB, free: 10.71 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.9049, allocations: 9.719 kB / 1.182 GB, free: 10.71 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00177/0.9067, allocations: 0.6213 MB / 1.183 GB, free: 10.27 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006641/0.9133, allocations: 0.9928 MB / 1.184 GB, free: 9.801 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007585/0.9209, allocations: 3.079 MB / 1.187 GB, free: 7.742 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002867/0.9212, allocations: 310.1 kB / 1.187 GB, free: 7.602 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001322/0.9226, allocations: 425.6 kB / 1.187 GB, free: 7.453 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.013/0.9356, allocations: 6.794 MB / 1.194 GB, free: 420 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000128/0.9357, allocations: 23.78 kB / 1.194 GB, free: 396 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007344/0.9365, allocations: 184 kB / 1.194 GB, free: 212 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009197/0.9374, allocations: 372 kB / 1.195 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009517/0.9469, allocations: 5.114 MB / 1.2 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03385/0.9808, allocations: 30.51 MB / 1.229 GB, free: 9.426 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002062/0.9829, allocations: 1.395 MB / 1.231 GB, free: 8.023 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001699/0.9846, allocations: 1.332 MB / 1.232 GB, free: 6.691 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.669e-05/0.9847, allocations: 17.31 kB / 1.232 GB, free: 6.676 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.039e-05/0.9848, allocations: 47.88 kB / 1.232 GB, free: 6.621 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=130): time 3.276e-06/0.9848, allocations: 0 / 1.232 GB, free: 6.621 MB / 0.9669 GB Notification: Performance of matching and sorting (n=199): time 0.0918/1.077, allocations: 23.08 MB / 1.255 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.691e-05/1.077, allocations: 73.41 kB / 1.255 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002938/1.08, allocations: 2.062 MB / 1.257 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002732/1.08, allocations: 57.7 kB / 1.257 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001255/1.081, allocations: 2.01 MB / 1.259 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006884/1.082, allocations: 0.6738 MB / 1.259 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007911/1.083, allocations: 416.2 kB / 1.26 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.683e-05/1.083, allocations: 305.1 kB / 1.26 GB, free: 9.754 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002116/1.085, allocations: 1.43 MB / 1.262 GB, free: 8.32 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002491/1.087, allocations: 2.017 MB / 1.264 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004843/1.092, allocations: 3.688 MB / 1.267 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.178e-05/1.092, allocations: 4 kB / 1.267 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01142/1.104, allocations: 5.661 MB / 1.273 GB, free: 12.39 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.113e-05/1.104, allocations: 15.98 kB / 1.273 GB, free: 12.38 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.407e-05/1.104, allocations: 20.16 kB / 1.273 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006726/1.111, allocations: 2.087 MB / 1.275 GB, free: 10.21 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001498/1.112, allocations: 375.4 kB / 1.275 GB, free: 9.844 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03852/1.151, allocations: 38.44 MB / 1.313 GB, free: 0.8711 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002622/1.153, allocations: 127.9 kB / 1.313 GB, free: 0.7461 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003447/1.154, allocations: 88 kB / 1.313 GB, free: 0.6602 MB / 1.045 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.00293/1.157, allocations: 1.508 MB / 1.314 GB, free: 15.14 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008545/1.157, allocations: 284.7 kB / 1.315 GB, free: 14.86 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01074/1.168, allocations: 5.211 MB / 1.32 GB, free: 9.574 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.118e-05/1.168, allocations: 20 kB / 1.32 GB, free: 9.555 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-05/1.168, allocations: 16 kB / 1.32 GB, free: 9.539 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.097e-05/1.168, allocations: 19.89 kB / 1.32 GB, free: 9.52 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01922/1.188, allocations: 9.665 MB / 1.329 GB, free: 15.64 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-05/1.188, allocations: 8 kB / 1.329 GB, free: 15.64 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008849/1.188, allocations: 216.5 kB / 1.329 GB, free: 15.43 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005887/1.194, allocations: 1.842 MB / 1.331 GB, free: 13.53 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001691/1.195, allocations: 44 kB / 1.331 GB, free: 13.48 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03648/1.231, allocations: 37.44 MB / 1.368 GB, free: 5.512 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/1.231, allocations: 4 kB / 1.368 GB, free: 5.508 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009307/1.24, allocations: 4.917 MB / 1.373 GB, free: 444 kB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001681/1.242, allocations: 0.6109 MB / 1.373 GB, free: 15.8 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006382/1.243, allocations: 51.83 kB / 1.373 GB, free: 15.75 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001677/1.244, allocations: 127.8 kB / 1.373 GB, free: 15.62 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005674/1.245, allocations: 193.5 kB / 1.374 GB, free: 15.44 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001354/1.245, allocations: 56 kB / 1.374 GB, free: 15.38 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.002011/1.247, allocations: 1.378 MB / 1.375 GB, free: 14 MB / 1.123 GB Notification: Performance of sort global known variables: time 2.41e-07/1.247, allocations: 0 / 1.375 GB, free: 14 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.003672/1.251, allocations: 1.047 MB / 1.376 GB, free: 12.95 MB / 1.123 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.009194/1.26, allocations: 5.53 MB / 1.381 GB, free: 7.25 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0102/1.27, allocations: 6.295 MB / 1.388 GB, free: 0.7227 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 8.265e-06/1.27, allocations: 0 / 1.388 GB, free: 0.7227 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.006568/1.277, allocations: 4.406 MB / 1.392 GB, free: 12.09 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004767/1.282, allocations: 0.9826 MB / 1.393 GB, free: 11.13 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05036/1.332, allocations: 30.65 MB / 1.423 GB, free: 11.44 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004385/1.336, allocations: 3.121 MB / 1.426 GB, free: 8.281 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001792/1.338, allocations: 0.5237 MB / 1.426 GB, free: 7.754 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00198/1.34, allocations: 1.675 MB / 1.428 GB, free: 6.078 MB / 1.17 GB Notification: Performance of SimCode: time 9.41e-07/1.34, allocations: 4 kB / 1.428 GB, free: 6.074 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1614/1.502, allocations: 88.1 MB / 1.514 GB, free: 15.08 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.62/16.12, allocations: 17.8 kB / 1.514 GB, free: 15.07 MB / 1.264 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches