Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.ACLineMatrix_RL,fileNamePrefix="Buildings_9_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_9_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.005805/0.005805, allocations: 105.9 kB / 15.73 MB, free: 6 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.001254/0.001254, allocations: 189 kB / 16.67 MB, free: 5.926 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.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.18/2.18, allocations: 390.3 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002149/0.002149, allocations: 63.91 kB / 0.9504 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7056/0.7077, allocations: 140.4 MB / 1.087 GB, free: 5.152 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02508/0.7328, allocations: 22.59 MB / 1.11 GB, free: 5.797 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.0118/0.7447, allocations: 6.232 MB / 1.116 GB, free: 1.477 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002365/0.7471, allocations: 96.19 kB / 1.116 GB, free: 1.445 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.00432/0.7514, allocations: 1.542 MB / 1.117 GB, free: 0.5078 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.004479/0.7559, allocations: 1.629 MB / 1.119 GB, free: 15.57 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003818/0.7597, allocations: 1.341 MB / 1.12 GB, free: 14.83 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.007515/0.7673, allocations: 5.941 MB / 1.126 GB, free: 12.21 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008886/0.7762, allocations: 6.041 MB / 1.132 GB, free: 9.812 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004945/0.7812, allocations: 2.421 MB / 1.134 GB, free: 8.715 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005755/0.7869, allocations: 2.865 MB / 1.137 GB, free: 7.508 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.001941/0.7889, allocations: 457.4 kB / 1.137 GB, free: 7.508 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004062/0.793, allocations: 1.098 MB / 1.138 GB, free: 7.262 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.004521/0.7975, allocations: 2.028 MB / 1.14 GB, free: 6.492 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.006465/0.804, allocations: 2.166 MB / 1.143 GB, free: 5.105 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01305/0.8171, allocations: 7.3 MB / 1.15 GB, free: 2.367 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.8171, allocations: 0 / 1.15 GB, free: 2.367 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.373e-06/0.8171, allocations: 0 / 1.15 GB, free: 2.367 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0002858/0.8174, allocations: 1.125 kB / 1.15 GB, free: 2.367 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.01612/0.8336, allocations: 3.82 MB / 1.153 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/0.8336, allocations: 9.781 kB / 1.153 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002086/0.8357, allocations: 0.5009 MB / 1.154 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007734/0.8435, allocations: 1.212 MB / 1.155 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00648/0.85, allocations: 2.337 MB / 1.157 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002818/0.8503, allocations: 242.4 kB / 1.158 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001428/0.8517, allocations: 318.4 kB / 1.158 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01371/0.8654, allocations: 6.211 MB / 1.164 GB, free: 9.234 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001226/0.8656, allocations: 13.59 kB / 1.164 GB, free: 9.227 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009152/0.8665, allocations: 141.7 kB / 1.164 GB, free: 9.121 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006193/0.8671, allocations: 411.9 kB / 1.165 GB, free: 8.988 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009183/0.8763, allocations: 4.66 MB / 1.169 GB, free: 6.602 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.03864/0.915, allocations: 28.95 MB / 1.197 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002305/0.9173, allocations: 1.424 MB / 1.199 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002115/0.9195, allocations: 1.479 MB / 1.2 GB, free: 7.473 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001302/0.9196, allocations: 17 kB / 1.2 GB, free: 7.457 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.267e-05/0.9197, allocations: 47.5 kB / 1.2 GB, free: 7.402 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=110): time 3.797e-06/0.9197, allocations: 0 / 1.2 GB, free: 7.402 MB / 0.9356 GB Notification: Performance of matching and sorting (n=179): time 0.1532/1.073, allocations: 37.24 MB / 1.237 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.583e-05/1.073, allocations: 81.34 kB / 1.237 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002039/1.075, allocations: 1.419 MB / 1.238 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0002939/1.075, allocations: 53.7 kB / 1.238 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009617/1.076, allocations: 1.535 MB / 1.24 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006745/1.077, allocations: 0.6123 MB / 1.24 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008091/1.078, allocations: 383.3 kB / 1.241 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.243e-05/1.078, allocations: 301.1 kB / 1.241 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002571/1.081, allocations: 1.784 MB / 1.243 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002991/1.084, allocations: 2.35 MB / 1.245 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006012/1.09, allocations: 4.39 MB / 1.249 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.569e-05/1.09, allocations: 4 kB / 1.249 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01875/1.108, allocations: 8.571 MB / 1.258 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.477e-05/1.108, allocations: 12 kB / 1.258 GB, free: 12 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.837e-05/1.108, allocations: 20.12 kB / 1.258 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01545/1.124, allocations: 4.635 MB / 1.262 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001278/1.125, allocations: 307.4 kB / 1.262 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0518/1.177, allocations: 32.58 MB / 1.294 GB, free: 5.586 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002726/1.18, allocations: 147.8 kB / 1.294 GB, free: 5.441 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004247/1.18, allocations: 87.98 kB / 1.295 GB, free: 5.355 MB / 1.029 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.002681/1.183, allocations: 1.328 MB / 1.296 GB, free: 4.016 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006398/1.184, allocations: 201.6 kB / 1.296 GB, free: 3.816 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01897/1.203, allocations: 8.437 MB / 1.304 GB, free: 11.34 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.737e-05/1.203, allocations: 20 kB / 1.304 GB, free: 11.32 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001206/1.203, allocations: 27.94 kB / 1.304 GB, free: 11.29 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.24e-05/1.203, allocations: 11.91 kB / 1.304 GB, free: 11.28 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02869/1.232, allocations: 12.85 MB / 1.317 GB, free: 14.27 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.158e-05/1.232, allocations: 4 kB / 1.317 GB, free: 14.26 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009236/1.233, allocations: 167.7 kB / 1.317 GB, free: 14.1 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01558/1.248, allocations: 4.485 MB / 1.321 GB, free: 9.598 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003449/1.249, allocations: 43.94 kB / 1.321 GB, free: 9.555 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05039/1.299, allocations: 32.19 MB / 1.353 GB, free: 8.504 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.02e-05/1.299, allocations: 11.94 kB / 1.353 GB, free: 8.492 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01829/1.317, allocations: 8.236 MB / 1.361 GB, free: 132 kB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001976/1.319, allocations: 0.6158 MB / 1.362 GB, free: 15.49 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007123/1.32, allocations: 43.98 kB / 1.362 GB, free: 15.45 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001959/1.322, allocations: 127.8 kB / 1.362 GB, free: 15.32 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008529/1.323, allocations: 176.9 kB / 1.362 GB, free: 15.14 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002073/1.323, allocations: 48 kB / 1.362 GB, free: 15.1 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001666/1.325, allocations: 0.9626 MB / 1.363 GB, free: 14.14 MB / 1.107 GB Notification: Performance of sort global known variables: time 2.61e-07/1.325, allocations: 0 / 1.363 GB, free: 14.14 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.004078/1.329, allocations: 1.113 MB / 1.364 GB, free: 13.03 MB / 1.107 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.01823/1.347, allocations: 8.845 MB / 1.373 GB, free: 4.043 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0134/1.361, allocations: 6.547 MB / 1.379 GB, free: 13.42 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/1.361, allocations: 4.062 kB / 1.379 GB, free: 13.42 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.01001/1.371, allocations: 4.35 MB / 1.383 GB, free: 8.984 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003461/1.374, allocations: 0.5308 MB / 1.384 GB, free: 8.469 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06812/1.442, allocations: 33.62 MB / 1.417 GB, free: 5.93 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004458/1.447, allocations: 2.731 MB / 1.419 GB, free: 3.164 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001379/1.448, allocations: 380.6 kB / 1.42 GB, free: 2.789 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001947/1.45, allocations: 1.214 MB / 1.421 GB, free: 1.574 MB / 1.154 GB Notification: Performance of SimCode: time 1.262e-06/1.45, allocations: 4 kB / 1.421 GB, free: 1.57 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1393/1.589, allocations: 83.88 MB / 1.503 GB, free: 14.19 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.42/14.01, allocations: 7.359 kB / 1.503 GB, free: 14.19 MB / 1.248 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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_ACLineMatrix_RL.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches