Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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.ACLine_RL_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",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.83 kB / 15.73 MB, free: 6.031 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.001303/0.001303, allocations: 194.1 kB / 16.67 MB, free: 5.953 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.383/1.383, 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 11.1.0-maint.11.x/package.mo): time 2.661/2.661, allocations: 469.8 MB / 0.7425 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002108/0.002108, allocations: 71.83 kB / 1.065 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7104/0.7125, allocations: 159.1 MB / 1.22 GB, free: 2.004 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02558/0.7381, allocations: 20.24 MB / 1.24 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01136/0.7495, allocations: 6.453 MB / 1.246 GB, free: 7.223 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001487/0.751, allocations: 87.56 kB / 1.246 GB, free: 7.137 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.005667/0.7567, allocations: 2.231 MB / 1.249 GB, free: 4.902 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002967/0.7597, allocations: 1.189 MB / 1.25 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003114/0.7629, allocations: 1.284 MB / 1.251 GB, free: 2.422 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.005644/0.7685, allocations: 4.858 MB / 1.256 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0067/0.7752, allocations: 5.587 MB / 1.261 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002963/0.7782, allocations: 2.091 MB / 1.263 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003221/0.7814, allocations: 2.344 MB / 1.265 GB, free: 3.445 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000664/0.7821, allocations: 428 kB / 1.266 GB, free: 3.027 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001927/0.7841, allocations: 0.9986 MB / 1.267 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001708/0.7858, allocations: 1.668 MB / 1.268 GB, free: 364 kB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.002278/0.7881, allocations: 1.91 MB / 1.27 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006925/0.795, allocations: 6.53 MB / 1.277 GB, free: 7.891 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.795, allocations: 3.984 kB / 1.277 GB, free: 7.887 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.466e-06/0.795, allocations: 0 / 1.277 GB, free: 7.887 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001112/0.7951, allocations: 3.938 kB / 1.277 GB, free: 7.883 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.006657/0.8018, allocations: 3.541 MB / 1.28 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.8019, allocations: 12.03 kB / 1.28 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006215/0.8025, allocations: 458.5 kB / 1.281 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003369/0.8059, allocations: 0.6467 MB / 1.281 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003409/0.8093, allocations: 2.058 MB / 1.283 GB, free: 1.035 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001753/0.8095, allocations: 222.3 kB / 1.283 GB, free: 0.8164 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000459/0.8099, allocations: 300 kB / 1.284 GB, free: 0.5234 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007565/0.8175, allocations: 4.886 MB / 1.289 GB, free: 11.44 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.701e-05/0.8176, allocations: 11.89 kB / 1.289 GB, free: 11.43 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003208/0.8179, allocations: 131.9 kB / 1.289 GB, free: 11.3 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004224/0.8184, allocations: 233.7 kB / 1.289 GB, free: 11.07 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006105/0.8245, allocations: 3.75 MB / 1.293 GB, free: 7.309 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02273/0.8472, allocations: 21.43 MB / 1.313 GB, free: 15.88 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001869/0.8491, allocations: 1.3 MB / 1.315 GB, free: 14.57 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001545/0.8507, allocations: 1.061 MB / 1.316 GB, free: 13.51 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 7.613e-05/0.8508, allocations: 13 kB / 1.316 GB, free: 13.5 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.969e-05/0.8508, allocations: 43.56 kB / 1.316 GB, free: 13.45 MB / 1.045 GB Notification: Performance of pre-optimization done (n=107): time 2.475e-06/0.8508, allocations: 0 / 1.316 GB, free: 13.45 MB / 1.045 GB Notification: Performance of matching and sorting (n=138): time 0.02507/0.8759, allocations: 8.704 MB / 1.324 GB, free: 4.688 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/0.876, allocations: 68.7 kB / 1.324 GB, free: 4.609 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001504/0.8775, allocations: 1.13 MB / 1.326 GB, free: 3.473 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 9.632e-05/0.8776, allocations: 45.7 kB / 1.326 GB, free: 3.422 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009761/0.8786, allocations: 1.339 MB / 1.327 GB, free: 2.07 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004585/0.879, allocations: 0.4957 MB / 1.327 GB, free: 1.57 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004945/0.8795, allocations: 291.5 kB / 1.328 GB, free: 1.277 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.8797, allocations: 309.1 kB / 1.328 GB, free: 0.9727 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001362/0.881, allocations: 0.9135 MB / 1.329 GB, free: 60 kB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001745/0.8828, allocations: 1.326 MB / 1.33 GB, free: 14.56 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00333/0.8861, allocations: 2.426 MB / 1.332 GB, free: 11.96 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/0.8861, allocations: 8 kB / 1.332 GB, free: 11.96 MB / 1.061 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006459/0.8926, allocations: 3.468 MB / 1.336 GB, free: 8.469 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/0.8927, allocations: 11.98 kB / 1.336 GB, free: 8.457 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.008e-05/0.8927, allocations: 12.88 kB / 1.336 GB, free: 8.445 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00336/0.896, allocations: 1.185 MB / 1.337 GB, free: 7.254 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009378/0.897, allocations: 251.6 kB / 1.337 GB, free: 7.008 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0189/0.9159, allocations: 13.88 MB / 1.351 GB, free: 8.715 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001286/0.9172, allocations: 91.97 kB / 1.351 GB, free: 8.625 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000125/0.9174, allocations: 64 kB / 1.351 GB, free: 8.562 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001747/0.9191, allocations: 1.118 MB / 1.352 GB, free: 7.434 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002779/0.9194, allocations: 170.9 kB / 1.352 GB, free: 7.266 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006042/0.9254, allocations: 3.161 MB / 1.355 GB, free: 4.086 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.284e-05/0.9255, allocations: 12 kB / 1.355 GB, free: 4.074 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.267e-05/0.9255, allocations: 19.94 kB / 1.355 GB, free: 4.055 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.427e-05/0.9255, allocations: 11.91 kB / 1.355 GB, free: 4.043 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01048/0.936, allocations: 6.245 MB / 1.361 GB, free: 13.65 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/0.936, allocations: 4 kB / 1.361 GB, free: 13.65 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005961/0.9366, allocations: 147.8 kB / 1.362 GB, free: 13.5 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003033/0.9397, allocations: 1.079 MB / 1.363 GB, free: 12.42 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.046e-05/0.9398, allocations: 28 kB / 1.363 GB, free: 12.39 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01818/0.958, allocations: 13.53 MB / 1.376 GB, free: 14.44 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.555e-06/0.958, allocations: 7.938 kB / 1.376 GB, free: 14.43 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005635/0.9637, allocations: 3.163 MB / 1.379 GB, free: 11.18 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007616/0.9644, allocations: 435.9 kB / 1.379 GB, free: 10.74 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002014/0.9646, allocations: 28 kB / 1.379 GB, free: 10.71 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008009/0.9655, allocations: 83.89 kB / 1.38 GB, free: 10.63 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003344/0.9658, allocations: 124.7 kB / 1.38 GB, free: 10.51 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.447e-05/0.9659, allocations: 39.98 kB / 1.38 GB, free: 10.47 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001084/0.967, allocations: 0.7632 MB / 1.38 GB, free: 9.703 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.3e-07/0.967, allocations: 0 / 1.38 GB, free: 9.703 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001825/0.9688, allocations: 0.6602 MB / 1.381 GB, free: 9.043 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005835/0.9747, allocations: 3.745 MB / 1.385 GB, free: 5.203 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.005171/0.9799, allocations: 3.15 MB / 1.388 GB, free: 2.012 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.026e-05/0.9799, allocations: 0.75 kB / 1.388 GB, free: 2.012 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.003205/0.9831, allocations: 1.97 MB / 1.39 GB, free: 8 kB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00222/0.9853, allocations: 0.4936 MB / 1.39 GB, free: 15.52 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03035/1.016, allocations: 19.18 MB / 1.409 GB, free: 11.75 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002505/1.018, allocations: 2.344 MB / 1.411 GB, free: 9.375 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001034/1.019, allocations: 354.1 kB / 1.412 GB, free: 9.023 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001226/1.021, allocations: 1.007 MB / 1.413 GB, free: 8.016 MB / 1.139 GB Notification: Performance of SimCode: time 8.31e-07/1.021, allocations: 0 / 1.413 GB, free: 8.016 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1028/1.123, allocations: 52.32 MB / 1.464 GB, free: 4.359 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/13.25, allocations: 13.53 kB / 1.464 GB, free: 4.348 MB / 1.186 GB (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_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_ACLine_RL_N.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches