Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.ACLineMatrix_RL,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_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.001935/0.001936, 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.001951/0.001951, allocations: 191.4 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.426/1.426, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.967/2.967, allocations: 469.8 MB / 0.7424 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 63.42 kB / 0.9087 GB, free: 34.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.2571, allocations: 159.2 MB / 1.064 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02803/0.2852, allocations: 22.59 MB / 1.086 GB, free: 7.492 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0106/0.2958, allocations: 6.229 MB / 1.092 GB, free: 1.25 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001085/0.2969, allocations: 99.5 kB / 1.092 GB, free: 1.152 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.00372/0.3007, allocations: 1.542 MB / 1.094 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003044/0.3037, allocations: 1.633 MB / 1.095 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00284/0.3066, allocations: 1.347 MB / 1.097 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.005931/0.3125, allocations: 5.936 MB / 1.103 GB, free: 6.672 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00718/0.3197, allocations: 6.088 MB / 1.108 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002965/0.3227, allocations: 2.411 MB / 1.111 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003479/0.3262, allocations: 2.862 MB / 1.114 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0006526/0.3269, allocations: 464 kB / 1.114 GB, free: 10.76 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001955/0.3288, allocations: 1.092 MB / 1.115 GB, free: 9.664 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001982/0.3308, allocations: 2.035 MB / 1.117 GB, free: 7.625 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.002283/0.3331, allocations: 2.163 MB / 1.119 GB, free: 5.453 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.00678/0.3399, allocations: 7.256 MB / 1.126 GB, free: 14.18 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3399, allocations: 0 / 1.126 GB, free: 14.18 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3399, allocations: 0 / 1.126 GB, free: 14.18 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.174e-05/0.34, allocations: 0 / 1.126 GB, free: 14.18 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: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.006383/0.3464, allocations: 3.813 MB / 1.13 GB, free: 10.3 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.3465, allocations: 12.03 kB / 1.13 GB, free: 10.29 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006857/0.3471, allocations: 0.5014 MB / 1.131 GB, free: 9.777 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006159/0.3533, allocations: 1.21 MB / 1.132 GB, free: 8.562 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003646/0.357, allocations: 2.215 MB / 1.134 GB, free: 6.289 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001971/0.3572, allocations: 238.4 kB / 1.134 GB, free: 6.055 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005314/0.3577, allocations: 315.8 kB / 1.134 GB, free: 5.746 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009267/0.367, allocations: 6.216 MB / 1.141 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-05/0.3671, allocations: 11.88 kB / 1.141 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003684/0.3674, allocations: 140 kB / 1.141 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005115/0.368, allocations: 406.3 kB / 1.141 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007439/0.3754, allocations: 4.662 MB / 1.146 GB, free: 10.05 MB / 0.9044 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03057/0.406, allocations: 29.13 MB / 1.174 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002147/0.4082, allocations: 1.416 MB / 1.175 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002073/0.4102, allocations: 1.491 MB / 1.177 GB, free: 7.289 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.89e-05/0.4104, allocations: 13 kB / 1.177 GB, free: 7.277 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.052e-05/0.4104, allocations: 51.44 kB / 1.177 GB, free: 7.215 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=110): time 2.875e-06/0.4104, allocations: 0 / 1.177 GB, free: 7.215 MB / 0.9356 GB Notification: Performance of matching and sorting (n=179): time 0.1589/0.5693, allocations: 37.24 MB / 1.213 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.071e-05/0.5694, allocations: 85.28 kB / 1.213 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001934/0.5713, allocations: 1.419 MB / 1.215 GB, free: 404 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001611/0.5715, allocations: 53.7 kB / 1.215 GB, free: 344 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.00115/0.5726, allocations: 1.539 MB / 1.216 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006131/0.5733, allocations: 0.6084 MB / 1.217 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007636/0.574, allocations: 375.3 kB / 1.217 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.5742, allocations: 309.1 kB / 1.218 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002735/0.5769, allocations: 1.784 MB / 1.219 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003228/0.5801, allocations: 2.346 MB / 1.222 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006258/0.5864, allocations: 4.398 MB / 1.226 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.578e-06/0.5864, allocations: 4 kB / 1.226 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.0191/0.6055, allocations: 8.567 MB / 1.234 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.591e-05/0.6056, allocations: 16.03 kB / 1.234 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.432e-05/0.6056, allocations: 16 kB / 1.234 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01534/0.6209, allocations: 4.674 MB / 1.239 GB, free: 7.117 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/0.6221, allocations: 303.4 kB / 1.239 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4407/1.063, allocations: 32.6 MB / 1.271 GB, free: 157.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002067/1.065, allocations: 150.3 kB / 1.271 GB, free: 157.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001748/1.065, allocations: 81.95 kB / 1.271 GB, free: 157.5 MB / 0.9981 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 (157): * Single equations (assignments): 151 * 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 {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001862/1.067, allocations: 1.332 MB / 1.273 GB, free: 156.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003274/1.067, allocations: 202.5 kB / 1.273 GB, free: 156.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0167/1.084, allocations: 8.439 MB / 1.281 GB, free: 154.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.434e-05/1.084, allocations: 17.78 kB / 1.281 GB, free: 154.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.169e-05/1.084, allocations: 25.16 kB / 1.281 GB, free: 154.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.348e-05/1.084, allocations: 11.53 kB / 1.281 GB, free: 154.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02148/1.106, allocations: 12.85 MB / 1.294 GB, free: 150 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.478e-05/1.106, allocations: 8.797 kB / 1.294 GB, free: 150 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006836/1.106, allocations: 167 kB / 1.294 GB, free: 150 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01297/1.119, allocations: 4.523 MB / 1.298 GB, free: 147.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001789/1.119, allocations: 39.78 kB / 1.298 GB, free: 147.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03701/1.156, allocations: 32.2 MB / 1.33 GB, free: 120.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/1.156, allocations: 11.94 kB / 1.33 GB, free: 120.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01454/1.171, allocations: 8.251 MB / 1.338 GB, free: 112.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001127/1.172, allocations: 0.6118 MB / 1.338 GB, free: 111.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004326/1.173, allocations: 40 kB / 1.338 GB, free: 111.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001549/1.174, allocations: 135.8 kB / 1.338 GB, free: 111.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000724/1.175, allocations: 170.8 kB / 1.339 GB, free: 111.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001357/1.175, allocations: 48 kB / 1.339 GB, free: 111.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001088/1.176, allocations: 0.9626 MB / 1.34 GB, free: 110.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.176, allocations: 0 / 1.34 GB, free: 110.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002907/1.179, allocations: 1.117 MB / 1.341 GB, free: 109.4 MB / 0.9981 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 (80): * Single equations (assignments): 74 * 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 {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01456/1.194, allocations: 8.838 MB / 1.349 GB, free: 100.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01164/1.205, allocations: 7.065 MB / 1.356 GB, free: 93.33 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/1.205, allocations: 0 / 1.356 GB, free: 93.33 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.008121/1.213, allocations: 4.358 MB / 1.36 GB, free: 88.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002272/1.216, allocations: 0.5261 MB / 1.361 GB, free: 88.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04831/1.264, allocations: 35.21 MB / 1.395 GB, free: 51.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002373/1.266, allocations: 2.731 MB / 1.398 GB, free: 48.73 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009583/1.267, allocations: 391.5 kB / 1.398 GB, free: 48.36 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001016/1.268, allocations: 1.219 MB / 1.4 GB, free: 47.14 MB / 0.9981 GB Notification: Performance of SimCode: time 9.02e-07/1.268, allocations: 0 / 1.4 GB, free: 47.14 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1279/1.396, allocations: 82.84 MB / 1.48 GB, free: 12.81 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.46/11.85, allocations: 7.953 kB / 1.481 GB, free: 12.8 MB / 1.045 GB (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches