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.007315/0.007315, allocations: 100.6 kB / 15.73 MB, free: 6.051 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.002148/0.002148, allocations: 185.7 kB / 16.67 MB, free: 5.98 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.471/1.471, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.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.512/2.512, allocations: 437 MB / 0.7105 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 63.91 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.2557, allocations: 151.6 MB / 1.166 GB, free: 7.332 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02429/0.2801, allocations: 22.6 MB / 1.188 GB, free: 0.6445 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01017/0.2903, allocations: 6.233 MB / 1.194 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001611/0.2919, allocations: 95.5 kB / 1.194 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.004017/0.296, allocations: 1.547 MB / 1.196 GB, free: 8.754 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003875/0.2998, allocations: 1.622 MB / 1.198 GB, free: 7.125 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003204/0.3031, allocations: 1.349 MB / 1.199 GB, free: 5.777 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.006256/0.3093, allocations: 5.939 MB / 1.205 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007333/0.3167, allocations: 6.047 MB / 1.211 GB, free: 9.695 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003483/0.3202, allocations: 2.411 MB / 1.213 GB, free: 7.277 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004143/0.3244, allocations: 2.87 MB / 1.216 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.001076/0.3255, allocations: 460 kB / 1.216 GB, free: 3.949 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002831/0.3283, allocations: 1.092 MB / 1.217 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.002974/0.3313, allocations: 2.035 MB / 1.219 GB, free: 0.8164 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.004179/0.3355, allocations: 2.163 MB / 1.221 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00774/0.3433, allocations: 7.304 MB / 1.228 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.3433, allocations: 0 / 1.228 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3433, allocations: 0 / 1.228 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0001904/0.3435, allocations: 0 / 1.228 GB, free: 7.32 MB / 0.9825 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.007776/0.3513, allocations: 3.813 MB / 1.232 GB, free: 3.445 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.3513, allocations: 11.97 kB / 1.232 GB, free: 3.434 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007227/0.3521, allocations: 0.4976 MB / 1.233 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006237/0.3583, allocations: 1.221 MB / 1.234 GB, free: 1.699 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004474/0.3628, allocations: 2.336 MB / 1.236 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000166/0.363, allocations: 238.4 kB / 1.236 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006809/0.3637, allocations: 315.8 kB / 1.237 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009356/0.373, allocations: 6.209 MB / 1.243 GB, free: 8.297 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.46e-05/0.3732, allocations: 15.86 kB / 1.243 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000388/0.3736, allocations: 143.9 kB / 1.243 GB, free: 8.141 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005056/0.3741, allocations: 406.3 kB / 1.243 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007381/0.3815, allocations: 4.658 MB / 1.248 GB, free: 3.074 MB / 0.9981 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.524/0.9055, allocations: 28.95 MB / 1.276 GB, free: 52.92 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002516/0.9081, allocations: 1.421 MB / 1.277 GB, free: 52.4 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001851/0.9099, allocations: 1.485 MB / 1.279 GB, free: 51.88 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.918e-05/0.91, allocations: 11.91 kB / 1.279 GB, free: 51.88 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.9101, allocations: 46.31 kB / 1.279 GB, free: 51.83 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=110): time 3.306e-06/0.9101, allocations: 0 / 1.279 GB, free: 51.83 MB / 0.9981 GB Notification: Performance of matching and sorting (n=179): time 0.1461/1.056, allocations: 37.26 MB / 1.315 GB, free: 42.3 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/1.056, allocations: 73.19 kB / 1.315 GB, free: 42.23 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001673/1.058, allocations: 1.417 MB / 1.317 GB, free: 41.47 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002304/1.058, allocations: 57.45 kB / 1.317 GB, free: 41.42 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006035/1.059, allocations: 1.53 MB / 1.318 GB, free: 40.08 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004768/1.059, allocations: 0.6098 MB / 1.319 GB, free: 39.55 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006833/1.06, allocations: 387.9 kB / 1.319 GB, free: 39.34 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.086e-05/1.06, allocations: 301.1 kB / 1.32 GB, free: 39.05 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002011/1.062, allocations: 1.789 MB / 1.321 GB, free: 38.11 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002291/1.064, allocations: 2.348 MB / 1.324 GB, free: 36.45 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004441/1.069, allocations: 4.39 MB / 1.328 GB, free: 33.48 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-05/1.069, allocations: 4 kB / 1.328 GB, free: 33.48 MB / 0.9981 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01548/1.084, allocations: 8.575 MB / 1.336 GB, free: 24.87 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.053e-05/1.084, allocations: 14.19 kB / 1.336 GB, free: 24.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.143e-05/1.084, allocations: 16 kB / 1.336 GB, free: 24.84 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01345/1.098, allocations: 4.631 MB / 1.341 GB, free: 20.19 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001111/1.099, allocations: 307.5 kB / 1.341 GB, free: 19.89 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04258/1.142, allocations: 32.58 MB / 1.373 GB, free: 2.488 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00223/1.144, allocations: 151.8 kB / 1.373 GB, free: 2.34 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002931/1.144, allocations: 80.25 kB / 1.373 GB, free: 2.262 MB / 1.014 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.002227/1.146, allocations: 1.34 MB / 1.374 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005195/1.147, allocations: 197.7 kB / 1.375 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01844/1.165, allocations: 8.441 MB / 1.383 GB, free: 8.227 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-05/1.165, allocations: 16 kB / 1.383 GB, free: 8.211 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-05/1.165, allocations: 32 kB / 1.383 GB, free: 8.18 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.062e-05/1.166, allocations: 7.969 kB / 1.383 GB, free: 8.172 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02624/1.192, allocations: 12.85 MB / 1.396 GB, free: 11.19 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.657e-05/1.192, allocations: 4 kB / 1.396 GB, free: 11.18 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007935/1.193, allocations: 163.7 kB / 1.396 GB, free: 11.02 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01484/1.207, allocations: 4.49 MB / 1.4 GB, free: 6.52 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003016/1.208, allocations: 36 kB / 1.4 GB, free: 6.484 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04823/1.256, allocations: 32.2 MB / 1.432 GB, free: 5.465 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.636e-05/1.256, allocations: 4 kB / 1.432 GB, free: 5.461 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01776/1.274, allocations: 8.24 MB / 1.44 GB, free: 13.1 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001713/1.276, allocations: 0.6195 MB / 1.44 GB, free: 12.46 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005162/1.276, allocations: 40.11 kB / 1.44 GB, free: 12.42 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001767/1.278, allocations: 139.7 kB / 1.44 GB, free: 12.28 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007863/1.279, allocations: 172.4 kB / 1.441 GB, free: 12.12 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001772/1.279, allocations: 52.31 kB / 1.441 GB, free: 12.07 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001421/1.28, allocations: 0.9666 MB / 1.442 GB, free: 11.11 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.2e-07/1.28, allocations: 0 / 1.442 GB, free: 11.11 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.003542/1.284, allocations: 1.109 MB / 1.443 GB, free: 9.996 MB / 1.092 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.01769/1.302, allocations: 8.836 MB / 1.451 GB, free: 1.016 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0133/1.315, allocations: 6.538 MB / 1.458 GB, free: 10.42 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/1.315, allocations: 0 / 1.458 GB, free: 10.42 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.009871/1.325, allocations: 4.361 MB / 1.462 GB, free: 5.988 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003133/1.328, allocations: 0.5269 MB / 1.462 GB, free: 5.48 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06178/1.39, allocations: 33.63 MB / 1.495 GB, free: 2.945 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003228/1.393, allocations: 2.727 MB / 1.498 GB, free: 184 kB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001026/1.394, allocations: 384.6 kB / 1.498 GB, free: 15.8 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001367/1.396, allocations: 1.216 MB / 1.499 GB, free: 14.59 MB / 1.154 GB Notification: Performance of SimCode: time 6.31e-07/1.396, allocations: 0 / 1.499 GB, free: 14.59 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1357/1.531, allocations: 83.88 MB / 1.581 GB, free: 11.23 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.07/14.6, allocations: 11.86 kB / 1.581 GB, free: 11.21 MB / 1.232 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