Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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_RL_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_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.005507/0.005507, allocations: 101 kB / 15.73 MB, free: 6.055 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.001324/0.001324, allocations: 196.6 kB / 16.68 MB, free: 5.969 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.313/1.313, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.164/2.164, allocations: 390.3 MB / 0.6648 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 63.91 kB / 0.9504 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7848/0.7861, allocations: 140.4 MB / 1.087 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02452/0.8106, allocations: 20.25 MB / 1.107 GB, free: 7.617 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01286/0.8235, allocations: 6.451 MB / 1.114 GB, free: 3.188 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00233/0.8259, allocations: 86.91 kB / 1.114 GB, free: 3.16 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.006202/0.8322, allocations: 2.223 MB / 1.116 GB, free: 1.816 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003824/0.836, allocations: 1.191 MB / 1.117 GB, free: 1.078 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003727/0.8398, allocations: 1.28 MB / 1.118 GB, free: 368 kB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.006678/0.8464, allocations: 4.853 MB / 1.123 GB, free: 14.17 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008514/0.855, allocations: 5.602 MB / 1.128 GB, free: 11.9 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004135/0.8591, allocations: 2.09 MB / 1.13 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004599/0.8638, allocations: 2.337 MB / 1.133 GB, free: 9.922 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.001488/0.8653, allocations: 429.6 kB / 1.133 GB, free: 9.922 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003715/0.869, allocations: 1.007 MB / 1.134 GB, free: 9.688 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.003625/0.8726, allocations: 1.665 MB / 1.136 GB, free: 9 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.004938/0.8776, allocations: 1.911 MB / 1.138 GB, free: 7.773 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01023/0.8878, allocations: 6.511 MB / 1.144 GB, free: 5.723 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 9.939e-06/0.8879, allocations: 5.672 kB / 1.144 GB, free: 5.719 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.335e-06/0.8879, allocations: 0 / 1.144 GB, free: 5.719 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0002369/0.8881, allocations: 0 / 1.144 GB, free: 5.719 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.00991/0.8981, allocations: 3.464 MB / 1.147 GB, free: 3.738 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.8981, allocations: 9.406 kB / 1.147 GB, free: 3.738 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009277/0.899, allocations: 452.8 kB / 1.148 GB, free: 3.488 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003926/0.903, allocations: 0.6412 MB / 1.148 GB, free: 3.188 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004918/0.9079, allocations: 2.043 MB / 1.15 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000183/0.9081, allocations: 217 kB / 1.151 GB, free: 1.723 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007293/0.9089, allocations: 304.8 kB / 1.151 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009366/0.9182, allocations: 4.884 MB / 1.156 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.343e-05/0.9184, allocations: 8.781 kB / 1.156 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003732/0.9187, allocations: 127.1 kB / 1.156 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000485/0.9192, allocations: 235 kB / 1.156 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00652/0.9258, allocations: 3.75 MB / 1.16 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02388/0.9497, allocations: 21.4 MB / 1.181 GB, free: 8.664 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001844/0.9515, allocations: 1.303 MB / 1.182 GB, free: 7.973 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001498/0.9531, allocations: 1.055 MB / 1.183 GB, free: 7.422 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 6.279e-05/0.9531, allocations: 11.53 kB / 1.183 GB, free: 7.422 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.179e-05/0.9532, allocations: 52.06 kB / 1.183 GB, free: 7.367 MB / 0.92 GB Notification: Performance of pre-optimization done (n=107): time 3.286e-06/0.9532, allocations: 0 / 1.183 GB, free: 7.367 MB / 0.92 GB Notification: Performance of matching and sorting (n=138): time 0.02457/0.9778, allocations: 8.654 MB / 1.191 GB, free: 1.309 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.012e-05/0.9778, allocations: 68.7 kB / 1.192 GB, free: 1.23 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001807/0.9797, allocations: 1.13 MB / 1.193 GB, free: 96 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001463/0.9798, allocations: 49.7 kB / 1.193 GB, free: 40 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008785/0.9807, allocations: 1.304 MB / 1.194 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004558/0.9812, allocations: 477.2 kB / 1.194 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004908/0.9817, allocations: 287.3 kB / 1.195 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.739e-05/0.9818, allocations: 313 kB / 1.195 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00126/0.9831, allocations: 0.9096 MB / 1.196 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001546/0.9846, allocations: 1.326 MB / 1.197 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003075/0.9877, allocations: 2.43 MB / 1.2 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.826e-05/0.9877, allocations: 4 kB / 1.2 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006292/0.994, allocations: 3.468 MB / 1.203 GB, free: 5.152 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.374e-05/0.9941, allocations: 12.03 kB / 1.203 GB, free: 5.141 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.502e-05/0.9941, allocations: 19.92 kB / 1.203 GB, free: 5.121 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003343/0.9975, allocations: 1.178 MB / 1.204 GB, free: 3.938 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009909/0.9985, allocations: 255.5 kB / 1.204 GB, free: 3.688 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01858/1.017, allocations: 13.85 MB / 1.218 GB, free: 5.426 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001579/1.019, allocations: 87.97 kB / 1.218 GB, free: 5.34 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002148/1.019, allocations: 64 kB / 1.218 GB, free: 5.277 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002166/1.021, allocations: 1.123 MB / 1.219 GB, free: 4.145 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004144/1.022, allocations: 162.1 kB / 1.219 GB, free: 3.984 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005875/1.027, allocations: 3.165 MB / 1.222 GB, free: 0.793 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/1.027, allocations: 12 kB / 1.222 GB, free: 0.7812 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.92e-05/1.027, allocations: 15.94 kB / 1.222 GB, free: 0.7656 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/1.027, allocations: 7.969 kB / 1.222 GB, free: 0.7578 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01171/1.039, allocations: 6.237 MB / 1.228 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/1.039, allocations: 8.062 kB / 1.228 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006016/1.04, allocations: 143.8 kB / 1.229 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002875/1.043, allocations: 1.09 MB / 1.23 GB, free: 9.133 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001061/1.043, allocations: 28 kB / 1.23 GB, free: 9.105 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01764/1.06, allocations: 13.53 MB / 1.243 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/1.061, allocations: 7.938 kB / 1.243 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006039/1.067, allocations: 3.146 MB / 1.246 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001197/1.068, allocations: 442.8 kB / 1.246 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004558/1.068, allocations: 28 kB / 1.246 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001131/1.069, allocations: 83.89 kB / 1.247 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004115/1.07, allocations: 120.7 kB / 1.247 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001046/1.07, allocations: 36 kB / 1.247 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001291/1.071, allocations: 0.771 MB / 1.247 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.31e-07/1.071, allocations: 0 / 1.247 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002609/1.074, allocations: 0.6602 MB / 1.248 GB, free: 5.773 MB / 0.9825 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005737/1.08, allocations: 3.736 MB / 1.252 GB, free: 1.941 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.005123/1.085, allocations: 3.142 MB / 1.255 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.243e-06/1.085, allocations: 0 / 1.255 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003108/1.088, allocations: 1.943 MB / 1.257 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002914/1.091, allocations: 0.5021 MB / 1.257 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03341/1.124, allocations: 19.11 MB / 1.276 GB, free: 8.605 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003255/1.128, allocations: 2.34 MB / 1.278 GB, free: 6.23 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001174/1.129, allocations: 346.1 kB / 1.278 GB, free: 5.887 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001369/1.13, allocations: 1.011 MB / 1.279 GB, free: 4.875 MB / 1.014 GB Notification: Performance of SimCode: time 9.31e-07/1.13, allocations: 0 / 1.279 GB, free: 4.875 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09395/1.224, allocations: 52.3 MB / 1.331 GB, free: 1.227 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/13.08, allocations: 7.312 kB / 1.331 GB, free: 1.223 MB / 1.061 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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_RL_N.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches