Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.004746/0.004746, allocations: 98.17 kB / 15.73 MB, free: 6.012 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.001143/0.001143, allocations: 196.6 kB / 16.68 MB, free: 5.93 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.324/1.324, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.366/2.366, allocations: 437 MB / 0.7105 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 55.91 kB / 1.018 GB, free: 9.887 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7175/0.7189, allocations: 151.6 MB / 1.166 GB, free: 3.781 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02538/0.7443, allocations: 22.6 MB / 1.188 GB, free: 13.09 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01114/0.7555, allocations: 6.236 MB / 1.194 GB, free: 6.844 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001656/0.7572, allocations: 91.56 kB / 1.194 GB, free: 6.754 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.004054/0.7613, allocations: 1.549 MB / 1.196 GB, free: 5.199 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.003954/0.7652, allocations: 1.719 MB / 1.198 GB, free: 3.473 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003265/0.7685, allocations: 1.35 MB / 1.199 GB, free: 2.125 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.006416/0.7749, allocations: 5.951 MB / 1.205 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00764/0.7826, allocations: 6.042 MB / 1.211 GB, free: 6.039 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003619/0.7862, allocations: 2.446 MB / 1.213 GB, free: 3.586 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004166/0.7904, allocations: 2.87 MB / 1.216 GB, free: 0.707 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.001059/0.7915, allocations: 456 kB / 1.216 GB, free: 268 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002584/0.7941, allocations: 1.104 MB / 1.217 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.00255/0.7967, allocations: 2.027 MB / 1.219 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.003507/0.8002, allocations: 2.163 MB / 1.221 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.008707/0.8089, allocations: 7.316 MB / 1.229 GB, free: 3.617 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.809, allocations: 4 kB / 1.229 GB, free: 3.613 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.593e-06/0.809, allocations: 0 / 1.229 GB, free: 3.613 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0002255/0.8092, allocations: 0 / 1.229 GB, free: 3.613 MB / 0.9512 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.009053/0.8183, allocations: 3.919 MB / 1.232 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.8183, allocations: 12.92 kB / 1.232 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000951/0.8193, allocations: 0.4976 MB / 1.233 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006384/0.8257, allocations: 1.231 MB / 1.234 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005011/0.8307, allocations: 2.347 MB / 1.236 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001723/0.8309, allocations: 246.3 kB / 1.237 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006302/0.8315, allocations: 315.9 kB / 1.237 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01004/0.8416, allocations: 6.212 MB / 1.243 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.124e-05/0.8417, allocations: 15.88 kB / 1.243 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004285/0.8421, allocations: 139.9 kB / 1.243 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004734/0.8426, allocations: 406.3 kB / 1.244 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007799/0.8504, allocations: 4.658 MB / 1.248 GB, free: 15.23 MB / 0.9825 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.03105/0.8815, allocations: 29.01 MB / 1.276 GB, free: 15.51 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001956/0.8835, allocations: 1.412 MB / 1.278 GB, free: 14.09 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001852/0.8853, allocations: 1.483 MB / 1.279 GB, free: 12.6 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001014/0.8854, allocations: 16.98 kB / 1.279 GB, free: 12.58 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.8855, allocations: 43.56 kB / 1.279 GB, free: 12.53 MB / 1.014 GB Notification: Performance of pre-optimization done (n=110): time 2.655e-06/0.8855, allocations: 0 / 1.279 GB, free: 12.53 MB / 1.014 GB Notification: Performance of matching and sorting (n=179): time 0.1505/1.036, allocations: 37.31 MB / 1.316 GB, free: 7.156 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.282e-05/1.036, allocations: 69.41 kB / 1.316 GB, free: 7.074 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002141/1.038, allocations: 1.419 MB / 1.317 GB, free: 5.648 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0002126/1.038, allocations: 49.7 kB / 1.317 GB, free: 5.594 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009976/1.039, allocations: 1.59 MB / 1.319 GB, free: 3.988 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.00062/1.04, allocations: 0.6429 MB / 1.319 GB, free: 3.34 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007828/1.041, allocations: 387.5 kB / 1.32 GB, free: 2.953 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000102/1.041, allocations: 301.1 kB / 1.32 GB, free: 2.656 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002484/1.043, allocations: 1.788 MB / 1.322 GB, free: 0.8633 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002821/1.046, allocations: 2.346 MB / 1.324 GB, free: 14.27 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005566/1.052, allocations: 4.387 MB / 1.328 GB, free: 9.641 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.219e-05/1.052, allocations: 4 kB / 1.328 GB, free: 9.637 MB / 1.061 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01793/1.07, allocations: 8.58 MB / 1.337 GB, free: 1.02 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.271e-05/1.07, allocations: 12 kB / 1.337 GB, free: 1.008 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.629e-05/1.07, allocations: 16 kB / 1.337 GB, free: 0.9922 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01487/1.085, allocations: 4.642 MB / 1.341 GB, free: 12.33 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/1.086, allocations: 303.4 kB / 1.342 GB, free: 12.04 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0461/1.132, allocations: 32.62 MB / 1.373 GB, free: 10.57 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002494/1.135, allocations: 147.8 kB / 1.374 GB, free: 10.42 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000326/1.135, allocations: 87.98 kB / 1.374 GB, free: 10.34 MB / 1.107 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.002242/1.137, allocations: 1.332 MB / 1.375 GB, free: 8.992 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000524/1.138, allocations: 206.7 kB / 1.375 GB, free: 8.789 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01721/1.155, allocations: 8.445 MB / 1.383 GB, free: 304 kB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.93e-05/1.155, allocations: 20 kB / 1.383 GB, free: 284 kB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.703e-05/1.155, allocations: 24 kB / 1.383 GB, free: 260 kB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-05/1.155, allocations: 7.969 kB / 1.383 GB, free: 252 kB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02364/1.179, allocations: 12.85 MB / 1.396 GB, free: 3.219 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.386e-05/1.179, allocations: 4 kB / 1.396 GB, free: 3.215 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006847/1.18, allocations: 163.8 kB / 1.396 GB, free: 3.055 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01409/1.194, allocations: 4.484 MB / 1.401 GB, free: 14.55 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002065/1.194, allocations: 40 kB / 1.401 GB, free: 14.52 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0452/1.239, allocations: 32.22 MB / 1.432 GB, free: 13.44 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.977e-06/1.239, allocations: 11.94 kB / 1.432 GB, free: 13.43 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01664/1.256, allocations: 8.249 MB / 1.44 GB, free: 5.055 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001544/1.257, allocations: 0.6245 MB / 1.441 GB, free: 4.41 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004472/1.258, allocations: 43.94 kB / 1.441 GB, free: 4.367 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001582/1.259, allocations: 139.7 kB / 1.441 GB, free: 4.23 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000673/1.26, allocations: 172.9 kB / 1.441 GB, free: 4.059 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001423/1.26, allocations: 44 kB / 1.441 GB, free: 4.016 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001338/1.262, allocations: 0.9666 MB / 1.442 GB, free: 3.055 MB / 1.17 GB Notification: Performance of sort global known variables: time 3.1e-07/1.262, allocations: 0 / 1.442 GB, free: 3.055 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.003077/1.265, allocations: 1.113 MB / 1.443 GB, free: 1.941 MB / 1.17 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.01696/1.282, allocations: 8.846 MB / 1.452 GB, free: 8.949 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.01275/1.294, allocations: 6.546 MB / 1.458 GB, free: 2.332 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/1.294, allocations: 0 / 1.458 GB, free: 2.332 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.009399/1.304, allocations: 4.378 MB / 1.462 GB, free: 13.87 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002864/1.307, allocations: 0.5316 MB / 1.463 GB, free: 13.35 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06124/1.368, allocations: 33.73 MB / 1.496 GB, free: 10.7 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003279/1.371, allocations: 2.723 MB / 1.499 GB, free: 7.945 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001074/1.372, allocations: 392.5 kB / 1.499 GB, free: 7.559 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00143/1.374, allocations: 1.214 MB / 1.5 GB, free: 6.344 MB / 1.232 GB Notification: Performance of SimCode: time 1.122e-06/1.374, allocations: 0 / 1.5 GB, free: 6.344 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6932/2.067, allocations: 83.91 MB / 1.582 GB, free: 358.7 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.55/14.62, allocations: 2.016 kB / 1.582 GB, free: 358.7 MB / 1.279 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches