Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",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.00806/0.00806, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.00181/0.00181, allocations: 191.3 kB / 16.67 MB, free: 5.523 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.302/1.302, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002273/0.002273, allocations: 59.91 kB / 0.9504 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7755/0.7778, allocations: 140.4 MB / 1.087 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03213/0.8099, allocations: 26.65 MB / 1.114 GB, free: 3.25 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01541/0.8254, allocations: 8.085 MB / 1.121 GB, free: 13.67 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003337/0.8288, allocations: 115.3 kB / 1.122 GB, free: 13.63 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.007679/0.8365, allocations: 2.756 MB / 1.124 GB, free: 11.96 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004944/0.8414, allocations: 1.586 MB / 1.126 GB, free: 10.98 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004967/0.8464, allocations: 1.667 MB / 1.127 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.008211/0.8546, allocations: 6.15 MB / 1.133 GB, free: 7.242 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01192/0.8666, allocations: 7.321 MB / 1.141 GB, free: 4.324 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006188/0.8728, allocations: 2.573 MB / 1.143 GB, free: 3.133 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005901/0.8787, allocations: 2.832 MB / 1.146 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.00168/0.8804, allocations: 0.5083 MB / 1.146 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00469/0.8851, allocations: 1.284 MB / 1.148 GB, free: 1.586 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.004581/0.8897, allocations: 2.049 MB / 1.15 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.006598/0.8964, allocations: 2.38 MB / 1.152 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01237/0.9087, allocations: 8.055 MB / 1.16 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.9088, allocations: 5.016 kB / 1.16 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.503e-06/0.9088, allocations: 0 / 1.16 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0002364/0.909, allocations: 0 / 1.16 GB, free: 10.98 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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01278/0.9218, allocations: 4.231 MB / 1.164 GB, free: 8.117 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.9219, allocations: 10.12 kB / 1.164 GB, free: 8.117 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001817/0.9237, allocations: 0.5354 MB / 1.164 GB, free: 7.734 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005525/0.9292, allocations: 0.8015 MB / 1.165 GB, free: 7.348 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007417/0.9367, allocations: 2.574 MB / 1.168 GB, free: 5.645 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003257/0.937, allocations: 278.3 kB / 1.168 GB, free: 5.516 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001807/0.9388, allocations: 382.7 kB / 1.168 GB, free: 5.379 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01389/0.9527, allocations: 5.993 MB / 1.174 GB, free: 1.637 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001561/0.9529, allocations: 26.42 kB / 1.174 GB, free: 1.617 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009464/0.9539, allocations: 159.4 kB / 1.174 GB, free: 1.5 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006616/0.9545, allocations: 276.2 kB / 1.175 GB, free: 1.434 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009025/0.9636, allocations: 4.527 MB / 1.179 GB, free: 15.09 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03172/0.9953, allocations: 27.45 MB / 1.206 GB, free: 1.961 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00168/0.997, allocations: 1.119 MB / 1.207 GB, free: 0.832 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001335/0.9984, allocations: 1.015 MB / 1.208 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 7.259e-05/0.9985, allocations: 16.91 kB / 1.208 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.735e-05/0.9985, allocations: 47.56 kB / 1.208 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=110): time 2.876e-06/0.9985, allocations: 3.938 kB / 1.208 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of matching and sorting (n=131): time 0.02301/1.022, allocations: 9.652 MB / 1.217 GB, free: 5.875 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/1.022, allocations: 64.72 kB / 1.218 GB, free: 5.801 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002225/1.024, allocations: 1.502 MB / 1.219 GB, free: 4.301 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001523/1.024, allocations: 57.7 kB / 1.219 GB, free: 4.238 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001032/1.025, allocations: 1.663 MB / 1.221 GB, free: 2.551 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004485/1.026, allocations: 465.4 kB / 1.221 GB, free: 2.09 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005682/1.026, allocations: 331.1 kB / 1.221 GB, free: 1.762 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001386/1.026, allocations: 305.1 kB / 1.222 GB, free: 1.461 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001341/1.028, allocations: 0.9174 MB / 1.223 GB, free: 0.543 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001824/1.029, allocations: 1.463 MB / 1.224 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003427/1.033, allocations: 2.55 MB / 1.227 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.145e-05/1.033, allocations: 4 kB / 1.227 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006057/1.039, allocations: 3.285 MB / 1.23 GB, free: 8.719 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.643e-05/1.039, allocations: 12 kB / 1.23 GB, free: 8.707 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.636e-05/1.039, allocations: 16 kB / 1.23 GB, free: 8.691 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002276/1.041, allocations: 0.7342 MB / 1.23 GB, free: 7.93 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00165/1.043, allocations: 399.3 kB / 1.231 GB, free: 7.539 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01747/1.06, allocations: 17.03 MB / 1.247 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001769/1.062, allocations: 103.8 kB / 1.248 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002661/1.063, allocations: 76 kB / 1.248 GB, free: 5.066 MB / 0.9825 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(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,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002596/1.065, allocations: 1.313 MB / 1.249 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005225/1.066, allocations: 205.6 kB / 1.249 GB, free: 3.539 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005955/1.072, allocations: 2.777 MB / 1.252 GB, free: 0.7227 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-05/1.072, allocations: 16 kB / 1.252 GB, free: 0.707 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.011e-05/1.072, allocations: 4 kB / 1.252 GB, free: 0.7031 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/1.072, allocations: 7.969 kB / 1.252 GB, free: 0.6953 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01289/1.085, allocations: 6.229 MB / 1.258 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.41e-05/1.085, allocations: 7.984 kB / 1.258 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001337/1.086, allocations: 227.7 kB / 1.258 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002189/1.088, allocations: 0.6675 MB / 1.259 GB, free: 9.375 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001267/1.088, allocations: 39.88 kB / 1.259 GB, free: 9.336 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01808/1.106, allocations: 16.79 MB / 1.275 GB, free: 7.285 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.676e-06/1.106, allocations: 11.94 kB / 1.275 GB, free: 7.273 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0072/1.114, allocations: 3.993 MB / 1.279 GB, free: 3.172 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00146/1.115, allocations: 454.7 kB / 1.28 GB, free: 2.707 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006302/1.116, allocations: 47.83 kB / 1.28 GB, free: 2.66 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001295/1.117, allocations: 87.77 kB / 1.28 GB, free: 2.574 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003129/1.117, allocations: 112.7 kB / 1.28 GB, free: 2.465 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001402/1.118, allocations: 40 kB / 1.28 GB, free: 2.426 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001776/1.119, allocations: 0.9942 MB / 1.281 GB, free: 1.441 MB / 1.014 GB Notification: Performance of sort global known variables: time 4.21e-07/1.119, allocations: 0 / 1.281 GB, free: 1.441 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002879/1.122, allocations: 0.6836 MB / 1.282 GB, free: 0.7578 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,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%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007126/1.129, allocations: 4.611 MB / 1.286 GB, free: 12.02 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.005986/1.135, allocations: 3.514 MB / 1.289 GB, free: 8.391 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/1.135, allocations: 0 / 1.289 GB, free: 8.391 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.003475/1.139, allocations: 2.292 MB / 1.292 GB, free: 5.984 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003403/1.142, allocations: 0.6844 MB / 1.292 GB, free: 5.32 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03503/1.177, allocations: 21.14 MB / 1.313 GB, free: 15.31 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003723/1.181, allocations: 2.656 MB / 1.316 GB, free: 12.62 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001781/1.183, allocations: 493.3 kB / 1.316 GB, free: 12.14 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001844/1.185, allocations: 1.28 MB / 1.317 GB, free: 10.86 MB / 1.061 GB Notification: Performance of SimCode: time 8.92e-07/1.185, allocations: 0 / 1.317 GB, free: 10.86 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1082/1.293, allocations: 57.21 MB / 1.373 GB, free: 2.379 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.66/13.95, allocations: 7.609 kB / 1.373 GB, free: 2.375 MB / 1.107 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches