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.008386/0.008386, allocations: 101.9 kB / 15.74 MB, free: 6.043 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.002249/0.002249, allocations: 202.1 kB / 16.68 MB, free: 5.965 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.412/1.412, 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 11.1.0-maint.11.x/package.mo): time 2.759/2.759, allocations: 469.8 MB / 0.7425 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 63.84 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2861/0.288, allocations: 159.1 MB / 1.22 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.0258/0.3139, allocations: 22.6 MB / 1.242 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01041/0.3243, allocations: 6.229 MB / 1.248 GB, free: 1.355 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001458/0.3258, allocations: 95.5 kB / 1.248 GB, free: 1.262 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.5375/0.8633, allocations: 1.537 MB / 1.25 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003722/0.867, allocations: 1.62 MB / 1.252 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002646/0.8697, allocations: 1.347 MB / 1.253 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006059/0.8757, allocations: 5.945 MB / 1.259 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006068/0.8818, allocations: 6.043 MB / 1.265 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00372/0.8856, allocations: 2.409 MB / 1.267 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004385/0.89, allocations: 2.868 MB / 1.27 GB, free: 9.441 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007534/0.8907, allocations: 457.4 kB / 1.27 GB, free: 9.441 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00232/0.8931, allocations: 1.098 MB / 1.271 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002088/0.8952, allocations: 2.033 MB / 1.273 GB, free: 9.234 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0025/0.8977, allocations: 2.171 MB / 1.275 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008404/0.9061, allocations: 7.311 MB / 1.282 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.9061, allocations: 7.562 kB / 1.282 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.312e-06/0.9061, allocations: 0 / 1.282 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001874/0.9063, allocations: 0 / 1.282 GB, free: 6.598 MB / 0.9981 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.007698/0.914, allocations: 3.914 MB / 1.286 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.9141, allocations: 10.34 kB / 1.286 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000685/0.9148, allocations: 0.496 MB / 1.287 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006141/0.9209, allocations: 1.23 MB / 1.288 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004013/0.9249, allocations: 2.353 MB / 1.29 GB, free: 2.633 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001419/0.9251, allocations: 240.1 kB / 1.29 GB, free: 2.535 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000634/0.9257, allocations: 319.4 kB / 1.291 GB, free: 2.441 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01064/0.9364, allocations: 6.228 MB / 1.297 GB, free: 15.96 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-05/0.9365, allocations: 22.06 kB / 1.297 GB, free: 15.94 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004174/0.9369, allocations: 139.7 kB / 1.297 GB, free: 15.85 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005185/0.9374, allocations: 407.3 kB / 1.297 GB, free: 15.79 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009452/0.9469, allocations: 4.659 MB / 1.302 GB, free: 14.22 MB / 1.014 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.03395/0.9809, allocations: 28.99 MB / 1.33 GB, free: 5.336 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002105/0.983, allocations: 1.42 MB / 1.332 GB, free: 4.582 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002017/0.985, allocations: 1.493 MB / 1.333 GB, free: 3.836 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001211/0.9852, allocations: 12.47 kB / 1.333 GB, free: 3.832 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.895e-05/0.9852, allocations: 44 kB / 1.333 GB, free: 3.785 MB / 1.029 GB Notification: Performance of pre-optimization done (n=110): time 3.026e-06/0.9852, allocations: 0 / 1.333 GB, free: 3.785 MB / 1.029 GB Notification: Performance of matching and sorting (n=179): time 0.1512/1.136, allocations: 37.3 MB / 1.37 GB, free: 8.168 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.79e-05/1.137, allocations: 73.41 kB / 1.37 GB, free: 8.082 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002416/1.139, allocations: 1.419 MB / 1.371 GB, free: 6.656 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0003525/1.139, allocations: 53.7 kB / 1.371 GB, free: 6.598 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001206/1.141, allocations: 1.58 MB / 1.373 GB, free: 5.008 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008585/1.141, allocations: 0.6407 MB / 1.373 GB, free: 4.375 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009799/1.142, allocations: 383.5 kB / 1.374 GB, free: 3.992 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001444/1.143, allocations: 309.1 kB / 1.374 GB, free: 3.688 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002928/1.145, allocations: 1.788 MB / 1.376 GB, free: 1.895 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003406/1.149, allocations: 2.346 MB / 1.378 GB, free: 15.3 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006653/1.156, allocations: 4.393 MB / 1.382 GB, free: 10.67 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.051e-05/1.156, allocations: 8 kB / 1.382 GB, free: 10.66 MB / 1.076 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01971/1.175, allocations: 8.576 MB / 1.391 GB, free: 2.051 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.605e-05/1.175, allocations: 16 kB / 1.391 GB, free: 2.035 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.791e-05/1.175, allocations: 16 kB / 1.391 GB, free: 2.02 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01587/1.191, allocations: 4.644 MB / 1.395 GB, free: 13.36 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001273/1.193, allocations: 307.4 kB / 1.396 GB, free: 13.06 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05236/1.245, allocations: 32.61 MB / 1.427 GB, free: 11.63 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002363/1.247, allocations: 155.8 kB / 1.428 GB, free: 11.48 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003951/1.248, allocations: 80 kB / 1.428 GB, free: 11.4 MB / 1.123 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.002708/1.251, allocations: 1.325 MB / 1.429 GB, free: 10.06 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005894/1.251, allocations: 218.6 kB / 1.429 GB, free: 9.848 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01937/1.271, allocations: 8.433 MB / 1.437 GB, free: 1.371 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.759e-05/1.271, allocations: 16 kB / 1.437 GB, free: 1.355 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.539e-05/1.271, allocations: 24 kB / 1.437 GB, free: 1.332 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-05/1.271, allocations: 11.97 kB / 1.437 GB, free: 1.32 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02873/1.299, allocations: 12.85 MB / 1.45 GB, free: 4.336 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.908e-05/1.3, allocations: 15.92 kB / 1.45 GB, free: 4.32 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008133/1.3, allocations: 163.8 kB / 1.45 GB, free: 4.16 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01547/1.316, allocations: 4.497 MB / 1.454 GB, free: 15.65 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003673/1.316, allocations: 36 kB / 1.455 GB, free: 15.61 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05216/1.368, allocations: 32.22 MB / 1.486 GB, free: 14.57 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.058e-05/1.368, allocations: 11.94 kB / 1.486 GB, free: 14.56 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01862/1.387, allocations: 8.252 MB / 1.494 GB, free: 6.188 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001611/1.389, allocations: 0.6245 MB / 1.495 GB, free: 5.543 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000653/1.389, allocations: 39.94 kB / 1.495 GB, free: 5.504 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00183/1.391, allocations: 139.8 kB / 1.495 GB, free: 5.367 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008225/1.392, allocations: 168.9 kB / 1.495 GB, free: 5.199 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001999/1.392, allocations: 52 kB / 1.495 GB, free: 5.148 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001454/1.394, allocations: 0.9548 MB / 1.496 GB, free: 4.199 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.1e-07/1.394, allocations: 0 / 1.496 GB, free: 4.199 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.003596/1.397, allocations: 1.121 MB / 1.497 GB, free: 3.078 MB / 1.186 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.01811/1.416, allocations: 8.841 MB / 1.506 GB, free: 10.1 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0134/1.429, allocations: 6.561 MB / 1.512 GB, free: 3.484 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.197e-05/1.429, allocations: 8 kB / 1.512 GB, free: 3.477 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.01006/1.439, allocations: 4.372 MB / 1.516 GB, free: 15.04 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002792/1.442, allocations: 0.5227 MB / 1.517 GB, free: 14.53 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06422/1.506, allocations: 33.73 MB / 1.55 GB, free: 11.87 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003831/1.51, allocations: 2.723 MB / 1.553 GB, free: 9.113 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001156/1.511, allocations: 392.5 kB / 1.553 GB, free: 8.727 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001433/1.513, allocations: 1.218 MB / 1.554 GB, free: 7.508 MB / 1.248 GB Notification: Performance of SimCode: time 1.352e-06/1.513, allocations: 0 / 1.554 GB, free: 7.508 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1507/1.663, allocations: 83.91 MB / 1.636 GB, free: 4.172 MB / 1.326 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.01/14.67, allocations: 19.58 kB / 1.636 GB, free: 4.152 MB / 1.326 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