Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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_L,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",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.001658/0.001658, 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.001997/0.001997, allocations: 191.7 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.33/1.33, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.686/2.686, allocations: 469.4 MB / 0.742 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 65.12 kB / 0.9083 GB, free: 34.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2676/0.2689, allocations: 159.1 MB / 1.064 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03461/0.3035, allocations: 32.61 MB / 1.096 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01599/0.3196, allocations: 10.26 MB / 1.106 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002595/0.3222, allocations: 151.2 kB / 1.106 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.008924/0.3312, allocations: 3.711 MB / 1.109 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.004755/0.3359, allocations: 1.854 MB / 1.111 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.005046/0.341, allocations: 2.135 MB / 1.113 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.007844/0.3489, allocations: 7.326 MB / 1.12 GB, free: 4.277 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01133/0.3602, allocations: 9.483 MB / 1.13 GB, free: 10.68 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004094/0.3643, allocations: 3.163 MB / 1.133 GB, free: 7.512 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00455/0.3689, allocations: 3.485 MB / 1.136 GB, free: 4.016 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.001473/0.3704, allocations: 0.6445 MB / 1.137 GB, free: 3.371 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003844/0.3743, allocations: 1.775 MB / 1.138 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.003153/0.3774, allocations: 2.542 MB / 1.141 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.004576/0.382, allocations: 2.898 MB / 1.144 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01033/0.3924, allocations: 10.05 MB / 1.154 GB, free: 2.062 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3924, allocations: 0 / 1.154 GB, free: 2.062 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3924, allocations: 4 kB / 1.154 GB, free: 2.059 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0002904/0.3927, allocations: 0 / 1.154 GB, free: 2.059 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01096/0.4037, allocations: 5 MB / 1.158 GB, free: 12.98 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.4037, allocations: 8.031 kB / 1.158 GB, free: 12.98 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009283/0.4047, allocations: 0.682 MB / 1.159 GB, free: 12.29 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004934/0.4096, allocations: 0.9551 MB / 1.16 GB, free: 11.32 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004522/0.4142, allocations: 2.859 MB / 1.163 GB, free: 8.406 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002173/0.4144, allocations: 349.7 kB / 1.163 GB, free: 8.062 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007163/0.4151, allocations: 464.2 kB / 1.164 GB, free: 7.609 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01144/0.4266, allocations: 7.663 MB / 1.171 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000108/0.4267, allocations: 27.78 kB / 1.171 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004484/0.4272, allocations: 200 kB / 1.171 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002997/0.4275, allocations: 316.9 kB / 1.172 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009757/0.4372, allocations: 5.706 MB / 1.177 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03692/0.4742, allocations: 35.1 MB / 1.212 GB, free: 3.023 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002817/0.477, allocations: 2.141 MB / 1.214 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001581/0.4786, allocations: 1.268 MB / 1.215 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.042e-05/0.4787, allocations: 21.23 kB / 1.215 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.4788, allocations: 55.86 kB / 1.215 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=133): time 2.855e-06/0.4788, allocations: 0 / 1.215 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of matching and sorting (n=136): time 0.01417/0.4929, allocations: 7.077 MB / 1.222 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/0.493, allocations: 64.72 kB / 1.222 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002165/0.4952, allocations: 1.492 MB / 1.223 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 9.752e-05/0.4953, allocations: 49.7 kB / 1.223 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001355/0.4967, allocations: 2.004 MB / 1.225 GB, free: 4.363 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004177/0.4971, allocations: 493 kB / 1.226 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005196/0.4976, allocations: 347.1 kB / 1.226 GB, free: 3.531 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.082e-05/0.4977, allocations: 305.1 kB / 1.226 GB, free: 3.23 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001331/0.499, allocations: 0.9135 MB / 1.227 GB, free: 2.316 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001951/0.501, allocations: 1.593 MB / 1.229 GB, free: 420 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003502/0.5045, allocations: 2.737 MB / 1.232 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.334e-05/0.5045, allocations: 4 kB / 1.232 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006042/0.5106, allocations: 3.526 MB / 1.235 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.174e-05/0.5106, allocations: 19.98 kB / 1.235 GB, free: 9.766 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.119e-05/0.5107, allocations: 28.84 kB / 1.235 GB, free: 9.738 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002566/0.5132, allocations: 0.9038 MB / 1.236 GB, free: 8.797 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/0.5144, allocations: 347.4 kB / 1.236 GB, free: 8.457 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4644/0.9789, allocations: 23.11 MB / 1.259 GB, free: 155 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/0.9803, allocations: 107.6 kB / 1.259 GB, free: 155 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/0.9804, allocations: 83.75 kB / 1.259 GB, free: 155 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (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.001803/0.9822, allocations: 1.611 MB / 1.261 GB, free: 154.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002434/0.9825, allocations: 207 kB / 1.261 GB, free: 154.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004581/0.9871, allocations: 2.988 MB / 1.264 GB, free: 154.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/0.9871, allocations: 14.77 kB / 1.264 GB, free: 154.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.359e-05/0.9871, allocations: 11.55 kB / 1.264 GB, free: 154.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.616e-05/0.9871, allocations: 6.281 kB / 1.264 GB, free: 154.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01024/0.9974, allocations: 7.346 MB / 1.271 GB, free: 151.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.235e-06/0.9974, allocations: 4.031 kB / 1.271 GB, free: 151.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008109/0.9982, allocations: 179 kB / 1.271 GB, free: 151.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002341/1.001, allocations: 0.8293 MB / 1.272 GB, free: 151.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.748e-05/1.001, allocations: 30.06 kB / 1.272 GB, free: 151.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01542/1.016, allocations: 21.95 MB / 1.293 GB, free: 132.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/1.016, allocations: 13.09 kB / 1.293 GB, free: 132.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004684/1.021, allocations: 3.023 MB / 1.296 GB, free: 131 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006908/1.022, allocations: 459.6 kB / 1.297 GB, free: 130.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002157/1.022, allocations: 27.91 kB / 1.297 GB, free: 130.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008156/1.023, allocations: 78.47 kB / 1.297 GB, free: 130.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003418/1.023, allocations: 120.8 kB / 1.297 GB, free: 130.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.978e-05/1.023, allocations: 40.8 kB / 1.297 GB, free: 130.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001119/1.024, allocations: 0.9754 MB / 1.298 GB, free: 130.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.024, allocations: 0 / 1.298 GB, free: 130.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002437/1.027, allocations: 0.7838 MB / 1.299 GB, free: 130.3 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00445/1.031, allocations: 3.623 MB / 1.302 GB, free: 128.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.006028/1.037, allocations: 4.642 MB / 1.307 GB, free: 125.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/1.037, allocations: 4.312 kB / 1.307 GB, free: 125.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003066/1.04, allocations: 2.739 MB / 1.309 GB, free: 124 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002879/1.043, allocations: 0.7328 MB / 1.31 GB, free: 123.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02687/1.07, allocations: 23.85 MB / 1.333 GB, free: 108.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00269/1.073, allocations: 3.104 MB / 1.337 GB, free: 105.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001176/1.074, allocations: 454 kB / 1.337 GB, free: 105 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001228/1.075, allocations: 1.538 MB / 1.338 GB, free: 103.5 MB / 0.9981 GB Notification: Performance of SimCode: time 4.61e-07/1.075, allocations: 4 kB / 1.338 GB, free: 103.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09258/1.168, allocations: 60.3 MB / 1.397 GB, free: 43.82 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.27/11.43, allocations: 3.859 kB / 1.397 GB, free: 43.82 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches