Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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 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_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_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.004351/0.004351, allocations: 97.94 kB / 15.73 MB, free: 6.004 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.001089/0.001089, allocations: 192.6 kB / 16.67 MB, free: 5.934 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.324/1.324, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.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.307/2.307, allocations: 390.2 MB / 0.6648 GB, free: 144 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 62.94 kB / 0.9504 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2404/0.2417, allocations: 140.4 MB / 1.087 GB, free: 1.977 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.0348/0.2765, allocations: 33.32 MB / 1.12 GB, free: 0.5352 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.0228/0.2994, allocations: 14.83 MB / 1.135 GB, free: 1.668 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002939/0.3023, allocations: 151.2 kB / 1.135 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.009244/0.3116, allocations: 3.661 MB / 1.138 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.007655/0.3193, allocations: 3.005 MB / 1.141 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.005605/0.3249, allocations: 2.323 MB / 1.143 GB, free: 8.504 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01006/0.335, allocations: 8.83 MB / 1.152 GB, free: 15.65 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01178/0.3468, allocations: 9.577 MB / 1.161 GB, free: 5.949 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005594/0.3524, allocations: 4.016 MB / 1.165 GB, free: 1.922 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005969/0.3584, allocations: 4.038 MB / 1.169 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.001952/0.3604, allocations: 0.7148 MB / 1.17 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00403/0.3644, allocations: 1.712 MB / 1.172 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.003345/0.3678, allocations: 2.841 MB / 1.174 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.004616/0.3724, allocations: 3.38 MB / 1.178 GB, free: 5.199 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.01138/0.3838, allocations: 11.22 MB / 1.189 GB, free: 9.945 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 8.957e-06/0.3838, allocations: 7.984 kB / 1.189 GB, free: 9.938 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.974e-06/0.3838, allocations: 4 kB / 1.189 GB, free: 9.934 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0002612/0.3841, allocations: 0 / 1.189 GB, free: 9.934 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01183/0.3959, allocations: 6.128 MB / 1.195 GB, free: 3.719 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.396, allocations: 8.031 kB / 1.195 GB, free: 3.711 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000931/0.3969, allocations: 0.7271 MB / 1.195 GB, free: 2.973 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006451/0.4034, allocations: 1.172 MB / 1.197 GB, free: 1.797 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007152/0.4106, allocations: 3.542 MB / 1.2 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002407/0.4108, allocations: 378.4 kB / 1.2 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009429/0.4118, allocations: 0.4959 MB / 1.201 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01259/0.4244, allocations: 7.993 MB / 1.209 GB, free: 5.039 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001454/0.4245, allocations: 31.77 kB / 1.209 GB, free: 5.008 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006472/0.4252, allocations: 212 kB / 1.209 GB, free: 4.801 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001089/0.4263, allocations: 437.6 kB / 1.209 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01062/0.4369, allocations: 6.085 MB / 1.215 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04249/0.4794, allocations: 34.95 MB / 1.249 GB, free: 8.16 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002794/0.4823, allocations: 2.026 MB / 1.251 GB, free: 6.125 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002554/0.4849, allocations: 1.873 MB / 1.253 GB, free: 4.254 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001246/0.485, allocations: 18 kB / 1.253 GB, free: 4.238 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.515e-05/0.4851, allocations: 68.44 kB / 1.253 GB, free: 4.16 MB / 1.014 GB Notification: Performance of pre-optimization done (n=171): time 3.747e-06/0.4851, allocations: 4 kB / 1.253 GB, free: 4.156 MB / 1.014 GB Notification: Performance of matching and sorting (n=276): time 0.6506/1.136, allocations: 38.95 MB / 1.291 GB, free: 148.8 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/1.136, allocations: 79.08 kB / 1.291 GB, free: 148.7 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002673/1.138, allocations: 2.285 MB / 1.294 GB, free: 147.5 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.000303/1.139, allocations: 73.55 kB / 1.294 GB, free: 147.5 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001004/1.14, allocations: 2.336 MB / 1.296 GB, free: 145.7 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006488/1.14, allocations: 0.9818 MB / 1.297 GB, free: 145 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008188/1.141, allocations: 0.513 MB / 1.297 GB, free: 144.7 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 4.211e-05/1.141, allocations: 305.1 kB / 1.298 GB, free: 144.4 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002278/1.144, allocations: 1.975 MB / 1.3 GB, free: 143.4 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002564/1.146, allocations: 2.601 MB / 1.302 GB, free: 141.6 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005049/1.151, allocations: 4.932 MB / 1.307 GB, free: 138.4 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-05/1.151, allocations: 4.812 kB / 1.307 GB, free: 138.4 MB / 1.014 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01238/1.164, allocations: 7.766 MB / 1.315 GB, free: 131.9 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.76e-05/1.164, allocations: 12 kB / 1.315 GB, free: 131.9 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.366e-05/1.164, allocations: 16.88 kB / 1.315 GB, free: 131.9 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008122/1.172, allocations: 3.227 MB / 1.318 GB, free: 128.6 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001516/1.173, allocations: 399.2 kB / 1.318 GB, free: 128.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03464/1.208, allocations: 33.9 MB / 1.351 GB, free: 93.53 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003008/1.211, allocations: 163.8 kB / 1.351 GB, free: 93.37 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002441/1.211, allocations: 112 kB / 1.352 GB, free: 93.26 MB / 1.014 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002827/1.214, allocations: 1.793 MB / 1.353 GB, free: 91.45 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008096/1.215, allocations: 349.8 kB / 1.354 GB, free: 91.11 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01151/1.227, allocations: 7.353 MB / 1.361 GB, free: 83.68 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-05/1.227, allocations: 28 kB / 1.361 GB, free: 83.65 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.883e-05/1.227, allocations: 28 kB / 1.361 GB, free: 83.62 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.352e-05/1.227, allocations: 16.83 kB / 1.361 GB, free: 83.61 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01869/1.245, allocations: 12.93 MB / 1.373 GB, free: 70.55 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.234e-05/1.245, allocations: 7.938 kB / 1.373 GB, free: 70.55 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008532/1.246, allocations: 231.6 kB / 1.374 GB, free: 70.32 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007048/1.253, allocations: 2.847 MB / 1.376 GB, free: 67.46 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000175/1.253, allocations: 52 kB / 1.377 GB, free: 67.41 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03321/1.287, allocations: 32.71 MB / 1.408 GB, free: 33.88 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.72e-06/1.287, allocations: 11.94 kB / 1.408 GB, free: 33.87 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01027/1.297, allocations: 6.904 MB / 1.415 GB, free: 26.75 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0017/1.299, allocations: 0.7917 MB / 1.416 GB, free: 25.93 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004687/1.299, allocations: 63.17 kB / 1.416 GB, free: 25.88 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001802/1.301, allocations: 171.7 kB / 1.416 GB, free: 25.71 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006427/1.302, allocations: 253.5 kB / 1.416 GB, free: 25.46 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001594/1.302, allocations: 79.98 kB / 1.417 GB, free: 25.38 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001631/1.303, allocations: 1.521 MB / 1.418 GB, free: 23.86 MB / 1.014 GB Notification: Performance of sort global known variables: time 9.41e-07/1.303, allocations: 0 / 1.418 GB, free: 23.86 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.003445/1.307, allocations: 1.369 MB / 1.419 GB, free: 22.49 MB / 1.014 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01042/1.317, allocations: 7.538 MB / 1.427 GB, free: 14.73 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.009595/1.327, allocations: 6.943 MB / 1.434 GB, free: 7.715 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.897e-06/1.327, allocations: 4 kB / 1.434 GB, free: 7.711 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.00634/1.333, allocations: 4.424 MB / 1.438 GB, free: 3.199 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004457/1.338, allocations: 1.111 MB / 1.439 GB, free: 2.152 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06275/1.401, allocations: 39.2 MB / 1.477 GB, free: 9.855 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005098/1.406, allocations: 3.647 MB / 1.481 GB, free: 6.176 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001996/1.408, allocations: 0.5595 MB / 1.481 GB, free: 5.613 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002407/1.41, allocations: 1.968 MB / 1.483 GB, free: 3.648 MB / 1.061 GB Notification: Performance of SimCode: time 7.41e-07/1.41, allocations: 0 / 1.483 GB, free: 3.648 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1718/1.582, allocations: 111.6 MB / 1.592 GB, free: 5.18 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.75/17.33, allocations: 15.8 kB / 1.592 GB, free: 5.164 MB / 1.17 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_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_N.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches